← 返回起始笔记位置

知识卡片

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

Paxos角色与两阶段

理解等级:中级

Paxos让一组节点为一个实例选定一个值。提议者发起Prepare取得多数承诺,再发Accept;接受者记录承诺和已接受提案,学习者获知选定值。一进程可兼多角色,角色划分用来说明协议职责,不要求三套机器。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    参考来源

    - 位置:《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) - 结论依据:原文的机制或对比支持以下核心判断:Paxos让一组节点为一个实例选定一个值。 本卡将相邻说明中的适用限制保留为解释。 - 原始内容:In a Paxos-based system, the nodes are classified into three roles, as follows: Proposers: These are the nodes that propose a value, for example, an updated inventory count to be agreed upon.