circuit breaker
termcloudprogramming
A pattern that stops calling a failing dependency for a while, so one outage does not drag everything down.
Like its electrical namesake, a software circuit breaker trips after too many failures and fails fast instead of piling up doomed requests, then periodically tests whether the dependency has recovered. It contains the blast radius of a downstream failure.
Also known as: circuit-breaker, fail fast
Sources
- Michael Nygard, "Release It!", 2007