LV3 · Ecosystem
Circuit Breaker Playground
See when a circuit breaker stops calls to a failing dependency and how it tests recovery.
Repeated failures open the circuit to protect the caller. A limited half-open probe tests whether requests can flow again.
- Closed →Allow calls; failures tripCurrent at end
- Open →Block calls; wait to probe
- Half-open →Probe passes: close. Fails: open.
Timeline: 60 request opportunities, not wall-clock seconds. Outcome cells show history; the current state above is the state after the last request.
Advanced: half-open probes & timed recovery
Run metrics & model limits
A simplified model: one healthy probe closes the circuit again, and any single failed probe reopens it instantly.
A breaker does not repair a dependency. Thresholds are policy choices; real libraries may use rolling failure windows. Slow dependency models failure pressure, not latency. Retry counts are conceptual, not additional simulated requests.
What this tool does and why
Before you start
What
See when a circuit breaker stops calls to a failing dependency and how it tests recovery.
Why
Circuit-breaker thresholds and recovery rules decide whether a failing dependency is isolated or allowed to keep consuming resources.
Your Result and Action update in the tool as you change its inputs.
Model note
This browser-side model explains the inputs you choose. Check an important decision against the real system, brief, or production constraints.
Save this tool and explore next steps
Stop calls to a failing dependency while it recovers.
How this tool stays honest
How it works
Compare failure containment policies across healthy, intermittent, outage, slow, and recovering dependency scenarios. Follow Closed, Open, and Half-Open states, see avoided dependency calls, and compare failure pressure with and without the breaker.
Assumptions
The tool runs in your browser and models the information you provide. It does not know facts outside that model.
Limitations
This is a simplified explanatory model, not a load test or production forecast. Real systems can include dependencies, distributions, failures, and feedback loops outside the selected inputs.
Understand Circuit Breaker Playground
What this tool helps you understand
Compare failure containment policies across healthy, intermittent, outage, slow, and recovering dependency scenarios. Follow Closed, Open, and Half-Open states, see avoided dependency calls, and compare failure pressure with and without the breaker.
When to use it
Before tuning isolation and recovery around a failing dependency.
Try a scenario
Trigger consecutive failures, then inspect the open and half-open transitions. Compare recovery thresholds without assuming they match a production library.
How to read the result
Compare the shape and direction of different scenarios. The useful signal is how the result changes when an input changes, rather than one isolated number.
Assumptions and limits
This is a simplified explanatory model, not a load test or production forecast. Real systems can include dependencies, distributions, failures, and feedback loops outside the selected inputs.
Toolooo is part of Khizooology, created byKhizar Imtiaz (khizooo).