8000 GitHub - momokatte/go-backoff: A Go package for failure backoff functions (i.e. exponential backoff)
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

momokatte/go-backoff

Folders and files

NameName< 8000 div title="Last commit message" class="Truncate__StyledTruncate-sc-23o1d2-0 liVpTx width-fit">Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

go-backoff

A Go package for backoff functions.

It provides implementation of the following algorithms:

  • Power-of-2 exponential backoff
  • Base delay times power-of-2 exponential backoff
  • Exponential backoff with half jitter
  • Exponential backoff with full jitter

Backoff is an important part of rate limiting. This AWS blog post demonstrates the benefits of adding jitter to backoff behavior: https://www.awsarchitectureblog.com/2015/03/backoff.html

Online GoDoc

https://godoc.org/github.com/momokatte/go-backoff

About

A Go package for failure backoff functions (i.e. exponential backoff)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0