Writing
tags
Long-form notes on backend architecture, database performance, and the parts of shipping software nobody puts on a slide.
Backend
Your Queue Retry Policy Is a Data Loss Bug
Retrying a non-idempotent job turns a transient network blip into a duplicate charge. The fix is not more retries; it is making the job safe to run twice.
Backend
Caching Without Invalidation Regret
Most caching bugs are not cache misses. They are cache hits returning something that stopped being true an hour ago.