TY - GEN
T1 - On the parallels between paxos and raft, and how to port optimizations
AU - Wang, Zhaoguo
AU - Zhao, Changgeng
AU - Mu, Shuai
AU - Chen, Haibo
AU - Li, Jinyang
N1 - Publisher Copyright:
© 2019 ACM.
PY - 2019/7/16
Y1 - 2019/7/16
N2 - In recent years, Raft has surpassed Paxos to become the more popular consensus protocol in the industry. While many researchers have observed the similarities between the two protocols, no one has shown how Raft and Paxos are formally related to each other. In this paper, we present a formal mapping between Raft and Paxos, and use this knowledge to port a certain class of optimizations from Paxos to Raft. In particular, our porting method can automatically generate an optimized protocol specification with guaranteed correctness. As case studies, we port and evaluate two optimizations, Mencius and Paxos Quorum Lease to Raft.
AB - In recent years, Raft has surpassed Paxos to become the more popular consensus protocol in the industry. While many researchers have observed the similarities between the two protocols, no one has shown how Raft and Paxos are formally related to each other. In this paper, we present a formal mapping between Raft and Paxos, and use this knowledge to port a certain class of optimizations from Paxos to Raft. In particular, our porting method can automatically generate an optimized protocol specification with guaranteed correctness. As case studies, we port and evaluate two optimizations, Mencius and Paxos Quorum Lease to Raft.
KW - Optimization porting
KW - Paxos
KW - Raft
UR - http://www.scopus.com/inward/record.url?scp=85071048325&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85071048325&partnerID=8YFLogxK
U2 - 10.1145/3293611.3331595
DO - 10.1145/3293611.3331595
M3 - Conference contribution
AN - SCOPUS:85071048325
T3 - Proceedings of the Annual ACM Symposium on Principles of Distributed Computing
SP - 445
EP - 454
BT - PODC 2019 - Proceedings of the 2019 ACM Symposium on Principles of Distributed Computing
PB - Association for Computing Machinery
T2 - 38th ACM Symposium on Principles of Distributed Computing, PODC 2019
Y2 - 29 July 2019 through 2 August 2019
ER -