Skip to main content
A breaker watches a failing dependency and stops calling it. Break the payments API and watch the circuit trip, then recover.

What to watch

Right click the payments API and inject a crash. Once half the calls in a four second window fail, the breaker opens and the rest fail in microseconds instead of waiting out a timeout. After three seconds it closes and probes again.

What it is made of

Under load

Measured by running this design through the simulator at multiples of its own offered rate of 100 requests a second. Twenty seconds of simulated time, one fixed seed, so the same numbers come out every time.
This design holds 150 requests a second with 0% errors. At 200 it is losing 20% of them.

Open this example

Load Circuit breaker from the Examples menu and drag the traffic slider yourself.