Posts about reliability

5 posts

  1. 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.

    3 min read

  2. 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.

    2 min read

  3. 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.

    3 min read

  4. 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.

    3 min read

  5. 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.

    2 min read