https://github.com/aofei/backoff
A Full-Jitter exponential backoff helper for Go.
https://github.com/aofei/backoff
backoff exponential full-jitter go helper
Last synced: 4 months ago
JSON representation
A Full-Jitter exponential backoff helper for Go.
- Host: GitHub
- URL: https://github.com/aofei/backoff
- Owner: aofei
- License: mit
- Created: 2025-06-17T00:38:21.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2025-10-28T05:53:56.000Z (7 months ago)
- Last Synced: 2025-10-28T07:19:22.106Z (7 months ago)
- Topics: backoff, exponential, full-jitter, go, helper
- Language: Go
- Homepage: https://pkg.go.dev/github.com/aofei/backoff
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yaml
- License: LICENSE
Awesome Lists containing this project
README
# Backoff
[](https://github.com/aofei/backoff/actions/workflows/test.yaml)
[](https://codecov.io/gh/aofei/backoff)
[](https://goreportcard.com/report/github.com/aofei/backoff)
[](https://pkg.go.dev/github.com/aofei/backoff)
A Full-Jitter exponential backoff helper for Go.
The algorithm used to compute the randomized delay mainly comes from the Full-Jitter exponential backoff strategy
described in the AWS Architecture Blog post
[Exponential Backoff and Jitter](https://aws.amazon.com/blogs/architecture/exponential-backoff-and-jitter/), ensuring
evenly distributed retries without synchronized bursts.
## Features
- Extremely easy to use
- Zero third-party dependencies
## Installation
To use this project programmatically, `go get` it:
```bash
go get github.com/aofei/backoff
```
## Community
If you have any questions or ideas about this project, feel free to discuss them
[here](https://github.com/aofei/backoff/discussions).
## Contributing
If you would like to contribute to this project, please submit issues [here](https://github.com/aofei/backoff/issues)
or pull requests [here](https://github.com/aofei/backoff/pulls).
When submitting a pull request, please make sure its commit messages adhere to
[Conventional Commits 1.0.0](https://www.conventionalcommits.org/en/v1.0.0/).
## License
This project is licensed under the [MIT License](LICENSE).