HackerPapers

arXiv:2206.03285cs.DC

Nezha: Deployable and High-Performance Consensus Using Synchronized Clocks

Jinkun Geng, Anirudh Sivaraman, Balaji Prabhakar, Mendel Rosenblum

Early discovery. Linked by one identifiable commenter. This paper is outside the main ranking; a mention is not an endorsement.

Abstract

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.

arXiv comments
Accepted by 49th International Conference on Very Large Data Bases (VLDB 2023)
Journal reference
Proc. VLDB Endow, Volume 16, Issue 4 (December 2022), pp. 629-642
DOI
doi:10.14778/3574245.3574250
Subjects
cs.DCDistributed, Parallel, and Cluster Computing cs.DBDatabases cs.NINetworking and Internet Architecture

On Hacker News

Linked by 1 identifiable commenter in 1 comment across 1 thread, from Nov 2023 to Nov 2023. Found in 1 HN submission from Jul 2022 to Jul 2022. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments1 thread

    • It can be used to optimize consensus and transaction protocols. Consensus example - check out Nezha (https://arxiv.org/abs/2206.03285), they came up with an interesting 'Deadline Ordered Multicast' (DOM) primitive > DOM follows Liskov's suggestion of "depending on clock…

      shikharView on HNParent context

Submitted to Hacker News

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