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.
Required Ruby Version
>= 3.4, < 3.5.dev
Authors
Abdelkader Boudih
Versions
- 0.13.2 June 15, 2026 x86_64-darwin (471 KB)
- 0.13.2 June 15, 2026 arm64-darwin (464 KB)
- 0.13.2 June 15, 2026 x86_64-linux-musl (520 KB)
- 0.13.2 June 15, 2026 x86_64-linux (523 KB)
- 0.13.2 June 15, 2026 aarch64-linux (520 KB)
- 0.9.2 November 23, 2025 x86_64-linux (295 KB)