知识卡片

普通读书笔记卡 · 10406.c.2.a.2 · 生成模型:未记录

随机退避缓解提议竞争

理解等级:中级

两个提议者可以不断互相抢先完成更高编号的 Prepare,让另一个的 Accept 无法得到足够回应。随机退避减少下一轮同时竞争的概率,帮助一方完成两个阶段。接受规则保持安全,退避改善推进机会。

参见 [[承诺屏蔽旧编号]]。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Chapter 14. Consensus Paxos 的交接与竞争 · 查看原书依据

      While acceptors promise not to accept any proposals with a lower number, they still may respond to multiple prepare requests, as long as the later one has a higher sequence number. When a proposer tries to commit the value, it might find that acceptors have already responded to

    参考来源

    - 位置:《Database Internals》Chapter 14. Consensus(book-source:extracted/Database Internals A deep-dive into how distributed data systems work (Alex Petrov)/_epub-src/OEBPS/ch14.html#paxos_failure_scenarios,段 114) - 结论依据:原文描述高编号不断拦截复制和随机退避如何给一个提议者留出时间。 - 原始内容:While acceptors promise not to accept any proposals with a lower number, they still may respond to multiple prepare requests, as long as the later one has a higher sequence number. When a proposer tries to commit the value, it might find that acceptors have already responded to