Idempotency keys, and the bugs they delete
Retries are not an edge case — they are the normal operating condition of any network. Designing for them turns a whole category of duplicate-record bugs into something that cannot happen.
Backend4 min read
Blog
Working notes on things I had to figure out — bundle budgets and Server Components, idempotency and observability, content models that editors actually use, and where LLM cost really goes.
Retries are not an edge case — they are the normal operating condition of any network. Designing for them turns a whole category of duplicate-record bugs into something that cannot happen.
Backend4 min read
Most logging is written as if a human will scroll through it during an incident. Nobody does. The question a log line has to answer is whether you can find it at 3am when you don't know what you're looking for.
Backend4 min read