Circuit Breaker Pattern
Stop calling failing services temporarily.
The Problem Retry Cannot Solve
If a dependency is truly down, retrying every request just piles on load and slows your own app. The circuit breaker pattern detects sustained failure and stops calling the failing service for a while.
Borrowing From Electronics
Like an electrical breaker that trips to protect a circuit, the pattern "trips open" after too many failures, then automatically tests whether the dependency has recovered.
All lessons in this course
- Retry Policies
- Circuit Breaker Pattern
- Timeout and Fallback Policies
- Resilience Pipelines