|
|
|
|
|
by diggs
4109 days ago
|
|
What a coincidence, I found myself writing a little Go lib for exponential back off yesterday, and was wondering what the purpose of introducing jitter was and what effects it would have. I need it for interacting with the Twitter stream api and they're pretty clear that when they say exponential they mean it. But jitter looks very useful in some situations after reading this, so I added that to my lib as well... It's here if anyone's interested it https://github.com/Diggs/go-backoff |
|
https://github.com/ekimekim/pylibs/blob/master/libs/backoff....
(apologies for the long link, I keep all my one-file python libs in a single git repo for sanity. I think i've uploaded this one to pypi, where it's available under the name "backoff")