Engineering, measured
RSS FeedEngineering notes on backend systems, performance and open source. Every post is built around measurements: what was measured, how, and what the numbers say, including the ideas that did not work. Each post links to its data and the scripts to reproduce it.
Recent Posts
-
What happens to newcomers' PRs in php-src
A year of data on 831 pull requests from 219 first-time php-src contributors: acceptance, reasons for closing, tests, AI-written descriptions, and what gets stuck.
-
json_encode() in php-src, autumn 2026: where the time goes and what the open pull requests change
Updated:Six open pull requests to json_encode()'s string escaping, one of them mine, measured with up to four compilers on two CPUs: where each one helps, where it hurts, and what each needs before it can land.
-
One mutex for every row: mysqlnd statistics in thread-based PHP
In thread-safe PHP builds such as FrankenPHP, mysqlnd takes one process-wide lock on every statistics update. With MySQL, FrankenPHP spends 7–32% more CPU per request than with statistics off. PHP-FPM is not affected. One php.ini line removes the cost today; a patch with atomic counters brings it to 1–3%.
-
12 web stacks on vendor defaults, PostgreSQL and MySQL: what a request costs and what the drivers change
The same JSON API in PHP, Go, Node, Rust, Java, .NET, Python and Ruby, every stack on its vendors' defaults, measured on one machine against PostgreSQL and MySQL: CPU per request, memory per waiting request, and the problems the measurement found, each with its cause and fix.