Architecture
Circuit Breaker
A circuit breaker is a resilience pattern that stops requests to a failing backend service, returning fallbacks and allowing the system to recover.
Diagram
[Client] ──▶ [Circuit Breaker (Closed: OK)] ──▶ [Downstream Service] [Client] ──▶ [Circuit Breaker (Open: Error)] ── (Blocks call, returns fallback)
In Depth
A Circuit Breaker is an architectural design pattern that detects failures in downstream network services and blocks calls to them once failures exceed a threshold, preventing cascading crashes.
Related Terms