Large Code-Run Collider
Blue. No, yellow! Book – The LCRC Experiment Programme Database
Current collider status: Run 01 | Fill 0003

Fill 0003 — Circuit Breaker

A compact, testable model of the circuit breaker pattern, with a CLI to simulate state transitions.

Code: lcrc-experiments/fills/0003-circuit-breaker

Accelerator

A circuit breaker prevents cascading failures by failing fast when a downstream dependency is persistently unhealthy. Instead of accumulating queues and timeouts, traffic is stopped, then cautiously reintroduced after a cooldown.

MAPS

BOB

References worth reading:

CMS

CLI example:

lcrc-breaker simulate --cooldown 2 --failure-threshold 3 --success-threshold 2 --dt 0.1 --seq ok,fail,fail,fail,call,wait:2.0,ok,ok --json

LCRCb