Retry & Circuit Breaker Simulator
Interactive network reliability simulator: watch requests retry with exponential backoff and jitter, and a circuit breaker trip open after repeated failures, cool down, then probe half-open to test recovery — all parameters tunable in real time.
Mobile apps talk to flaky networks constantly, so resilient API clients lean on two complementary patterns: exponential backoff with jitter for individual retries, and a circuit breaker that stops calling a failing dependency altogether once it detects sustained trouble. This simulator runs both live — a stream of simulated requests fires against a service whose failure rate you control, each failure schedules a retry whose delay doubles (capped and jittered) with every attempt, and a shared circuit breaker watches the consecutive-failure streak, tripping open to short-circuit calls for a cooldown, then probing half-open to test recovery. Watch the timeline of attempts and the breaker's state machine to see how the two patterns interact under different flakiness levels.
Simulate exponential backoff retry and circuit breaker for handling flaky network calls.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install