Backon – Python retry (zero deps, circuit breaker, async native)(github.com)
github.com
Backon – Python retry (zero deps, circuit breaker, async native)
https://github.com/Llucs/backon
6 comments
How does it compare to `stamina` library ?
Cool library! I always used Tenacity raw, didn't know about stamina! https://github.com/hynek/stamina
backon is the modern successor to `backoff` with zero dependencies and features like circuit breaker, hedging, rate limiter, generator retry, and 4 different APIs. `stamina` is an opinionated wrapper around `tenacity` that provides safe defaults but doesn't add new functionality. backon is more feature-complete and standalone; stamina is more conservative and depends on the tenacity ecosystem.
How does it compare to tenacity?
backon has more built-in features (circuit breaker, hedging, rate limiter, generator retry, metrics, trio support, `retry_with()`), zero dependencies, and aims to be faster. tenacity is much more mature (9+ years), has a massive community (7k stars, 30M+ monthly downloads), broader Python version support (3.8+), and is battle-tested in production at scale. backon is the innovation leader; tenacity is the reliability leader.