5 ms·
Being able to quickly change in different retry mechanisms and policies is pretty useful. Sometimes you want exponential backoff, sometimes no backoff, sometime
by nimish 10y ago
Being able to quickly change in different retry mechanisms and policies is pretty useful. Sometimes you want exponential backoff, sometimes no backoff, sometimes it depends on other state.
Not as simple as you might think. And if you're gonna be writing microservices you're going to be intimately familiar with retries.
- wsargent 10y agoI really like jhalterman's failsafe library. Exponential backoff, jitter, circuit breaker support, etc. https://github.com/jhalterman/failsafe https://github.com/jhalterman/failsafe