Many distributed databases employ consensus protocols to ensure that data is replicated in a strongly-consistent manner on multiple machines despite failures and concurrency. Unfortunately, these protocols show widely varying performance under different network, workload, and deployment conditions, and no previous study offers a comprehensive dissection and comparison of their performance. To fill this gap, we study single-leader, multi-leader, hierarchical multi-leader, and leaderless (opportunistic leader) consensus protocols, and present a comprehensive evaluation of their performance in local area networks (LANs) and wide area networks (WANs). We take a two-pronged systematic approach. We present an analytic modeling of the protocols using queuing theory and show simulations under varying controlled parameters. To cross-validate the analytic model, we also present empirical results from our prototyping and evaluation framework, Paxi. We distill our findings to simple throughput and latency formulas over the most significant parameters. These formulas enable the developers to decide which category of protocols would be most suitable under given deployment conditions.
CITATION STYLE
Ailijiang, A., Charapko, A., & Demirbas, M. (2019). Dissecting the performance of strongly-consistent replication protocols. In Proceedings of the ACM SIGMOD International Conference on Management of Data (pp. 1696–1710). Association for Computing Machinery. https://doi.org/10.1145/3299869.3319893
Mendeley helps you to discover research relevant for your work.