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

论主动和被动复制之间的障碍和差距(完整版)

On Barriers and the Gap between Active and Passive Replication (Full Version)

Flavio P. Junqueira, Marco Serafini

摘要:

主动复制通常构建在原子广播原语之上。被动复制,最近已经在流行的ZooKeeper协调系统中使用,可以自然地构建在初级原子广播原语之上。被动复制与主动复制的不同之处在于,它要求进程在成为主进程并开始广播消息之前越过屏障。在本文中,我们提出了一个障碍函数tau,它解释并封装了现有的一阶原子广播算法之间的差异,即半被动复制和Zookeeper原子广播(Zab),以及Paxos和Zab之间的差异。我们还表明,实现初级原子广播的通用共识原语和tau的顶部固有的结果在更高的时间复杂度比原子广播,见证了现有的算法。我们克服了这个问题,提出了一种替代的,初级原子广播实现,建立在通用的共识原语,并使用共识本身形成一个障碍。该算法是模块化的,并且与现有的基于tau的算法的时间复杂度相匹配。

英文摘要:

Active replication is commonly built on top of the atomic broadcast primitive. Passive replication, which has been recently used in the popular ZooKeeper coordination system, can be naturally built on top of the primary-order atomic broadcast primitive. Passive replication differs from active replication in that it requires processes to cross a barrier before they become primaries and start broadcasting messages. In this paper, we propose a barrier function tau that explains and encapsulates the differences between existing primary-order atomic broadcast algorithms, namely semi-passive replication and Zookeeper atomic broadcast (Zab), as well as the differences between Paxos and Zab. We also show that implementing primary-order atomic broadcast on top of a generic consensus primitive and tau inherently results in higher time complexity than atomic broadcast, as witnessed by existing algorithms. We overcome this problem by presenting an alternative, primary-order atomic broadcast implementation that builds on top of a generic consensus primitive and uses consensus itself to form a barrier. This algorithm is modular and matches the time complexity of existing tau-based algorithms.

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

↑