TL;DR
This paper presents a formal specification and automated safety proof of Lamport's Multi-Paxos algorithm in TLA+, enhancing understanding and verification of distributed consensus algorithms.
Contribution
It provides the first formal TLA+ specification and automated safety proof for Multi-Paxos, building on Basic Paxos proofs to facilitate understanding and verification.
Findings
Formal specification of Multi-Paxos in TLA+
Automated safety proof using TLAPS
Reduced proof size and improved verification efficiency
Abstract
Paxos is an important algorithm for a set of distributed processes to agree on a single value or a sequence of values, for which it is called Basic Paxos or Multi-Paxos, respectively. Consensus is critical when distributed services are replicated for fault-tolerance, because non-faulty replicas must agree on the state of the system or the sequence of operations that have been performed. Unfortunately, consensus algorithms including Multi-Paxos in particular are well-known to be difficult to understand, and their accurate specifications and correctness proofs remain challenging, despite extensive studies ever since Lamport introduced Paxos. This article describes formal specification and verification of Lamport's Multi-Paxos algorithm for distributed consensus. The specification is written in TLA+, Lamport's Temporal Logic of Actions. The proof is written and automatically checked…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
