论文标题

rmwpaxos:容忍故障的原位共识序列

RMWPaxos: Fault-Tolerant In-Place Consensus Sequences

论文作者

Skrzypczak, Jan, Schintke, Florian, Schütt, Thorsten

论文摘要

基于复制状态计算机使用的基于分布式耐故障共识的分布式,容忍故障共识的共识序列通常需要每个新共识实例的单独分布式状态。分配和维护该状态会引起大量的开销。特别是,以容忍断层的方式释放分布式,过时的状态并不是微不足道的,并且为系统增加了进一步的复杂性和成本。 在本文中,我们提出了一个单数据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.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源