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
✅ Send Success
❌ Send Failure
⚡ Burst (10 OK)
💥 Burst (10 Fail)
🔄 Reset