Skip to content

jacques-bernier/fair9

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fair9

Go

fair9/retry

Idiomatic retry library that respects a retry budget.

Why

To understand what this is trying to achieve, read https://jacquesbernier.medium.com/zero-is-a-good-default-number-of-retries-abe431941994

Features

  • Process level retry budget
  • Default to 0 retries
  • Lock free implementation
  • No background go routines
  • Context support

Get Started

https://github.com/jacquesbernier/fair9/blob/c226e82bc45237fcabcf201810cdb38785956d2f/retry/examples/example_retry_test.go#L1-L42

Other libraries

Most other libraries rely on simple attempt count and backoff. This is not helpful in case large degradation.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages