Skip to main content
QUICK REVIEW

[Paper Review] Revisiting Fast Practical Byzantine Fault Tolerance: Thelma, Velma, and Zelma

Abraham, Ittai, Gueta, Guy|arXiv (Cornell University)|Jan 26, 2018
Distributed systems and fault toleranceComputer Science12 references22 citations
TL;DR

This paper proposes Thelma, Velma, and Zelma—three Byzantine fault-tolerant consensus protocols that fix safety and liveness issues in prior fast practical BFT systems like FaB and Zyzzyva. By unifying a core view-change mechanism that ensures decisions from lower views are preserved, the protocols achieve fast, safe, and liveness-guaranteed consensus under parameterized fault models, with Zelma combining the best of both approaches for optimal performance and resilience.

ABSTRACT

In a previous note (arXiv:1712.01367 [cs.DC]) , we observed a safety violation in Zyzzyva and a liveness violation in FaB. In this manuscript, we sketch fixes to both. The same view-change core is applied in the two schemes, and additionally, applied to combine them and create a single, enhanced scheme that has the benefits of both approaches.

Motivation & Objective

  • To address safety and liveness vulnerabilities in the view-change mechanisms of FaB and Zyzzyva, which were previously identified as critical flaws.
  • To design a unified core view-change protocol that ensures decisions from lower views are preserved across view transitions, maintaining safety and enabling liveness.
  • To combine the performance benefits of fast-track consensus (as in Zyzzyva) with the fault-tolerance flexibility of parameterized models (as in FaB), resulting in a more robust and efficient protocol.
  • To reduce replica state and message overhead by limiting view information to a constant number of past views, improving scalability over prior solutions that retained all historical view data.
  • To formalize correctness principles through proof sketches, laying the foundation for a future full correctness proof and formal specification.

Proposed method

  • Introduces a core view-change mechanism that ensures a new leader only accepts a proposal as safe if it is compatible with any potential decision from the highest view-number of any lower view.
  • Applies the same view-change logic to both FaB-style and Zyzzyva-style protocols, enabling consistent safety and liveness guarantees across different fault models.
  • Defines two decision tracks: a fast track using a fast-quorum of size n−t (for n=3f+2t+1) and a two-phase track using a commit-quorum of size n−f−t, both ensuring safety and liveness under synchrony.
  • Uses fast-certificate and commit-certificate mechanisms to track decision progress: fast-certificate records the highest view-number among f+t+1 prepare messages for the same request-log prefix, while commit-certificate requires 2f+t+1 identical prepares.
  • Combines fast and two-phase decision evidence in view-change by selecting the highest view-number from either a fast-certificate or a commit-certificate; if equal, merges logs from both.
  • Limits replica state and message size to a constant number of past views, improving efficiency compared to prior systems that retained all historical view data.

Experimental results

Research questions

  • RQ1How can the safety and liveness flaws in FaB and Zyzzyva’s view-change mechanisms be formally addressed while preserving their performance characteristics?
  • RQ2Can a unified core view-change protocol be designed that ensures safety across both fast-track and two-phase decision paths, even when decisions are transferred across views via different mechanisms?
  • RQ3What is the minimal set of view information a replica must retain to ensure safety and liveness in a parameterized fault model (n=3f+2t+1) with up to t non-leader failures?
  • RQ4How can fast-track and two-phase decision mechanisms be combined in a single protocol without compromising safety or liveness, especially when decisions are propagated via different types of certificates?
  • RQ5To what extent can the state and message complexity of view-change be reduced by limiting the number of past views considered, while still preserving correctness?

Key findings

  • The proposed view-change mechanism ensures that any decision committed in a lower view cannot be contradicted in a higher view, thereby fixing the safety violation in Zyzzyva and the liveness issue in FaB.
  • Thelma achieves fast consensus in a single decision under the parameterized fault model n=3f+2t+1, with safety against f Byzantine faults and liveness during synchrony with up to t non-leader failures.
  • Velma provides three-hop commit in the fast track under n=3f+1, achieving optimistically fast execution with safety against f Byzantine faults and liveness during synchrony.
  • Zelma successfully combines the fast-track performance of Zyzzyva with the fault-tolerance flexibility of FaB, achieving fast commit under n=3f+2t+1 with up to t Byzantine replicas and f Byzantine faults.
  • The protocol maintains constant-size state and message overhead by retaining only a bounded number of past views, improving on prior systems like Refine-Quorum-Systems and Azyzzyva that required storing all past view data.
  • The proof sketches demonstrate that any safe leader-log in a new view must extend all decisions committed in lower views, ensuring consistency and preventing conflicting decisions across views.

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.