arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2404.04183cs.DC
收藏

RACS-SADL:云中稳健且可理解的随机共识

RACS-SADL: Robust and Understandable Randomized Consensus in the Cloud

Pasindu Tennage, Antoine Desjardins, Lefteris Kokoris-Kogias

AI总结:

本文提出RACS随机共识协议,在对抗性云网络下比Raft吞吐量高九倍,同步下性能持平,优化版SADL-RACS吞吐量达500k命令/秒。

摘要:

云中广泛部署的共识协议通常是基于领导者的,并针对同步网络条件下的低延迟进行了优化。然而,云网络可能会经历诸如网络分区、高丢包链路和配置错误等中断。这些中断干扰了基于领导者的协议的操作,因为它们的视图变更机制会中断正常情况下的复制,并导致系统停滞。\n我们提出了RACS,一种新颖的随机共识协议,确保对对抗性网络条件的稳健性。RACS在同步网络条件下实现最优的单轮往返延迟,同时对对抗性网络条件保持弹性。RACS遵循受Raft启发的简单设计,Raft是云中使用最广泛的共识协议,因此能够与现有云软件栈无缝集成。\n在Amazon EC2上运行原型的实验表明,在对抗性云网络条件下,RACS实现了28k命令/秒的吞吐量,比Raft高出九倍。在同步网络条件下,RACS与Multi-Paxos和Raft的性能相匹配,实现了200k命令/秒的吞吐量,中位延迟为300毫秒,确认RACS没有引入不必要的开销。最后,SADL-RACS,RACS的吞吐量优化版本,实现了500k命令/秒的吞吐量,比Raft提供150%更高的吞吐量。

英文摘要:

Widely deployed consensus protocols in the cloud are often leader-based and optimized for low latency under synchronous network conditions. However, cloud networks can experience disruptions such as network partitions, high-loss links, and configuration errors. These disruptions interfere with the operation of leader-based protocols, as their view change mechanisms interrupt the normal case replication and cause the system to stall. We propose RACS, a novel randomized consensus protocol that ensures robustness against adversarial network conditions. RACS achieves optimal one-round trip latency under synchronous network conditions while remaining resilient to adversarial network conditions. RACS follows a simple design inspired by Raft, the most widely used consensus protocol in the cloud, and therefore enables seamless integration with the existing cloud software stack. Experiments with a prototype running on Amazon EC2 show that RACS achieves 28k cmd/sec throughput, ninefold higher than Raft under adversarial cloud network conditions. Under synchronous network conditions, RACS matches the performance of Multi-Paxos and Raft, achieving a throughput of 200k cmd/sec with a median latency of 300ms, confirming that RACS introduces no unnecessary overhead. Finally, SADL-RACS, a throughput-optimized version of RACS, achieves a throughput of 500k cmd/sec, delivering 150% higher throughput than Raft.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑