Resilience: Timeouts, Retries, Circuit Breakers and Load Shedding
At scale, something is always failing: a node, a dependency, a network link. Resilient systems contain failures instead of spreading them. Interviewers listen for timeouts on every call, safe retries, circuit breakers, bulkheads and graceful degradation.
In this lesson
- Learning objectives
- The failure-spreading problem
- Timeouts
- Retries
- Circuit breakers
- Bulkheads, load shedding and back-pressure
- Graceful degradation
- Self-check
Questions covered
- How do you prevent cascading failures?
- When should you not retry?
This lesson is part of System Design Interview: Concepts, Patterns & Real Designs. Unlock the full course to read it, take the quiz and track your progress.