Lesson 4.2
Timeouts, retries, and circuit breakers
A dependency that hangs is worse than one that fails. Timeouts convert hanging into failing, and circuit breakers stop failure spreading.
4mIntermediate7,134 students

Sign in to watch this lesson
Browsing is free. Create an account to play videos and track your progress.
Overview
A dependency that hangs is worse than one that fails. Timeouts convert hanging into failing, and circuit breakers stop failure spreading.
What this lesson covers
- Set timeouts on every outbound call
- Break the circuit when a dependency is clearly down
- Degrade gracefully instead of cascading
This lesson sits in Reliability and Operations, part of System Design Foundations. It assumes what came before it and leads directly into the next lesson in the module.
In this lesson you will:
- Set timeouts on every outbound call
- Break the circuit when a dependency is clearly down
- Degrade gracefully instead of cascading