circuit breaker
Temporarily stop calls to a failing dependency and probe for recovery.
Use this when Repeated upstream failures consume the application’s remaining capacity.
without the term
“When the shipping API goes down, our whole checkout slows to a crawl because every request waits and retries. Can we stop calling it for a bit when it's clearly broken?”
with the term · How do you ask a model for circuit breaker?
Add a circuit breaker around this dependency. Test closed, open, and recovery behavior, with bounded calls and explicit failure responses.
What is circuit breaker?
After enough failures, calls to the dependency fail immediately for a while instead of waiting. A few trial calls then check whether it has recovered.
Why does circuit breaker matter when vibe coding?
Unbounded retries can amplify an outage.
How do you do circuit breaker?
Define which failures count, when calls are rejected, and how recovery is tested.
What goes wrong with circuit breaker?
Counting every client validation error as evidence that the dependency is down.
Sources for this entry
- Microsoft: Circuit breaker pattern
Closed, open, and half-open states stop repeated calls to a failing dependency and probe recovery.
Sources checked . Source checks do not establish human editorial approval. How we check content.