Skip to main content
QUICK REVIEW

[Paper Review] Partitioned Paxos via the Network Data Plane

Huynh Tu Dang, Pietro Bressana|arXiv (Cornell University)|Jan 1, 2019
Distributed systems and fault toleranceComputer Science49 references2 citations
TL;DR

Partitioned Paxos accelerates consensus in distributed systems by decoupling agreement (handled via programmable network data plane) from execution (optimized via state partitioning and parallelism), achieving up to ×3 lower latency and ×11 higher throughput for unmodified key-value workloads compared to traditional implementations.

ABSTRACT

Consensus protocols are the foundation for building fault-tolerant, distributed systems, and services. They are also widely acknowledged as performance bottlenecks. Several recent systems have proposed accelerating these protocols using the network data plane. But, while network-accelerated consensus shows great promise, current systems suffer from an important limitation: they assume that the network hardware also accelerates the application itself. Consequently, they provide a specialized replicated service, rather than providing a general-purpose high-performance consensus that fits any off-the-shelf application. To address this problem, this paper proposes Partitioned Paxos, a novel approach to network-accelerated consensus. The key insight behind Partitioned Paxos is to separate the two aspects of Paxos, agreement, and execution, and optimize them separately. First, Partitioned Paxos uses the network forwarding plane to accelerate agreement. Then, it uses state partitioning and parallelization to accelerate execution at the replicas. Our experiments show that using this combination of data plane acceleration and parallelization, Partitioned Paxos is able to provide at least x3 latency improvement and x11 throughput improvement for a replicated instance of a RocksDB key-value store.

Motivation & Objective

  • To address the performance bottleneck in consensus protocols, which limits the scalability of fault-tolerant distributed systems.
  • To overcome the limitation of prior network-accelerated consensus systems that require specialized, in-network implementations of the application, restricting general applicability.
  • To enable unmodified off-the-shelf applications to benefit from high-performance consensus by separating agreement and execution optimization.
  • To demonstrate that hardware/software co-design across the full stack—from network to storage—can yield significant performance gains.

Proposed method

  • Using programmable network hardware (ToFino ASIC) to implement both phases of the Paxos protocol in the data plane, accelerating agreement without modifying the network forwarding behavior.
  • Partitioning the application state into multiple shards, each managed by a separate, independent Paxos instance to enable parallel execution.
  • Deploying multiple parallel Paxos replicas per shard to scale execution performance linearly with the number of shards.
  • Integrating kernel bypass (DPDK) and optimized storage (RocksDB) to reduce host-level latency and maximize throughput.
  • Implementing a software-based backup leader using DPDK to ensure fault tolerance during leader failure, with automatic failover after three retries.
  • Using a network-based leader to handle consensus coordination, while offloading state management and execution to application replicas.

Experimental results

Research questions

  • RQ1Can consensus performance be significantly improved without requiring application modifications or specialized network-based application implementations?
  • RQ2How does separating agreement (network-accelerated) from execution (sharded and parallelized) impact end-to-end system performance?
  • RQ3To what extent can network data plane acceleration and application-level parallelization jointly improve throughput and reduce latency in consensus protocols?
  • RQ4What is the performance impact of network-based consensus on the host application, and how can the system remain scalable under failure conditions?

Key findings

  • Partitioned Paxos achieves a 3× reduction in latency compared to traditional software-based Paxos implementations in a data center environment.
  • The system sustains over 2.5 billion consensus messages per second on a Barefoot ToFino ASIC, representing a four-order-of-magnitude improvement in agreement throughput.
  • For a replicated RocksDB key-value store, Partitioned Paxos delivers 11× higher throughput than a standard implementation, with minimal application changes.
  • The system maintains high availability during acceptor failure, with no throughput degradation, as the application remains the performance bottleneck.
  • During leader failure, throughput drops temporarily during failover but recovers fully once the DPDK-based backup leader takes over, achieving ~250K messages per second.
  • The evaluation confirms that performance gains are achievable only through full-stack optimization, including network, kernel bypass, file system, and storage layers.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.