Skip to main content
QUICK REVIEW

[Paper Review] Byzantine Eventual Consistency and the Fundamental Limits of Peer-to-Peer Databases

Martin Kleppmann, Heidi Howard|arXiv (Cornell University)|Dec 1, 2020
Distributed systems and fault toleranceComputer Science12 citations
TL;DR

This paper introduces Byzantine Eventual Consistency (BEC), a consistency model that enables peer-to-peer databases to tolerate arbitrary numbers of Byzantine-faulty nodes without Sybil countermeasures like proof-of-work. It proves that BEC is achievable if and only if all transactions are I-confluent with respect to application invariants, and presents a correct-by-construction algorithm based on Byzantine causal broadcast with near-optimal communication overhead.

ABSTRACT

Sybil attacks, in which a large number of adversary-controlled nodes join a network, are a concern for many peer-to-peer database systems, necessitating expensive countermeasures such as proof-of-work. However, there is a category of database applications that are, by design, immune to Sybil attacks because they can tolerate arbitrary numbers of Byzantine-faulty nodes. In this paper, we characterize this category of applications using a consistency model we call Byzantine Eventual Consistency (BEC). We introduce an algorithm that guarantees BEC based on Byzantine causal broadcast, prove its correctness, and demonstrate near-optimal performance in a prototype implementation.

Motivation & Objective

  • To identify the fundamental limits of peer-to-peer databases under arbitrary Byzantine faults, especially in the absence of Sybil countermeasures.
  • To define a consistency model that enables correctness in systems with unbounded Byzantine faults, without requiring trusted components or proof-of-work.
  • To establish a necessary and sufficient condition—I-confluence—for achieving Byzantine eventual consistency in such systems.
  • To design and evaluate a practical replication algorithm that ensures BEC with minimal communication overhead.

Proposed method

  • Introduces Byzantine Eventual Consistency (BEC) as a consistency model that guarantees eventual convergence of replicas even with arbitrary Byzantine faults.
  • Defines Byzantine causal broadcast as a primitive for reliable, causally-ordered message delivery in Byzantine environments.
  • Proves that a system achieves BEC if and only if all transactions are I-confluent with respect to the application’s invariants.
  • Designs a replication algorithm based on Byzantine causal broadcast, ensuring correctness under arbitrary Byzantine faults.
  • Optimizes message exchange using efficient reconciliation techniques, minimizing network overhead compared to theoretical minimum.
  • Uses invariants as correctness predicates to formally verify that updates preserve application-level consistency.

Experimental results

Research questions

  • RQ1What consistency guarantees can be achieved in a peer-to-peer database system with an unbounded number of Byzantine-faulty nodes?
  • RQ2Under what conditions is it possible to achieve eventual consistency in the presence of arbitrary Byzantine faults?
  • RQ3Can a system be made resilient to Sybil attacks without proof-of-work or centralized membership control?
  • RQ4How can causal ordering and consistency be maintained in a Byzantine environment without trusted components?
  • RQ5Is there a formal characterization of applications that can be securely deployed in permissionless, Byzantine peer-to-peer settings?

Key findings

  • BEC is achievable if and only if all transactions are I-confluent with respect to the application’s invariants, establishing a necessary and sufficient condition for Sybil immunity.
  • The proposed algorithm ensures correctness under arbitrary Byzantine faults without bounding the number of faulty nodes, enabling deployment in fully permissionless networks.
  • The prototype implementation incurs only a small network communication overhead compared to the theoretical optimum, demonstrating practical viability.
  • Applications such as CRDT-based systems are already I-confluent and can be directly extended to BEC, gaining Byzantine fault tolerance with minimal changes.
  • The approach avoids reliance on proof-of-work or trusted hardware, making it suitable for decentralized, trustless environments.
  • The work shows that coordination can be avoided in Byzantine systems if and only if the application logic is monotonic in the sense of I-confluence.

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.