Abstract
Traditional blockchain consensus protocols rely on a single "primary" node to propose transactions, creating a significant network bottleneck. This paper introduces Resilient Concurrent Consensus (RCC), a paradigm that allows all nodes to act as concurrent primaries, maximizing network utilization. Implemented in ResilientDB, RCC achieves up to 2.75x higher throughput than state-of-the-art protocols like PBFT and HotStuff, while maintaining high performance even during node failures.
Introduction: The Single-Leader Bottleneck
Consensus-based databases provide excellent fault tolerance and data provenance but typically suffer from low transaction throughput. Most practical systems rely on "primary-backup" consensus protocols (e.g., PBFT, HotStuff, Zyzzyva). In these designs, a single replica—the primary—is responsible for broadcasting all new transactions to the rest of the network.
This creates a severe structural bottleneck: the maximum throughput of the entire system is strictly limited by the outgoing bandwidth of that single primary node. Meanwhile, the network resources of all non-primary replicas are vastly underutilized. The authors propose RCC to fully utilize the bandwidth of all nodes in a Byzantine fault-tolerant (BFT) system to scale throughput without compromising security.
Methodology: Resilient Concurrent Consensus (RCC)
To break the single-leader bottleneck, RCC transforms standard primary-backup protocols into concurrent consensus protocols. Instead of one primary, RCC runs $m$ concurrent instances of a Byzantine commit algorithm (BCA), where $m$ typically equals the total number of replicas, $n$. Every replica acts as the primary for its own instance, proposing transactions in parallel.
Key technical innovations include:
- Wait-Free Concurrency: Instances run independently. If one primary crashes, it does not block other non-faulty primaries from committing transactions.
- Per-Instance Recovery: Unlike traditional protocols that halt the entire system during a "view-change," RCC isolates failures. Only the specific instance of a failed primary undergoes recovery.
- Deterministic Ordering: To prevent malicious primaries from manipulating execution order (e.g., front-running), RCC collects accepted transactions in a round and uses a cryptographic hash to deterministically select a randomized execution order.
Experimental Evaluation
The system was evaluated using the Yahoo Cloud Serving Benchmark (YCSB) via the Blockbench suite. The workload involved a table with 500,000 records, with 90% write/modify operations. Experiments were deployed on Google Cloud with up to 91 replicas and 320,000 simulated clients.
Key Results
RCC demonstrated significant performance gains over traditional single-leader protocols. In single-failure scenarios, RCC implementations achieved up to 2.75x, 1.53x, 38x, and 82x higher throughput than SBFT, PBFT, HotStuff, and Zyzzyva, respectively.
- Peak Performance: RCC reached a peak throughput of 365,000 transactions per batch in optimal conditions.
- Scalability: The system successfully scaled to 91 replicas. When network delays were the limiting factor, increasing replicas actually improved performance due to increased concurrent processing volume.
- Resilience: During active node failures, RCC's throughput dipped only slightly, proportional to the lost node's bandwidth, whereas traditional protocols experienced severe degradation.
Discussion and Future Work
The results indicate that concurrency is a more effective scaling strategy than optimizing single-leader message overhead. By distributing the primary role, RCC also mitigates targeted Denial of Service (DoS) attacks.
While RCC solves the network bandwidth bottleneck, replicas eventually become limited by computational power (cryptographic signatures) and memory buffers. Future work includes combining RCC with sharding to achieve even greater scalability for high-throughput federated databases.
Summary updated