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

Nezha:使用同步时钟的可部署且高性能的共识协议

Nezha: Deployable and High-Performance Consensus Using Synchronized Clocks

Jinkun Geng, Anirudh Sivaraman, Balaji Prabhakar, Mendel Rosenblum

AI总结:

本文提出无需云提供商支持的高性能共识协议Nezha,利用基于软件时钟同步的截止时间有序多播原语,在吞吐量和延迟上显著超越多种基准协议。

摘要:

本文提出了一种高性能共识协议Nezha,云租户无需云提供商的任何支持即可部署。Nezha弥补了易于部署的Multi-Paxos和Raft等协议,与提供更高性能但需要可编程交换机和网络内优先级等云租户无法获取的技术的NOPaxos和Speculative Paxos等协议之间的差距。Nezha使用一种名为截止时间有序多播(DOM)的新多播原语。DOM利用高精度软件时钟同步来同步发送方和接收方时钟。发送方在同步时间中为消息标记截止时间;接收方按截止时间顺序在截止时间到达时或之后处理消息。我们将Nezha与Multi-Paxos、Fast Paxos、Raft、我们针对云优化的NOPaxos版本,以及两个使用同步时钟的最新协议Domino和TOQ-EPaxos进行了比较。在吞吐量方面,Nezha中位数超越所有基准5.4倍(范围:1.9-20.9倍)。在延迟方面,Nezha中位数超越五个基准2.3倍(范围:1.3-4.0倍),但有一个例外:在一次测试中,与我们优化的NOPaxos相比它牺牲了33%的延迟。我们还在Nezha之上构建了键值存储和公平访问股票交易所两个原型应用,表明Nezha仅使其性能相对于非复制系统有轻微下降。Nezha可在https://github.com/Steamgjk/Nezha获取。

英文摘要:

This paper presents a high-performance consensus protocol, Nezha, which can be deployed by cloud tenants without any support from their cloud provider. Nezha bridges the gap between protocols such as Multi-Paxos and Raft, which can be readily deployed and protocols such as NOPaxos and Speculative Paxos, that provide better performance, but require access to technologies such as programmable switches and in-network prioritization, which cloud tenants do not have. Nezha uses a new multicast primitive called deadline-ordered multicast (DOM). DOM uses high-accuracy software clock synchronization to synchronize sender and receiver clocks. Senders tag messages with deadlines in synchronized time; receivers process messages in deadline order, on or after their deadline. We compare Nezha with Multi-Paxos, Fast Paxos, Raft, a NOPaxos version we optimized for the cloud, and 2 recent protocols, Domino and TOQ-EPaxos, that use synchronized clocks. In throughput, Nezha outperforms all baselines by a median of 5.4x (range: 1.9-20.9x). In latency, Nezha outperforms five baselines by a median of 2.3x (range: 1.3-4.0x), with one exception: it sacrifices 33% latency compared with our optimized NOPaxos in one test. We also prototype two applications, a key-value store and a fair-access stock exchange, on top of Nezha to show that Nezha only modestly reduces their performance relative to an unreplicated system. Nezha is available at https://github.com/Steamgjk/Nezha.

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

↑