Pattern 19 / RESILIENCE
Circuit Breaker
Use this when stopping a failing dependency from exhausting callers.
- Pressure
- Stopping a failing dependency from exhausting callers
- Mechanism
- Track failures, open the circuit after a threshold, return fallback, then probe for recovery
- Toll
- Fallbacks may be degraded and thresholds must fit real failure modes
