Exponential Backoff

Go 中的指数后退算法。「The exponential backoff algorithm in Go」

Github星跟蹤圖

Exponential Backoff GoDoc Coverage Status

This is a Go port of the exponential backoff algorithm from Google's HTTP Client Library for Java.

Exponential backoff
is an algorithm that uses feedback to multiplicatively decrease the rate of some process,
in order to gradually find an acceptable rate.
The retries exponentially increase and stop increasing when a certain threshold is met.

Usage

Import path is github.com/cenkalti/backoff/v4. Please note the version part at the end.

Use https://pkg.go.dev/github.com/cenkalti/backoff/v4 to view the documentation.

Contributing

  • I would like to keep this library as small as possible.
  • Please don't send a PR without opening an issue and discussing it first.
  • If proposed change is not a common use case, I will probably not accept it.

主要指標

概覽
名稱與所有者cenkalti/backoff
主編程語言Go
編程語言Go (語言數: 1)
平台
許可證MIT License
所有者活动
創建於2014-02-26 00:00:16
推送於2025-07-23 16:25:59
最后一次提交2019-05-06 10:51:56
發布數29
最新版本名稱v5.0.3 (發布於 )
第一版名稱v1.0.0 (發布於 )
用户参与
星數3.8k
關注者數29
派生數202
提交數166
已啟用問題?
問題數117
打開的問題數2
拉請求數39
打開的拉請求數2
關閉的拉請求數16
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?