差异万岁:Paxos vs. Viewstamped Replication vs. Zab
Vive la Différence: Paxos vs. Viewstamped Replication vs. Zab
摘要:
Paxos、Viewstamped Replication和Zab是复制协议,可确保在出现崩溃故障的异步环境中实现高可用性。关于这些协议之间的相似性和差异性已经提出了各种主张。但是,如何确定两个协议是否相同,如果不相同,差异有多大?我们建议使用细化映射来解决这些问题,其中协议表示为简洁的规范,逐步细化到可执行的实现。这样做可以从原则上理解实现各种协议的不同设计决策的正确性。此外,它使我们能够识别对性能有重大影响的关键差异。
英文摘要:
Paxos, Viewstamped Replication, and Zab are replication protocols that ensure high-availability in asynchronous environments with crash failures. Various claims have been made about similarities and differences between these protocols. But how does one determine whether two protocols are the same, and if not, how significant the differences are? We propose to address these questions using refinement mappings, where protocols are expressed as succinct specifications that are progressively refined to executable implementations. Doing so enables a principled understanding of the correctness of the different design decisions that went into implementing the various protocols. Additionally, it allowed us to identify key differences that have a significant impact on performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。