arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1608.06696cs.DC
收藏

Flexible Paxos:重新审视法定人数交集

Flexible Paxos: Quorum intersection revisited

Heidi Howard, Dahlia Malkhi, Alexander Spiegelman

摘要:

分布式共识是现代分布式系统的组成部分。广泛采用的Paxos算法使用两个阶段,每个阶段都需要多数同意,以可靠地达成共识。在本文中,我们证明了Paxos,这是许多生产系统的基础,是保守的。具体来说,我们观察到Paxos的每个阶段都可能使用不相交的法定人数。多数法定人数是不必要的,因为交叉只需要跨阶段。使用这种削弱的要求,在原来的配方,我们提出了灵活的Paxos,它概括了Paxos算法,提供灵活的法定人数。我们表明,灵活的Paxos是安全的,高效的,易于利用现有的分布式系统。最后,我们讨论了这一结果的广泛影响。例子包括当接受者的数量是偶数时,通过将第二阶段法定人数的大小减少一个来提高可用性,以及利用小的不相交的第二阶段法定人数来加速稳态。

英文摘要:

Distributed consensus is integral to modern distributed systems. The widely adopted Paxos algorithm uses two phases, each requiring majority agreement, to reliably reach consensus. In this paper, we demonstrate that Paxos, which lies at the foundation of many production systems, is conservative. Specifically, we observe that each of the phases of Paxos may use non-intersecting quorums. Majority quorums are not necessary as intersection is required only across phases. Using this weakening of the requirements made in the original formulation, we propose Flexible Paxos, which generalizes over the Paxos algorithm to provide flexible quorums. We show that Flexible Paxos is safe, efficient and easy to utilize in existing distributed systems. We conclude by discussing the wide reaching implications of this result. Examples include improved availability from reducing the size of second phase quorums by one when the number of acceptors is even and utilizing small disjoint phase-2 quorums to speed up the steady-state.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑