← All projects
Project record1 mention
Originally shared on Hacker News

nocopy

An APCu-compatible PHP extension with zero-copy reads: unlike APCu, which copies each value into the request on every read, nocopy hands over the shared value itself. It is thoroughly tested and benchmarked but currently completely lacks production use.

Last shared
01 / The problem

What it addresses

PHP applications leave performance on the table because APCu copies each cached value into the request on every read.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. nocopy

    An APCu-compatible PHP extension with zero-copy reads: unlike APCu, which copies each value into the request on every read, nocopy hands over the shared value itself. It is thoroughly tested and benchmarked but currently completely lacks production use.

    Problem: PHP applications leave performance on the table because APCu copies each cached value into the request on every read.

    Posted by @chrfritsch · Original source ↗

    Story title · @chrfritsch · · Source ↗

    Show HN: nocopy – An APCu-compatible PHP extension with zero-copy reads

    Submitted URL · @chrfritsch · · Source ↗

    https://github.com/chrfritsch/nocopy

    Source text · @chrfritsch · · Source ↗

    I built nocopy to show how much performance we leave on the table in current PHP applications.

    Source text · @chrfritsch · · Source ↗

    APCu copies each value into the request on every read, and nocopy hands over the shared value itself.

    Source text · @chrfritsch · · Source ↗

    It is thoroughly tested and benchmarked, but currently completely lacks production use.

    Source text · @chrfritsch · · Source ↗

    Disclosure: Opus wrote all the code. I drove the direction.