yet-another-circuit-breaker
v1.10.1
Published
A simple utility to apply the circuit breaker pattern to any asynchronous function.
Downloads
8
Maintainers
Readme
Yet another circuit breaker (YACB)
This WILL be a simple, configurable utility for the circuit breaker pattern. Wrapped around asynchronous functions.
Up to this point, this is still a WIP, which is only partially functional. I will update the readme, after the first actual release.
Roadmap
In the near future
- Implement logic to change configurations during runtime.
- Enable configuration to limit requests in Half-Open state.
- Performance tests.
Sometime / Maybe
- Possibility to provide a logger through an interface.
- Custom failure test function (check, which results mean failure).
- Ability to check operation during OPEN state to switch to HALF-OPEN more early.
- AI to evaluate the right time to switch to HALF-OPEN state (maybe as plugin).