architecture

  • A shared object store, and the session problem it did not solve

    Uploads moved to shared storage, and sessions still tied to whichever host served the previous request. The session store was shared and the cookie was not, which is…

  • An outbox relay on two hosts, and the partition key

    A second host, and a relay that must not run twice against the same rows. The modulo on a hash of the aggregate identifier preserves per-aggregate ordering while…

  • The two PHP templates that survived, and the rule

    Two templates that cannot become block templates, and the rule that identifies them. Three years and the rule has held for every template that came up, which is…

  • The stylesheet that finally got a second maintainer

    2,100 lines that one person could change, and the year spent fixing that. Every stylesheet change routed through one person for four years.

  • Writing a PHPUnit extension

    turkerdev/phpunit-json-coverage-report, and a coverage report a machine can read. Coverage as a percentage in a log, and no way to ask which paths changed.

  • An include parameter that reached three levels

    A documented depth limit of two, and a consumer requesting three. A depth limit that produces a request for depth three is a signal that a field is…

  • A webhook we stopped sending

    An outbound webhook with two subscribers, both of whom had stopped consuming it and neither of whom had said so. Delivering successfully to somebody who discards it is…

  • A cache key registered with what regenerates it

    A registry of cache keys, maintained by review, one year after the incident that produced it. The registry has drifted twice in a year and both times the…

  • The second host, and the failover we finally built

    Seven years on one host, and a business requirement that finally arrived. A recovery time that assumes the host comes back.

  • Decommissioning a supplier: the list

    An integration removed, and the eleven things that had to go with it. Eleven items and the code is one of them, which is the point — decommissioning…