Posts tagged: featured
Idempotency: The Property Your Retries Depend On
An operation is idempotent if doing it twice produces the same result as doing it once. Most retries assume this. Most operations don't guarantee it by default.
What Gets Logged and Why (and What You're Losing by Logging Everything)
High-volume logging makes it hard to find signal. Selective logging makes incidents easier to investigate.
The Circuit Breaker: The Pattern You Need Before You Need It
Without a circuit breaker, when a downstream service fails slowly, your service fails slowly too. The pattern is easy to implement. Nobody adds it until after the first incident.
Error Handling in TypeScript That Is Actually Usable
The catch (e: any) is a code smell that tells you the team gave up on typed errors. The alternatives, their tradeoffs, and the patterns that make error handling composable.
The Subtle Bug That Lives in Your Retry Logic
Retry logic is everywhere. Most of it is wrong in the same way: retrying when it shouldn't, or not retrying when it should.
Schema Migrations Without Downtime (and Why You Should Practice Now)
Most teams avoid schema migrations until they're forced to do one at 3am. Better to practice when stakes are low.
