← Back to Concepts
Circuit Breaker Pattern
Watch how circuit breakers prevent cascading failures by stopping requests to failing services
Controls
Service Settings
Circuit Breaker Settings
3 failures
2 successes
5s
Try This:
- Toggle "Service Healthy" off to simulate a failing backend
- Click "Send Request" 3 times to trigger the circuit breaker
- Notice how subsequent requests are blocked (yellow) when the circuit is OPEN
- Wait 5 seconds for the circuit to enter HALF-OPEN state
- Toggle "Service Healthy" back on and send 2 successful requests to close the circuit
Circuit State
CLOSED
Client
INFO
Sending requests
⚡
Circuit Breaker
CLOSED
Backend Service
SUCCESS
Responding
How it works:
- Closed: Requests pass through normally. Failures are counted.
- Open: After 3 failures, circuit opens. Requests are blocked immediately.
- Half-Open: After 5s, circuit tries again. 2 successes close it.
Metrics
Total Requests
0
Successful
0
Failed
0
Blocked
0
Progress1 of 6