Search Explore
  • ddorian43 · 4 days ago

    How does it compare to `stamina` library ?

      • Llucs · 3 days ago

        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.

      • Ysx · 4 days ago

        It'd be helpful if the readme mentioned why someone would want to migrate from backoff.

        • Llucs · 3 days ago

          Yes, it does document it, it might be a little hard to find because it's quite large, there's even a GIF showing it if you want to see it, if you could give it a star to help I would appreciate it!

        • maurelius2 · 4 days ago

          How does it compare to tenacity?

          • Llucs · 3 days ago

            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.