Circuit breaking an retries
resilient-circuit
AvailableHalt ca'in a failin service fer a wee while, an retry failed ca's wi backoff.
A Python library fer caas tae services that can fail. Its circuit breaker staps caain a dependency efter a set nummer o failures an lats a trial caa through yince a cooldown has passed. Retries wait a constant or an exponentially growin delay, an a breaker an a retry policy can wrap the same caa through a decorator. Wi PostgreSQL configured, aaw instances o an application share yin breaker state that bides through a restart. It is pairt o the Highway workflow engine.
Wha it is for. Python services that caa ither services or external APIs an maun stap a failin dependency frae takkin them doon wi it.
- Status
- Available
- Pairt o
- Open soorce
- Licence
- Open source, Apache 2.0
- Product site
- github.com/rodmena-limited/resilient-circuit
- Tags
- PythonCircuit breakerRetryBackoffPostgreSQL
Whit it daes
-
Circuit breaker
Trips efter a configured nummer o failures an lats a trial caa through efter the cooldown.
-
Retries wi backoff
Delays are constant or exponential, an yin cry can cairry baith a breaker an a retry policy.
-
Shared state in PostgreSQL
Breaker state can bide in a PostgreSQL table that ivry instance o the application reads an updates unner a row lock.
Documentation an access details is on the product site, github.com/rodmena-limited/resilient-circuit. For a pilot, an integration or procurement questions, contact us.