HackerPapers

arXiv:2003.07760cs.DC

Scaling Strongly Consistent Replication

Aleksey Charapko, Ailidani Ailijiang, Murat Demirbas

Abstract

Strong consistency replication helps keep application logic simple and provides significant benefits for correctness and manageability. Unfortunately, the adoption of strongly-consistent replication protocols has been curbed due to their limited scalability and performance. To alleviate the leader bottleneck in strongly-consistent replication protocols, we introduce Pig, an in-protocol communication aggregation and piggybacking technique. Pig employs randomly selected nodes from follower subgroups to relay the leader's message to the rest of the followers in the subgroup, and to perform in-network aggregation of acknowledgments back from these followers. By randomly alternating the relay nodes across replication operations, Pig shields the relay nodes as well as the leader from becoming hotspots and improves throughput scalability. We showcase Pig in the context of classical Paxos protocols employed for strongly consistent replication by many cloud computing services and databases. We implement and evaluate PigPaxos, in comparison to Paxos and EPaxos protocols under various workloads over clusters of size 5 to 25 nodes. We show that the aggregation at the relay has little latency overhead, and PigPaxos can provide more than 3 folds improved throughput over Paxos and EPaxos with little latency deterioration. We support our experimental observations with the analytical modeling of the bottlenecks and show that the rotating of the relay nodes provides the most benefit for reducing the bottlenecks and that the throughput is maximized when employing only 1 randomly rotating relay node.

arXiv comments
Journal reference
DOI
Subjects
cs.DCDistributed, Parallel, and Cluster Computing

On Hacker News

Linked by 2 identifiable commenters in 3 comments across 3 threads, from Apr 2020 to May 2021.

Comments linking this paper, per year.

Discussed in comments3 threads

    • Shameless plug for my list of paxos variants out there: https://vadosware.io/post/paxosmon-gotta-concensus-them-all Unfortunately there are a few I'm missing and I haven't had time to update that post or make a new one -- I haven't had time to read these and try to fit them in…

      hardwaresoftonView on HNParent context

    • Shameless plug, I have a list of even more paxos papers that does include Raft :) https://vadosware.io/post/paxosmon-gotta-concensus-them-all/ I'm missing some that were suggested to me by a HN member (judofyr), and I haven't updated the post so will put them down here…

      hardwaresoftonView on HNParent context

    • That's a great article! Thanks a lot. I know about some more variants you might want to check out: - Compartmentalized Paxos (https://mwhittaker.github.io/publications/compartmentalized_...) shows how you can compartamentalize the various roles of a Paxos node to increase…

      judofyrView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.