Nezha: Deployable and High-Performance Consensus Using Synchronized Clocks
Jinkun Geng, Anirudh Sivaraman, Balaji Prabhakar, Mendel Rosenblum
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.4× (range: 1.9-20.9×). In latency, Nezha outperforms five baselines by a median of 2.3× (range: 1.3-4.0×), 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 .
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 65e95b88-2904-4268-9e2f-603acfb1857bCited by top-tier papers4
- Tiga: Accelerating Geo-Distributed Transactions with Synchronized ClocksJinkun Geng, Shuai Mu, Anirudh Sivaraman, Balaji PrabhakarSOSP 2025 · 2 citations
- Bodega: Localized Linearizable Reads at Anywhere Anytime via Roster LeasesGuanzhou Hu, Andrea C. Arpaci-Dusseau, Remzi H. Arpaci-DusseauOSDI 2026
- Jetpack: Consensus Made Generally FastZe Tang, Zihao Zhang, Weihai Shen, Jicheng Shi et al.OSDI 2026
- Asymmetric Linearizable Local ReadsMyles Thiessen, Guy Khazma, Sam Toueg, Eyal de LaraVLDB 2025
Builds on7
- Consistency ModelsYang Song, Prafulla Dhariwal, Mark Chen, Ilya SutskeverICML 2023 · 1,720 citations
- Microsecond Consensus for Microsecond ApplicationsMarcos K. Aguilera, Naama Ben-David, Rachid Guerraoui, Virendra J. Marathe et al.OSDI 2020 · 73 citations
- Overload Control for µs-scale RPCs with BreakwaterInho Cho, Ahmed Saeed, Joshua Fried, Seo Jin Park et al.OSDI 2020 · 61 citations
- State machine replication scalability made simpleChrysoula Stathakopoulou, Matej Pavlovic, Marko VukolicEuroSys 2022 · 55 citations
- PigPaxos: Devouring the Communication Bottlenecks in Distributed ConsensusAleksey Charapko, Ailidani Ailijiang, Murat DemirbasSIGMOD 2021 · 55 citations
Related papers
- Nezha: A Key-Value Separated Distributed Store with Optimized Raft IntegrationYangyang Wang, Yucong Dong, Ziqian Cheng, Zichen XuICDE 2026
- QuePaxa: Escaping the tyranny of timeouts in consensusPasindu Tennage, Cristina Basescu, Lefteris Kokoris-Kogias, Ewa Syta et al.SOSP 2023 · 7 citations
- NeoBFT: Accelerating Byzantine Fault Tolerance Using Authenticated In-Network OrderingGuangda Sun, Mingliang Jiang, Xin Zhe Khooi, Yunfan Li et al.SIGCOMM 2023 · 13 citations
- EPaxos RevisitedSarah Tollman, Seo Jin Park, John K. OusterhoutNSDI 2021 · 48 citations
- Integrating 2PC with Consensus for Fast ReplicationYan Chen, Xinyi Yu, Shengyun Liu, Ruofan Xiong et al.SIGCOMM 2026
