Circuit breakin and retries
resilient-circuit
AvailableStap cryin a failin service for a wee whilie, an retry failed cries wi backoff.
A Python leebrary for caas tae services that can fail. Its circuit breaker staps caain a dependency efter a set nummer o failures and lats a trial caa throu ance a cooldown has passed. Retries wait a constant or an exponentially growin delay, and a breaker and a retry policy can wrap the same caa throu a decorator. Wi PostgreSQL configured, aw instances o an application share ae breaker state that bides efter a restart. It is pairt o the Highway workflow engine.
Wha it is for. Python services that caa ither services or external APIs and maun stap a failin dependency frae takkin them doun 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 dis
-
Circuit breaker
Trips efter a configured nummer o failures and lats a trial caa throu efter the cooldown.
-
Retries wi backoff
Delays are constant or exponential, an ae caa can cairry baith a breaker an a retry policy.
-
Shared state in PostgreSQL
Breaker state can bide in a PostgreSQL table that ilka instance o the application reads an updates unner a raw lock.
Documentation and access details are on the product site, github.com/rodmena-limited/resilient-circuit. For a pilot, an integration or procurement questions, contact us.