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

RMWPaxos:容错原位共有序列

RMWPaxos: Fault-Tolerant In-Place Consensus Sequences

Jan Skrzypczak, Florian Schintke, Thorsten Schütt

摘要:

基于分布式、容错共识构建共识序列(用于复制状态机)通常需要为每个新共识实例提供单独的分布式状态。分配和维护此状态会导致大量开销。特别地,以容错方式释放分布式的、过时的状态不是微不足道的,并且给系统增加了进一步的复杂性和成本。在本文中,我们提出了一个扩展的单法令Paxos协议,可以学习一系列的共识决定“到位”,即与一组分布式状态。我们的协议不需要动态日志结构,因此不需要分布式日志修剪,快照,压缩,或动态资源分配。该协议建立了一个容错的原子寄存器,支持任意的读-修改-写操作。我们使用一致法定人数的概念来检测先前的共识是否仍然需要巩固或已经完成,以便可以安全地提出下一个共识值。在没有状态修改的情况下完成了对合并共识的读取,并且因此没有并发控制和对序列化的需求。一个不被打断的提议者通过让接受者急切地准备前一个请求,在每个决策的单个消息往返中就连续的共识决策达成一致。

英文摘要:

Building consensus sequences based on distributed, fault-tolerant consensus, as used for replicated state machines, typically requires a separate distributed state for every new consensus instance. Allocating and maintaining this state causes significant overhead. In particular, freeing the distributed, outdated states in a fault-tolerant way is not trivial and adds further complexity and cost to the system. In this paper, we propose an extension to the single-decree Paxos protocol that can learn a sequence of consensus decisions 'in-place', i.e. with a single set of distributed states. Our protocol does not require dynamic log structures and hence has no need for distributed log pruning, snapshotting, compaction, or dynamic resource allocation. The protocol builds a fault-tolerant atomic register that supports arbitrary read-modify-write operations. We use the concept of consistent quorums to detect whether the previous consensus still needs to be consolidated or is already finished so that the next consensus value can be safely proposed. Reading a consolidated consensus is done without state modifications and is thereby free of concurrency control and demand for serialisation. A proposer that is not interrupted reaches agreement on consecutive consensus decisions within a single message round-trip per decision by preparing the acceptors eagerly with the previous request.

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

↑