Circuit Breaker Pattern
Stop calling a failing dependency and fail fast. A resilience pattern in the Resilience Patterns catalog. With Java/Spring code.
Stop calling a failing dependency and fail fast.
- Family
- Resilience Patterns
- Category
- Resilience
- Source
- Building Microservices · general production practice
Where it appears
- Circuit Breaker States — Simulation
More resilience patterns
- Timeout — Never wait forever for a remote call.
- Retry with Backoff & Jitter — Retry transient failures with growing, randomised delays.
- Bulkhead — Isolate resources so one failure cannot sink everything.
- Rate Limiter — Cap how many requests a client or dependency can make.
- Graceful Degradation & Fallback — Serve a reduced experience instead of an error.