English

On the parallels between Paxos and Raft, and how to port optimizations

Distributed, Parallel, and Cluster Computing 2019-05-28 v1

Abstract

In recent years, Raft has overtaken Paxos as the consensus algorithm of choice. [53] While many have pointed out similarities between the two protocols, no one has formally mapped out their relationships. In this paper, we show how Raft and Paxos are formally related despite their surface differences. Based on the formal mapping between the two protocols, we show how to automatically port a certain class of optimizations from Paxos to Raft with guaranteed correctness. As case studies, we port and evaluate two optimizations, Mencius and Paxos Quorum Lease to Raft.

Keywords

Cite

@article{arxiv.1905.10786,
  title  = {On the parallels between Paxos and Raft, and how to port optimizations},
  author = {Zhaoguo Wang and Changgeng Zhao and Shuai Mu and Haibo Chen and Jinyang Li},
  journal= {arXiv preprint arXiv:1905.10786},
  year   = {2019}
}