知识卡片
领导者减少同步轮次
稳定领导者收集状态、为消息排序并发起协调,使节点不用在每个步骤都同其他成员分别协商。领导者失效后需重新选举。单个领导者也可能形成性能瓶颈,按不相交的数据分区选出各自领导者可以分摊协调负荷。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Chapter 10. Leader Election Chapter 10. Leader Election · 查看原书依据
Synchronization can be quite costly: if each algorithm step involves contacting each other participant, we can end up with a significant communication overhead. This is particularly true in large and geographically distributed networks. To reduce synchronization overhead and the
参考来源
- 位置:《Database Internals》Chapter 10. Leader Election(book-source:extracted/Database Internals A deep-dive into how distributed data systems work (Alex Petrov)/_epub-src/OEBPS/ch10.html#leader_election,段 2)
- 结论依据:原文说明领导者可减少远程同步和往返,并用 Spanner 的分区举例。
- 原始内容:Synchronization can be quite costly: if each algorithm step involves contacting each other participant, we can end up with a significant communication overhead. This is particularly true in large and geographically distributed networks. To reduce synchronization overhead and the