Don't retry at all and always give up.
Don't retry at all and always give up. Only really useful for combining with other policies.
Set an upper bound on any individual delay produced by the given policy.
Delay by a constant amount before each retry.
Delay by a constant amount before each retry. Never give up.
Each delay is twice as long as the previous one.
Each delay is twice as long as the previous one. Never give up.
Delay(n) = Delay(n - 2) + Delay(n - 1)
Delay(n) = Delay(n - 2) + Delay(n - 1)
e.g. if baseDelay
is 10 milliseconds, the delays before each retry will be
10 ms, 10 ms, 20 ms, 30ms, 50ms, 80ms, 130ms, ...
"Full jitter" backoff algorithm.
"Full jitter" backoff algorithm. See https://aws.amazon.com/blogs/architecture/exponential-backoff-and-jitter/
Retry without delay, giving up after the given number of retries.
Add an upperbound to a policy such that once the cumulative delay over all retries has reached or exceeded the given limit, the policy will stop retrying and give up.
Add an upper bound to a policy such that once the given time-delay amount per try has been reached or exceeded, the policy will stop retrying and give up.
Add an upper bound to a policy such that once the given time-delay amount per try has been reached or exceeded, the policy will stop retrying and give up. If you need to stop retrying once cumulative delay reaches a time-delay amount, use limitRetriesByCumulativeDelay.