attempt v0.6.0 Attempt.Retry.Backoff behaviour
Defines a behaviour to implement retry backoff strategies.
See https://aws.amazon.com/blogs/architecture/exponential-backoff-and-jitter/
Implemented strategies are:
Attempt.Retry.Backoff.Nonewhich has no backoff delay. Speed of execution will be gated only by the configured token bucketAttempt.Retry.Backoff.Exponentialwhich implementd an exponential backoff to a maximum of 500msAttempt.Retry.Backoff.ExponentialFullJitterwhich randomises the backoff time from the exponential backoff to the maximum backoffAttempt.Retry.Backoff.ExponentialDecorrelatedJitterwhich randomises the backoff between zero and a time calculated based on the last delay time
See the relevant module for more information. The default backoff strategy
is Attempt.Retry.Backoff.None.
Link to this section Summary
Callbacks
Returns the number of milliseconds to delay before the next retry
Link to this section Callbacks
Returns the number of milliseconds to delay before the next retry