Posts about reliability
5 posts
-
Circuit breakers: failing fast when a dependency is down
When a downstream service is struggling, waiting on it makes things worse. A circuit breaker stops calling it for a while so both sides can recover.
-
Retrying failed requests with exponential backoff and jitter
A retry loop can rescue a request or take down a struggling service. Here is how to retry with backoff, jitter and a budget so it does the first.
-
Graceful shutdown: handling SIGTERM without dropping requests
Every deploy stops your old processes. Here is how to handle SIGTERM so in-flight requests finish, connections close cleanly and users never notice.
-
Liveness vs readiness: writing health checks that actually help
What liveness and readiness checks are for, why mixing them up causes restart loops, and how to write health endpoints that tell your platform the truth.
-
Idempotent APIs and why retries should be safe
Networks fail in awkward ways. Designing endpoints so that a repeated request does no extra harm is one of the cheapest reliability wins you can get.