TY - GEN
T1 - Making Democracy Work
T2 - 29th International Conference on Principles of Distributed Systems, OPODIS 2025
AU - Ryabinin, Fedor
AU - Gotsman, Alexey
AU - Sutra, Pierre
N1 - Publisher Copyright:
© Fedor Ryabinin, Alexey Gotsman, and Pierre Sutra;
PY - 2025/1/1
Y1 - 2025/1/1
N2 - Classical state-machine replication protocols, such as Paxos, rely on a distinguished leader process to order commands. Unfortunately, this approach makes the leader a single point of failure and increases the latency for clients that are not co-located with it. As a response to these drawbacks, Egalitarian Paxos [19] introduced an alternative, leaderless approach, that allows replicas to order commands collaboratively. Not relying on a single leader allows the protocol to maintain non-zero throughput with up to f crashes of any processes out of a total of n = 2f + 1. The protocol furthermore allows any process to execute a command c fast, in 2 message delays, provided no more than e = ⌈f+12 ⌉ other processes fail, and all concurrently submitted commands commute with c; the latter condition is often satisfied in practical systems. Egalitarian Paxos has served as a foundation for many other replication protocols. But unfortunately, the protocol is very complex, ambiguously specified and suffers from nontrivial bugs. In this paper, we present EPaxos* - a simpler and correct variant of Egalitarian Paxos. Our key technical contribution is a simpler failure-recovery algorithm, which we have rigorously proved correct. Our protocol also generalizes Egalitarian Paxos to cover the whole spectrum of failure thresholds f and e such that n ≥ max{2e + f - 1, 2f + 1} - the number of processes that we show to be optimal.
AB - Classical state-machine replication protocols, such as Paxos, rely on a distinguished leader process to order commands. Unfortunately, this approach makes the leader a single point of failure and increases the latency for clients that are not co-located with it. As a response to these drawbacks, Egalitarian Paxos [19] introduced an alternative, leaderless approach, that allows replicas to order commands collaboratively. Not relying on a single leader allows the protocol to maintain non-zero throughput with up to f crashes of any processes out of a total of n = 2f + 1. The protocol furthermore allows any process to execute a command c fast, in 2 message delays, provided no more than e = ⌈f+12 ⌉ other processes fail, and all concurrently submitted commands commute with c; the latter condition is often satisfied in practical systems. Egalitarian Paxos has served as a foundation for many other replication protocols. But unfortunately, the protocol is very complex, ambiguously specified and suffers from nontrivial bugs. In this paper, we present EPaxos* - a simpler and correct variant of Egalitarian Paxos. Our key technical contribution is a simpler failure-recovery algorithm, which we have rigorously proved correct. Our protocol also generalizes Egalitarian Paxos to cover the whole spectrum of failure thresholds f and e such that n ≥ max{2e + f - 1, 2f + 1} - the number of processes that we show to be optimal.
KW - Consensus
KW - fault tolerance
KW - state-machine replication
UR - https://www.scopus.com/pages/publications/105031389728
U2 - 10.4230/LIPIcs.OPODIS.2025.22
DO - 10.4230/LIPIcs.OPODIS.2025.22
M3 - Conference contribution
AN - SCOPUS:105031389728
T3 - Leibniz International Proceedings in Informatics, LIPIcs
BT - 29th International Conference on Principles of Distributed Systems, OPODIS 2025
A2 - Arusoaie , Andrei
A2 - Onica, Emanuel
A2 - Spear, Michael
A2 - Tucci-Piergiovanni, Sara
PB - Schloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing
Y2 - 3 December 2025 through 5 December 2025
ER -