breaker_machines 0.6.0
BreakerMachines is a production-ready circuit breaker implementation for Ruby that prevents cascade failures in distributed systems. Built on the battle-tested state_machines gem, it provides a clean DSL, thread-safe operations, multiple storage backends, and comprehensive introspection tools. Unlike other solutions, BreakerMachines prioritizes safety by avoiding dangerous forceful timeouts while supporting fallback chains, jitter, and event callbacks.
Gemfile:
=
install:
=
Runtime Dependencies (5):
activesupport
>= 8.0
chrono_machines
~> 0.2
concurrent-ruby
~> 1.3
state_machines
>= 0.100.4
zeitwerk
~> 2.7