Patterns 0/12

Lesson 5 of 12

Circuit breakers and timeouts

Stop calling a failing dependency, fail fast, and probe it before sending traffic back.

1,514 words · 7 min read Ultra Premium Useful background: Retries, backoff and jitter

In this lesson

  1. Pausing a failing dependency
  2. Three states
  3. Trip and recover
  4. Set the deadlines
  5. Choose the policy
  6. Scope and fallback
  7. What stays true
  8. Common mistakes
  9. Related topics and practice

Ultra Premium

Unlock this lesson

Ultra Premium opens the 12 premium lessons in Patterns, along with the rest of WhiteBox's premium lessons and problems.

Not ready yet? Read the free lesson: Backpressure