知识卡片
重试退避与抖动
退避拉长同一客户端的重试间隔,减少在服务过载时施加的额外压力。多个客户端若在同一时刻失败并使用同一间隔,仍可能形成同步峰值。抖动给等待时间加入随机量,把重试分散开。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Chapter 8. Introduction and Overview Cascading Failures · 查看原书依据
Backoff is used to increase time periods between requests from a single client. However, different clients using the same backoff strategy can produce substantial load as well. To prevent different clients from retrying all at once after the backoff
参考来源
- 位置:《Database Internals》Chapter 8. Introduction and Overview(book-source:extracted/Database Internals A deep-dive into how distributed data systems work (Alex Petrov)/_epub-src/OEBPS/ch08.html#idm46104531099384,段 87)
- 结论依据:原文明确区分单客户端的重试频率和跨客户端的重试同步。
- 原始内容:Backoff is used to increase time periods between requests from a single client. However, different clients using the same backoff strategy can produce substantial load as well. To prevent different clients from retrying all at once after the backoff