half open
The circuit breaker state that allows a few trial requests through to test whether the dependency has recovered.
In more detail
A success closes the breaker and a failure opens it again. Probes must be bounded so recovery testing does not become a new flood.
Related terms
- circuit breaker — A wrapper around calls to another service that stops making calls for a while after repeated failures, so the failing service can recover.
- flapping — Rapidly switching back and forth between two states, such as a breaker opening and closing repeatedly.
Taught in
- Circuit Breakers — Scalable System Design & Distributed Architecture