10 min read
The Postgres Migration That Looked Safe and Still Took Down Production
It finished in a millisecond, and the API timed out for 15 seconds anyway. What went wrong, and 5 migrations to write differently on a big table.
Catch up on past deep dives into production-grade React, Node.js, and AI systems.
10 min read
It finished in a millisecond, and the API timed out for 15 seconds anyway. What went wrong, and 5 migrations to write differently on a big table.
9 min read
Every tutorial stops at the typed event bus. Here are the 3 production failures it skips, and the fix for each in Node.js.
7 min read
Your agent has tests. The thing grading them doesn't. Five rules for a judge you can trust.
8 min read
The 4 observability decisions to make before launch: trace every step, one ID end to end, five numbers on a dashboard, and logs that link to the trace.
9 min read
Save-then-publish drops messages without a single error in your logs. Here's the outbox + inbox pair that stops it, in plain Postgres and Node.js.
6 min read
The MCP servers I actually reach for when building features and shipping production apps.
8 min read
Checkpoints, scoped retries, idempotent tools, and run budgets: how production agents survive the failure math of 20-step loops.
9 min read
Your agent isn't a user. Stop authenticating it like one.
8 min read
Mock the model and your suite goes green while testing nothing. Here's what to run instead, from unit tests to live alerts.
9 min read
One good agent beats five mediocre ones. Here's the pressure that tells you when the split is finally worth it.