performance

  • A profile of the queue worker rather than the request

    Months of profiling the web path, and a queue worker consuming three times the CPU that nobody had ever looked at. Profiling follows attention and attention follows user-visible…

  • A test suite that runs on every commit, in ninety seconds

    Four minutes forty is fine and ninety seconds changes behaviour. The threshold below which running the suite stops being a decision.

  • The read model that finally earned its place

    A projection deleted in 2023 for being premature, rebuilt in 2025 because the query is now eleven seconds.

  • A cold start after a deploy, warmed deliberately

    A deploy that invalidates the opcode cache and the application cache simultaneously, and a first minute that is measurably worse. Warming before the health check passes is the…

  • Import maps, and a page with no bundler

    Bare module specifiers resolved by the browser, which removes the last reason a small page needs a bundler. The import map is generated by the same script that…

  • A partition drop that finally ran

    A partitioning scheme built in 2023 for a retention policy that nobody had authority to enforce until this year. Dropping one partition a day rather than all of…

  • The job that ran on every push and needed to run on none

    A workflow job building documentation on every push to every branch, publishing nothing except on the default branch. A conditional inside a job means the job still starts,…

  • A build with no bundler

    A site with 18 KB of JavaScript and a build pipeline sized for something larger. What a bundler provides, listed, and which of it is needed.

  • The query that runs four million times and takes two milliseconds

    A query fast enough to never appear in a slow log, accounting for a fifth of all database time. A slow query log has a threshold and a…

  • A query plan that was different for one customer

    The same query, the same index, and a different execution plan depending on which customer it is run for. The optimiser switching strategies at a selectivity threshold is…