Nezha: Deployable and High-Performance Consensus Using Synchronized Clocks

06/03/2022
by   Jinkun Geng, et al.
0

This paper presents a high-performance consensus protocol, Nezha, designed for single-cloud-region environments, 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 tags 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-based 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% of latency performance 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://gitlab.com/steamgjk/nezhav2.

READ FULL TEXT
research
02/04/2023

Practical View-Change-Less Protocol through Rapid View Synchronization

The emergence of blockchain technology has renewed the interest in conse...
research
10/24/2022

The Case for Accelerating BFT Protocols Using In-Network Ordering

Mission critical systems deployed in data centers today are facing more ...
research
05/09/2022

High Performance Consensus without Duplication: Multi-pipeline Hotstuff

This paper elaborates a new consensus protocol Multi-pipeline Hotstuff i...
research
06/02/2021

Dagger: Accelerating RPCs in Cloud Microservices Through Tightly-Coupled Reconfigurable NICs

The ongoing shift of cloud services from monolithic designs to microserv...
research
02/15/2019

Spectrum: A Framework for Adapting Consensus Protocols

There exists a plethora of consensus protocols in literature. The reason...
research
08/16/2019

Path-Sensitive Atomic Commit: Local Coordination Avoidance for Distributed Transactions (Technical Report)

Concurrent objects with asynchronous messaging are an increasingly popul...
research
01/25/2019

Partitioned Paxos via the Network Data Plane

Consensus protocols are the foundation for building fault-tolerant, dist...

Please sign up or login with your details

Forgot password? Click here to reset