Package: wnpp Severity: wishlist Owner: Reinhard Tartler <siret...@tauware.de>
* Package name : golang-github-cloudflare-backoff Version : 0.0~git20161212.647f3cd-1 Upstream Author : Cloudflare * URL : https://github.com/cloudflare/backoff * License : BSD-2-clause Programming Lang: Go Description : Backoff timer shared between several projects. Go implementation of "Exponential Backoff And Jitter" . This package implements the backoff strategy described in the AWS Architecture Blog article "Exponential Backoff And Jitter" (http://www.awsarchitectureblog.com/2015/03/backoff.html). Essentially, the backoff has an interval time.Duration; the *nth* call to backoff will return an a time.Duration that is *2 n *interval*. If jitter is enabled (which is the default behaviour), the duration is a random value between 0 and *2 n * interval*. The backoff is configured with a maximum duration that will not be exceeded; e.g., by default, the longest duration returned is backoff.DefaultMaxDuration.