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 failures, the pause, and a recovery probe without inventing a successful safety check.
  2. 2Predict what changes before revealing the result
  3. 3Help Ava keep the rules during the new rush