← 返回起始笔记位置

知识卡片

普通读书笔记卡 · 2313.e.5.f.10.a.3.a.1.a.3

重连加入抖动分散尖峰

理解等级:中级

大量客户端同时断连后若以相同间隔重连,会在恢复节点上形成周期性尖峰。指数退避扩大间隔,随机抖动分散时点;还要保留最大等待、鉴权、心跳和消息进度恢复,重连成功不代表已补齐遗漏消息。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Traffic Routing Strategies · 查看原书依据

      Reconnection strategies: Robust systems implement exponential backoff with jitter for reconnection attempts, preventing thundering herd problems during service recovery. Message delivery guarantees: Different scenarios require different delivery guarantees. Some systems might need exactly-once delivery with persistent storage, while others can tolerate at-least-once delivery for better performance.

    参考来源

    - 位置:《Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…》第07章《Traffic Routing Strategies》(来源项目book-sources;源文件:extracted/Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…/_epub-src/OPS/ch07.xhtml) - 结论依据:原文的机制或对比支持以下核心判断:大量客户端同时断连后若以相同间隔重连,会在恢复节点上形成周期性尖峰。 本卡将相邻说明中的适用限制保留为解释。 - 原始内容:Reconnection strategies: Robust systems implement exponential backoff with jitter for reconnection attempts, preventing thundering herd problems during service recovery. Message delivery guarantees: Different scenarios require different delivery guarantees. Some systems might need exactly-once delivery with persistent storage, while others can tolerate at-least-once delivery for better performance.