The closed state is the circuit breaker's normal path: requests reach the protected service, and successful responses return normally. It contrasts with the open state, which fails calls immediately after repeated service errors. section 10.3.5
A simple circuit breaker uses the closed state to:
- Send requests normally while failures remain below the configured limit. section 10.3.5
- Record failures within a time window and open the circuit after the maximum is exceeded. section 10.3.5
Breaker in action
A slow callback times out twice, causing the circuit to open; subsequent calls fail fast. After five seconds, the circuit closes and requests resume until failures trip it again.
