PHP 7 is the biggest performance leap in the language's history, but a stock install isn't the whole story. Five things to check — Opcache, a modern GCC, HugePages, opcache file cache, and PGO — to squeeze out the maximum speed.
with 0 CommentYaconf loads your config at PHP startup into immutable, memory-resident structures — no per-request parsing, near-zero copying, and config kept out of your codebase. A tour of its two-method API, ini format (arrays, maps, sections, inheritance) and options.
with 0 CommentA stream-of-consciousness debug log: a valgrind 'invalid free' in __libc_freeres that turned out to have nothing to do with our code. I never found the true root cause, only a minimal reproduction, a workaround, and a hypothesis. Hope someone who knows glibc can set me straight.
with 0 Comment