Skip to main content

Crate exp_backoff

Crate exp_backoff 

Source
Expand description

Provides jittered backoff values (nanoseconds) for operations that needs to do sleeps with jittered backoff between retries. The implementation is based on https://www.awsarchitectureblog.com/2015/03/backoff.html.

The API layout is inspired by Google’s gax/Backoff package for Go.

Structs§

Backoff
Provides jittered backoff values (nanoseconds) for operations that needs to do sleeps with jittered backoff between retries.
BackoffBuilder
Builds an instance of Backoff with default values.