← 返回起始笔记位置

知识卡片

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

Gossip分散传播状态

理解等级:中级

Gossip让每个节点周期性随机选择部分伙伴交换信息;push主动推送,pull主动请求,可组合。它减少中心依赖,适合成员信息与容许延迟的传播。分区必须恢复、传播与合并持续工作才可能收敛,Gossip本身不是强一致或任意冲突合并协议。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Consistency and Availability · 查看原书依据

      The basic idea behind gossip protocols is simple: each node in the system periodically selects a random subset of its peers and shares the information it has with them. The recipient nodes then update their state based on the received information and continue the process by gossiping with their own randomly selected peers.

    参考来源

    - 位置:《Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…》第04章《Consistency and Availability》(来源项目book-sources;源文件:extracted/Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…/_epub-src/OPS/ch04.xhtml) - 结论依据:原文的机制或对比支持以下核心判断:Gossip让每个节点周期性随机选择部分伙伴交换信息;push主动推送,pull主动请求,可组合。 本卡将相邻说明中的适用限制保留为解释。 - 原始内容:The basic idea behind gossip protocols is simple: each node in the system periodically selects a random subset of its peers and shares the information it has with them. The recipient nodes then update their state based on the received information and continue the process by gossiping with their own randomly selected peers.