guava-retrying icon indicating copy to clipboard operation
guava-retrying copied to clipboard

Add a random exponential wait strategy; Fixes #28

Open NJAldwin opened this issue 9 years ago • 3 comments

This adds a variant of the exponential wait strategy that waits for a random time between the minimum provided time and an exponentially increasing maximum time (under a maximum provided time). This is similar to https://en.wikipedia.org/wiki/Exponential_backoff

See #28

NJAldwin avatar Dec 10 '15 18:12 NJAldwin

@rholder any chance you'll be able to take a look at this sometime relatively soon? (no rush, just wondering if I should just implement this in our code for now or wait for this to be merged)

NJAldwin avatar Dec 28 '15 18:12 NJAldwin

This looks pretty good, and it's first on my TODO list of maintenance when I circle back to this project. I should have bandwidth to ship something this week. Keep pinging this issue as a reminder if you don't see some movement soon.

rholder avatar Dec 28 '15 19:12 rholder

Any chance of committing and releasing this feature soon? Thanks.

skwslide avatar Jun 21 '16 20:06 skwslide