Hacker News new | ask | show | jobs
by ddorian43 27 days ago
How does it compare to `stamina` library ?
2 comments

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.