Writing on systems, AI, and shipping software
I build distributed systems and agent fleets, and I write about the unglamorous engineering that actually makes software work at scale. Pieces are grouped below by theme.
Systems
A technical deep dive into OpenAI’s read-heavy PostgreSQL design: WAL fan-out, replica lag, connection pooling, cache coordination, overload control, and schema limits.
A server, a database, and a runtime to return a page that hasn't changed in three weeks. The case for shipping cacheable HTML, and the pages that earn live computation.
Small diffs, review queues, integration checks, and recovery: what it takes to keep a fifty-PR week moving.
Ambiguous outcomes, payment retries, deadlines, and the resource limits that keep one failing dependency from exhausting a service.
AI
Task ownership, Git worktrees, resource leases, and recovery records for a fleet of coding agents.
Token billing, prefix caching, KV memory, batching, and cost per accepted task under explicit quality and latency constraints.