Dissecting BFT Consensus: In Trusted Components we Trust!

Suyash Gupta, Sajjad Rahnama, Shubham Pandey, Natacha Crooks, Mohammad Sadoghi

Executive Summary

Existing "Trust-BFT" protocols leverage trusted hardware, such as Intel SGX, to reduce the replica requirement from $3f+1$ to $2f+1$. While this reduction appears efficient, it introduces hidden costs including poor responsiveness, vulnerability to rollback attacks, and sequential bottlenecks. This paper proposes FlexiTrust, a suite of protocols that utilizes $3f+1$ nodes to achieve up to 185% higher throughput by using trusted components as accelerators rather than crutches.

The Efficiency Trap of $2f+1$ Replicas

In traditional Byzantine Fault-Tolerant (BFT) systems, $3f+1$ replicas are required to reach consensus in the presence of $f$ malicious actors. To optimize hardware costs, researchers developed protocols that use a Trusted Execution Environment (TEE) at each replica to prevent "equivocation" (double-speaking). This allowed systems to operate with only $2f+1$ replicas.

However, this paper argues that the community has optimized for the wrong metric. Reducing node count to $2f+1$ introduces three fundamental limitations:

  1. Limited Responsiveness: If a single honest replica is slow, a client may never receive enough matching responses ($f+1$) to verify a transaction, even if the system has committed it.
  2. Rollback Vulnerability: TEEs like SGX are vulnerable to rollback attacks. Defending against these requires "persistent counters," which can add tens of milliseconds of latency to every message.
  3. Sequential Bottlenecks: Current designs force the TEE to order every message one-by-one, preventing parallel processing of consensus rounds.
Comparison of message flows in MinBFT ($2f+1$) and PBFT ($3f+1$), highlighting how delayed messages impact protocol responsiveness and liveness.

FlexiTrust: Reimagining Trusted BFT

FlexiTrust sidesteps these issues by returning to a $3f+1$ replica model while still leveraging trusted components strategically. By using a larger quorum ($2f+1$ out of $3f+1$), any two quorums are guaranteed to overlap by at least $f+1$ nodes. This ensures that at least one honest node is always present in every decision, maintaining safety even if a malicious leader attempts to roll back their TEE state.

Key Innovations include: * Primary-Only TEE Usage: Only the leader (primary) needs to access the TEE once per transaction to bind it to a sequence number, reducing the overall overhead. * Parallel Consensus: By relaxing TEE constraints, FlexiTrust allows replicas to process many transactions concurrently. * Safety without Persistence: The $3f+1$ model removes the need for slow persistent counters, as the quorum intersection provides inherent protection against state loss.

A comparative analysis of BFT protocols across key metrics, showing FlexiTrust's advantages in liveness, out-of-order execution, and memory efficiency.

Performance and Scalability

The authors evaluated FlexiTrust using ResilientDB and the YCSB benchmark on Oracle Cloud Infrastructure. The results demonstrate significant improvements over both traditional and $2f+1$ Trust-BFT protocols:

  • Throughput: FlexiTrust achieved up to 185% more throughput than $2f+1$ Trust-BFT counterparts and 100% more than traditional PBFT.
  • WAN Performance: In global deployments across six regions, FlexiTrust's parallel consensus allowed it to maintain high throughput despite high network latency, whereas sequential protocols saw performance crater.
  • Scalability: FlexiTrust maintained its performance lead even as the number of faults ($f$) increased to 32, proving its suitability for large-scale deployments.

Conclusion

FlexiTrust demonstrates that the path to high-performance BFT consensus lies not in minimizing the number of replicas, but in using trusted hardware to reduce communication phases and enable parallelism. By moving back to $3f+1$ nodes, FlexiTrust provides a more robust, responsive, and scalable solution for modern distributed systems.

Summary updated

BibTeX
@inproceedings{gupta2023dissecting,
  author = {Suyash Gupta and Sajjad Rahnama and Shubham Pandey and Natacha Crooks and Mohammad Sadoghi},
  title = {{Dissecting BFT Consensus: In Trusted Components we Trust!}},
  booktitle = {EuroSys},
  year = {2023},
  doi = {10.1145/3552326.3587455},
}
Figure