cloudpatterns.appClassroomKatasWhiteboardBlog
Resilience LineLesson

Circuit breaker

When a dependency is failing, stop calling it — fail fast, give it room to recover, and check back carefully.

10 minMediumStation: Circuit breaker

Members lesson

Membership isn’t open yet. The free lessons are open — 16 of them.

  1. Timeouts
  2. Retries with backoff and jitter
  3. Circuit breaker
  4. Flaky payments
  5. Bulkhead
Resilience Line — where this lesson sits

What you'll be able to do

  1. 1Explain the closed, open and half-open states and what moves the breaker between them.
  2. 2Predict caller latency and load on a failing dependency with and without a breaker.
  3. 3Choose a fallback — cached value, default or error — for when the breaker is open.

Inside the lesson

steps
7
questions
7
simulation
1

You guess first, then run the system and see if you were right.