backoffAlgorithm  v1.1.0
Algorithmic library for calculating retry intervals using exponential backoff and jitter.
Related Pages
Here is a list of all related documentation pages:
[detail level 12]
 Code Example for backoffAlgorithm APIExample POSIX application that retries DNS resolution operation with exponential backoff-and-jitter using the backoffAlgorithm library
 FunctionsPrimary functions of the backoffAlgorithm library:

BackoffAlgorithm_InitializeParams
BackoffAlgorithm_GetNextBackoff
 BackoffAlgorithm_InitializeParamsInitializes the context for using backoff algorithm. The parameters are required for calculating the next retry backoff delay. This function must be called by the application before the first new retry attempt.
 BackoffAlgorithm_GetNextBackoffSimple exponential backoff and jitter function that provides the delay value for the next retry attempt. After a failure of an operation that needs to be retried, the application should use this function to obtain the backoff delay value for the next retry, and then wait for the backoff time period before retrying the operation.