supraj.dev
Observability and SRE

Retries and circuit breakers

If a request fails, why can retrying it straight away make the outage worse?

28 s loop7 sentencesSilent, read alongScene: Journey
Read the story, sentence by sentence 7 sentences

What you'll be able to say

  1. Exponential backoff grows the wait between retries, often doubling it, and adds random jitter so many clients don’t retry at the same moment.
  2. A circuit breaker opens after too many failures and fails calls fast; after a timeout, half-open trial requests check if the service recovered.
  3. Retry only transient errors, such as timeouts or 503s, on requests safe to repeat (idempotent), and cap the number of attempts.