The Blog
Field notes on cloud-native infrastructure, agentic-AI systems, and the craft of shipping software at scale. Written in Markdown, rendered here.
The 400ms warm tier: parking a database without breaking single-writer
Part 5 of the scale-to-zero Postgres series. Cold wakes cost ~2.5s of pure Kubernetes mechanics. The warm tier removes them by parking a pod that already exists — gated by a TCP port, guarded by the one invariant that must never break.
Disaster recovery you can rehearse (or: you don't have backups)
Part 4 of the scale-to-zero Postgres series. A backup you've never restored is a hope, not a plan. Rehearsing ours surfaced a consistency race, an unbounded RTO, a read-only wall — and ended with reverse-engineering a binary file format to break through it.
Choose your database foundation with a bake-off, not a debate
Part 3 of the scale-to-zero Postgres series. An independent review called our foundation "decided by inheritance" — so we ran the alternative for real. Same gateway, two storage planes, twenty samples per cell, and a decision that survived being wrong once.
The wake-on-connect gateway: speaking just enough Postgres
Part 2 of the scale-to-zero Postgres series. The entire product lives in one ~2,000-line Go proxy — parse a startup packet, wake a database, hold the line, get out of the way. The interesting parts are the failure modes.
Scale-to-zero Postgres on Kubernetes: a database that sleeps
I built a Postgres platform where every idle database costs zero compute and wakes in ~2.5 seconds on the first connection — native Postgres on Neon's open-source storage, a small Go gateway, and an AI agent loop that reviewed its own work. The numbers, the root causes, and the surprises.
Scale-to-zero Next.js on Knative
A custom Kubernetes Operator, a declarative NextApp CRD, and Node.js bytecode compilation — how knext-platform gets cold starts under a second while staying portable across any cluster.
Orchestrating agent teams with git worktrees
Inside superteam — dependency-aware task dispatch, per-ticket worktree isolation, and a verification-before-completion gate that keeps four autonomous agents honest.
Migrating AngularJS to React without a rewrite freeze
A pragmatic playbook from leading a large-scale migration — ship continuously, strangle the old app incrementally, and never block the product roadmap.