Scaling Blockchain Consensus via a Robust Shared Mempool

Fangyu Gai, Jianyu Niu, Ivan Beschastnikh, Chen Feng, Sheng Wang

TL;DR

Stratus is a robust shared mempool protocol that eliminates the "leader bottleneck" in blockchain consensus by decoupling transaction distribution from ordering. By allowing all replicas to share the work of spreading data and using a "provably available broadcast" (PAB) to ensure data integrity, Stratus enables standard BFT protocols to achieve 5× to 20× higher throughput in large-scale networks.

What Problem Does This Paper Address?

Most permissioned blockchains rely on Leader-based Byzantine Fault-Tolerant (LBFT) protocols (like PBFT or HotStuff). In these systems, a single "leader" node is responsible for two massive tasks: broadcasting the actual transaction data to everyone else and coordinating the voting process to agree on the order of those transactions.

As you add more replicas to the network to increase decentralization, the leader becomes a massive bottleneck. While the voting messages are tiny (bytes), the transaction blocks are huge (megabytes). The leader’s outbound bandwidth eventually hits a ceiling, causing throughput to collapse and latency to skyrocket. Furthermore, if the workload is "skewed"—meaning clients send most transactions to just a few popular nodes—those nodes get overwhelmed while others sit idle.

Methods

The authors introduce Stratus, which implements a Shared Mempool (SMP) abstraction. The core idea is to let every replica help disseminate transactions so the leader only has to propose a list of small transaction IDs rather than the full data.

Stratus introduces three key technical components:

  1. Decoupled Workflow: Replicas receive transactions from clients and immediately broadcast them to peers. When a node becomes the leader, it simply pulls IDs of already-disseminated transactions from its local pool to form a proposal.
  2. Provably Available Broadcast (PAB): To prevent a Byzantine (malicious) leader from proposing IDs for transactions that don't actually exist or haven't been shared, Stratus uses PAB. Replicas provide threshold signatures (availability proofs) once they receive a transaction. A leader must include these proofs in its proposal, guaranteeing that at least one honest replica has the data.
  3. Distributed Load Balancing (DLB): To handle uneven client traffic, Stratus uses a "Power-of-d-choices" algorithm. Overloaded replicas randomly sample a few peers and forward excess transactions to the least-busy one, who then acts as a "proxy" to disseminate the data.

Datasets

As a systems research paper, the evaluation relies on experimental testbeds rather than static datasets:

  • Testbed: 400 instances on Alibaba Cloud (4vCPUs, 8GB RAM).
  • Network Simulation: Used NetEm to simulate Wide Area Network (WAN) conditions with 100ms round-trip times and 100 Mb/s bandwidth limits.
  • Workload: Generated using the Bamboo benchmark, featuring an in-memory key-value store.
  • Skewed Workload: Used Zipfian distributions (Zipf1 and Zipf10) to simulate real-world scenarios where 10% of replicas might receive 85% of the total traffic.

Key Insights and Ideas

  • The Proposing Phase is the Real Culprit: While previous research focused on making the "commit" (voting) phase faster, this paper proves that the "proposing" phase (data distribution) is the primary factor limiting scalability in LBFT.
  • Availability vs. Delivery: Stratus realizes that consensus doesn't need to wait for every node to have the data; it just needs a cryptographic guarantee that the data is available to be fetched. This allows the voting process to overlap with data fetching, significantly reducing idle time.
  • Robustness under Fire: Unlike simpler shared mempools, Stratus doesn't break when the network jitters. By using PAB, it avoids "view changes" (the expensive process of replacing a leader) that usually occur when a leader proposes data that hasn't arrived at other nodes yet.

Key Results

  • Massive Throughput Gains: When integrated with HotStuff (S-HS), Stratus achieved 5× to 20× higher throughput than native HotStuff in networks with 128 to 400 replicas.
  • Scalability: While native protocols saw performance drop sharply after 64 nodes, Stratus-enabled protocols maintained high throughput even at 400 nodes.
  • WAN Resilience: In a fluctuating WAN environment where network delays spiked, a standard shared mempool's throughput dropped to zero, while Stratus (S-HS) maintained steady progress.
  • Load Balancing Efficiency: Under highly skewed workloads (Zipf1), Stratus achieved up to 10× more throughput than non-load-balanced versions by successfully offloading work to idle proxies.

Limitations and Future Work

  • Duplicate Attacks: The current version does not explicitly defend against Byzantine clients sending the same transaction to multiple replicas to waste network bandwidth. The authors suggest using "bucket partitioning" (from MirBFT) as a future fix.
  • Bandwidth Utilization: The authors noted that about 40% of bandwidth remains unused because the underlying chain-based protocols are still bounded by sequential latency. They propose exploring out-of-order proposal processing to fill this gap.
  • Multi-Leader Integration: While Stratus was tested on single-leader protocols, the authors plan to extend the shared mempool concept to multi-leader BFT systems to see if further gains are possible.

Summary updated

BibTeX
@inproceedings{gai2023scaling,
  author = {Fangyu Gai and Jianyu Niu and Ivan Beschastnikh and Chen Feng and Sheng Wang},
  title = {{Scaling Blockchain Consensus via a Robust Shared Mempool}},
  booktitle = {ICDE},
  year = {2023},
  doi = {10.1109/icde55515.2023.00047},
}
Figure