知识卡片
多数派的容错边界
N 个副本的多数派是向下取整的 N/2 再加一。2f+1 个副本在最多 f 个不可用时仍能收集多数,剩余更少时应暂停需要多数确认的操作。三个副本至少要两个可用。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
- · Quorums
原书出处 · 1 处
- Chapter 11. Replication and Consistency Quorums · 查看原书依据
A consistency level that consists of ⌊N/2⌋ + 1 nodes is called a quorum, a majority of nodes. In the case of a network partition or node failures, in a system with 2f + 1 nodes, live nodes can
参考来源
- 位置:《Database Internals》Chapter 11. Replication and Consistency(book-source:extracted/Database Internals A deep-dive into how distributed data systems work (Alex Petrov)/_epub-src/OEBPS/ch11.html#quorums,段 195)
- 结论依据:原文给出多数派规模、2f+1 和三副本失败例子。
- 原始内容:A consistency level that consists of ⌊N/2⌋ + 1 nodes is called a quorum, a majority of nodes. In the case of a network partition or node failures, in a system with 2f + 1 nodes, live nodes can