Alle Optionen
trixie  ] [  sid  ]
[ Quellcode: golang-github-cloudflare-backoff  ]

Paket: golang-github-cloudflare-backoff-dev (0.0~git20161212.647f3cd-2)

Links für golang-github-cloudflare-backoff-dev

Screenshot

Debian-Ressourcen:

Quellcode-Paket golang-github-cloudflare-backoff herunterladen:

Betreuer:

Externe Ressourcen:

Ähnliche Pakete:

Go implementation of "Exponential Backoff And Jitter" (library)

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.

golang-github-cloudflare-backoff-dev herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 5,2 kB23,0 kB [Liste der Dateien]