Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 2.9% on proxy.golang.org
Top 0.5% dependent packages on proxy.golang.org
Top 0.2% dependent repos on proxy.golang.org
Top 6.8% forks on proxy.golang.org
Top 0.8% docker downloads on proxy.golang.org

proxy.golang.org : github.com/cloudflare/backoff

Package backoff contains an implementation of an intelligent backoff strategy. It is based on the approach in the AWS architecture blog article titled "Exponential Backoff And Jitter", which is found at http://www.awsarchitectureblog.com/2015/03/backoff.html. Essentially, the backoff has an interval `time.Duration`; the nth call to backoff will return 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. The `New` function will attempt to use the system's cryptographic random number generator to seed a Go math/rand random number source. If this fails, the package will panic on startup.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/cloudflare/backoff
License: BSD-2-Clause
Latest release: over 7 years ago
First release: over 7 years ago
Namespace: github.com/cloudflare
Dependent packages: 78
Dependent repositories: 982
Stars: 42 on GitHub
Forks: 9 on GitHub
Docker dependents: 8
Docker downloads: 79,247
See more repository details: repos.ecosyste.ms
Last synced: 15 days ago

    Loading...
    Readme
    Loading...