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

Paxos Consensus,Deconstructed and Abstracted(扩展版)

Paxos Consensus, Deconstructed and Abstracted (Extended Version)

Álvaro García-Pérez, Alexey Gotsman, Yuri Meshman, Ilya Sergey

摘要:

Lamport的Paxos算法是一个经典的共识协议,用于在允许崩溃失败的环境中进行状态机复制。Paxos的许多版本都利用协议的内在属性来获得更好的运行时性能,从而扩大了算法的原始描述(已被证明是正确的)与其实际实现之间的差距。在这项工作中,我们解决的挑战,指定和验证复杂的Paxos为基础的系统(a)设计组合规格的实现Paxos的单法令版本,和(b)工程学科的原因协议感知,语义保持优化单法令Paxos。简而言之,我们的方法阐述了解构单法令Paxos的Boichat等人。我们提供了新的非确定性规范的解构中的每个模块,并证明,实现完善相应的规范,这样的证明模块保持不变,可以在不同的实现重用。我们进一步重用这一结果,并展示如何获得一个验证的实现多Paxos从一个单一的法令Paxos的验证实施,通过一系列新的协议感知的网络语义的转换,我们证明是行为保持。

英文摘要:

Lamport's Paxos algorithm is a classic consensus protocol for state machine replication in environments that admit crash failures. Many versions of Paxos exploit the protocol's intrinsic properties for the sake of gaining better run-time performance, thus widening the gap between the original description of the algorithm, which was proven correct, and its real-world implementations. In this work, we address the challenge of specifying and verifying complex Paxos-based systems by (a) devising composable specifications for implementations of Paxos's single-decree version, and (b) engineering disciplines to reason about protocol-aware, semantics-preserving optimisations to single-decree Paxos. In a nutshell, our approach elaborates on the deconstruction of single-decree Paxos by Boichat et al. We provide novel non-deterministic specifications for each module in the deconstruction and prove that the implementations refine the corresponding specifications, such that the proofs of the modules that remain unchanged can be reused across different implementations. We further reuse this result and show how to obtain a verified implementation of Multi-Paxos from a verified implementation of single-decree Paxos, by a series of novel protocol-aware transformations of the network semantics, which we prove to be behaviour-preserving.

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

↑