alle opties
trixie  ] [  sid  ]
[ Bron: golang-github-cloudflare-backoff  ]

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

Verwijzigingen voor golang-github-cloudflare-backoff-dev

Screenshot

Debian bronnen:

Het bronpakket golang-github-cloudflare-backoff downloaden:

Beheerders:

Externe bronnen:

Vergelijkbare pakketten:

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 downloaden

Pakket downloaden voor alle beschikbare platforms
Platform Pakketgrootte Geïnstalleerde grootte Bestanden
all 5,2 kB23,0 kB [overzicht]