Circuit breaker
Watches calls to another service and, when too many fail, stops making them for a while. Callers answer at once without it, so one failure doesn't spread.
See it in action
These lessons put circuit breaker to work. Read one, then play it and watch what happens without it.
- When one service takes you down: 6,000 req/s. Every request now checks who the user is, and every page asks a Recommendations service what to show.…
- Cloudflare: one bad file, everywhere: On 18 November 2025, a large part of the web returned errors for hours. Cloudflare's bot detection reads a small file…
- Netflix: 65 million at once: At its biggest live event, Netflix reached 65 million streams at the same moment. You're running one thousandth of…
- Amazon: Prime Day: On Prime Day 2025, DynamoDB peaked at 151 million requests a second. You're running one ten-thousandth of that: 15,100…
- Hotstar: 25 million watching: On July 10, 2019, India played New Zealand in the World Cup semi-final and 25.3 million people watched on Hotstar at…
- Ride hailing: a driver in two seconds: 60,000 drivers are on the road, each sending their position every 4 seconds: 15,000 updates a second. Riders open the…