Skip to main content

6 docs tagged with "CircuitBreaker"

View all tags

CircuitBreaker middleware

The CircuitBreaker middleware wraps function calls with a circuit-breaker, providing fault tolerance for distributed systems. Each unique key (derived from the function's arguments) gets its own circuit instance. When the circuit is open, the wrapped function is not called and an error is thrown instead, preventing cascading failures.

CircuitBreaker usage

The eridu-tech/circuit-breaker component provides a way for managing circuit-breaker independent of underlying platform or storage.