Interactive Visualization

Circuit Breaker — State Machine Pattern

State
CLOSED
Requests
0
Successes
0
Failures
0
Failure Rate
0%
Rejected
0
✅ CLOSED
Requests flow through
↓ failures > threshold
🚫 OPEN
Requests rejected
↓ timeout expires
⚠️ HALF-OPEN
Probe requests
Threshold: 5 failures in 10s window | Open duration: 5s | Half-open probes: 3