Skip to main content
QUICK REVIEW

[Paper Review] PnyxDB: a Lightweight Leaderless Democratic Byzantine Fault Tolerant Replicated Datastore

Loïck Bonniot, Christoph Neumann|arXiv (Cornell University)|Nov 8, 2019
Distributed systems and fault toleranceComputer Science55 references11 citations
TL;DR

PnyxDB is a lightweight, leaderless, Byzantine fault-tolerant (BFT) replicated datastore that enables democratic, application-level voting through conditional endorsements, allowing nodes to reject transactions based on custom policies. It achieves 11x lower commit latency than BFT-SMaRt and Tendermint—under 5 seconds in a worldwide 180-node deployment—by exploiting commutative operations and a novel conflict resolution protocol.

ABSTRACT

Byzantine-Fault-Tolerant (BFT) systems are rapidly emerging as a viable technology for production-grade systems, notably in closed consortia deployments for nancial and supply-chain applications. Unfortunately, most algorithms proposed so far to coordinate these systems suffer from substantial scalability issues, and lack important features to implement Internet-scale governance mechanisms. In this paper, we observe that many application workloads offer little concurrency, and propose PnyxDB, an eventually-consistent Byzantine Fault Tolerant replicated datastore that exhibits both high scalability and low latency. Our approach is based on conditional endorsements, that allow nodes to specify the set of transactions that must not be committed for the endorsement to be valid. In addition to its high scalability, PnyxDB supports application-level voting, i.e. individual nodes are able to endorse or reject a transaction according to application-defined policies without compromising consistency. We provide a comparison against BFTSMaRt and Tendermint, two competitors with different design aims, and show that our implementation speeds up commit latencies by a factor of 11, remaining below 5 seconds in a worldwide geodistributed deployment of 180 nodes.

Motivation & Objective

  • Address the scalability and governance limitations of existing BFT replication protocols in production-grade systems, particularly in closed consortia.
  • Overcome the scalability ceiling of traditional BFT protocols that struggle beyond tens of replicas.
  • Enable application-level voting where nodes can endorse or reject transactions based on custom policies without compromising consistency.
  • Support democratic decision-making in decentralized systems with Byzantine fault tolerance and eventual consistency.
  • Design a system resilient to Byzantine faults while avoiding single points of failure, leaders, or reliance on trusted third parties.

Proposed method

  • Introduce conditional endorsements, where each node specifies a set of transactions it will not commit, enabling conflict detection and resolution.
  • Leverage commutativity of independent operations to allow out-of-order execution while preserving safety and eventual consistency.
  • Design a modified Byzantine Quorum protocol that ensures agreement and safety even under Byzantine behavior by validating endorsements against conditional constraints.
  • Use a web-of-trust model for node recovery and coordination, avoiding centralized leaders or trusted third parties.
  • Implement speculative state synchronization with low rollback rates to accelerate commit latency.
  • Support application-defined policies via first-class voting mechanisms, enabling nodes to act on their own beliefs without compromising system consistency.

Experimental results

Research questions

  • RQ1Can a BFT replicated datastore achieve high scalability and low latency without relying on a leader or trusted third party?
  • RQ2How can application-level voting be natively supported in a BFT system while maintaining consistency and fault tolerance?
  • RQ3To what extent can commutative operations be exploited to reduce commit latency in geodistributed BFT systems?
  • RQ4Can conditional endorsements effectively resolve conflicts in a leaderless, democratic BFT datastore?
  • RQ5How does the system perform under real-world network asynchrony and adversarial behavior?

Key findings

  • PnyxDB reduces commit latency by a factor of 11 compared to BFT-SMaRt and Tendermint, achieving sub-5-second commit times in a worldwide geodistributed deployment of 180 nodes.
  • The system maintains steady commit throughput even at scale, demonstrating robustness under high load and network variability.
  • Conditional endorsements enable nodes to express application-specific policies, allowing democratic governance without compromising safety or consistency.
  • The system achieves low-latency performance by exploiting commutativity and speculative execution, with minimal rollback rates during state synchronization.
  • PnyxDB supports hundreds of replicas without a leader, avoiding single points of failure and enhancing resilience to corruption or manipulation.
  • Query drops occur under contention, but clients can retry efficiently, and non-conflicting transactions proceed independently of pending checkpoints, preserving liveness.

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.