{"repo":"seuros/breaker_machines","free":true,"listed":false,"github":"https://github.com/seuros/breaker_machines","clone":"git clone https://github.com/seuros/breaker_machines.git","description":"Modern circuit breaker for Ruby & Rails. Thread-safe, fiber-ready async support. Built-in fallbacks, rich introspection, clean DSL. Memory-efficient with jitter & monitoring.","language":"Ruby","stars":108,"topics":["circuit-breaker","concurrent-ruby","error-handling","failover","fault-tolerance","high-availability","hystrix","microservices","monitoring","observability"],"license":"MIT","category":"analytics","readme_excerpt":"BreakerMachines The circuit breaker that went where no Ruby has gone before! ⭐ A battle-tested Ruby implementation of the Circuit Breaker pattern, built on state machines for reliable distributed systems protection. Quick Start A Message to the Resistance So AI took your job while you were waiting for Fireship to drop the next JavaScript framework? Welcome to April 2005—when Git was born, branches were just master , and nobody cared about your pronouns. This is the pattern your company's distributed systems desperately need, explained in a way that won't make you fall asleep and impulse-buy developer swag just to feel something. Still reading? Good. Because in space, nobody can hear you scream about microservices. It's all just patterns and pain. The Pattern They Don't Want You to Know Built on the battle-tested state machines gem, because I don't reinvent wheels here—I stop them from catching fire and burning down your entire infrastructure. Features - Thread-safe circuit breaker implementation - Fiber-safe mode for async Ruby (Falcon, async gem) - AsyncCircuit class with mutex-protected state transitions - Circuit Groups for managing related circuits with dependencies - Coordinated State Management for dependency-aware transitions - Cascading Circuit Breakers for modeling system dependencies - Hedged requests for latency reduction - Multiple backends with automatic failover - Bulkheading to limit concurrent requests - Percentage-based thresholds with minimum call requiremen","default_branch":null,"files":null,"tree":[],"storefront":"/r/seuros","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/seuros/breaker_machines/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}