Distributed

Lesson 08.6

Circuit breakers

A circuit breaker stops calling a dependency after enough failures, fails fast while open, then allows a few half-open probes to test whether it recovered.

A flaky coupon dependency slows checkout

Ava's coupon computer stops answering. Ben's checkout computer should stop asking it for a while.

In this lesson you'll

  1. 1Follow one run and learn how to read the picture
  2. 2Predict what changes before revealing the result
  3. 3Compare the controls and keep the computer inside its safe line during the rush