Skip to main content
QUICK REVIEW

[Paper Review] Understanding the Scalability of Hyperledger Fabric

Minh Quang Nguyen, Dumitrel Loghin|arXiv (Cornell University)|Jul 21, 2021
Blockchain Technology Applications and SecurityComputer Science8 references19 citations
TL;DR

This paper evaluates the scalability of Hyperledger Fabric v1.1 using an enhanced benchmarking tool, Caliper++, to analyze the execute-order-validate transaction model at scale. It identifies communication overhead between execution and ordering phases as the primary bottleneck, showing that scaling the Kafka cluster does not improve throughput, while increasing endorsing peers degrades performance due to increased coordination overhead.

ABSTRACT

The rapid growth of blockchain systems leads to increasing interest in understanding and comparing blockchain performance at scale. In this paper, we focus on analyzing the performance of Hyperledger Fabric v1.1 - one of the most popular permissioned blockchain systems. Prior works have analyzed Hyperledger Fabric v0.6 in depth, but newer versions of the system undergo significant changes that warrant new analysis. Existing works on benchmarking the system are limited in their scope: some consider only small networks, others consider scalability of only parts of the system instead of the whole. We perform a comprehensive performance analysis of Hyperledger Fabric v1.1 at scale. We extend an existing benchmarking tool to conduct experiments over many servers while scaling all important components of the system. Our results demonstrate that Fabric v1.1's scalability bottlenecks lie in the communication overhead between the execution and ordering phase. Furthermore, we show that scaling the Kafka cluster that is used for the ordering phase does not affect the overall throughput.

Motivation & Objective

  • To provide a comprehensive performance evaluation of Hyperledger Fabric v1.1 at scale, addressing limitations in prior benchmarking studies that focused on smaller networks or isolated components.
  • To investigate the impact of scaling key system components—especially the Kafka-based ordering service and endorsing peers—on end-to-end throughput and latency.
  • To develop and open-source Caliper++, an enhanced version of Hyperledger Caliper, to support distributed benchmarking of Fabric with variable node configurations.
  • To identify and quantify the primary scalability bottlenecks in the execute-order-validate model used in Fabric v1.1.
  • To guide future system design by providing empirical evidence on performance trade-offs in permissioned blockchain deployments.

Proposed method

  • Extended Hyperledger Caliper with custom scripts to enable configuration, deployment, and benchmarking of distributed Fabric networks with varying numbers and types of nodes.
  • Conducted experiments on a local cluster of up to 48 nodes, varying the number of peers (N), clients (C), and Kafka brokers (K) to assess scalability across all phases of the execute-order-validate model.
  • Measured throughput and latency under different configurations, including varying Kafka replication and in-sync replica settings to isolate intra-cluster communication overhead.
  • Used log-based monitoring to compute the ratio of 'Enqueueing envelope...' to 'Envelope enqueued successfully' messages, quantifying ordering service efficiency and identifying communication bottlenecks.
  • Fixed total request rates (C×T = 300 and 400 tps) while scaling Kafka brokers to evaluate the impact on system throughput and latency.
  • Compared extreme Kafka configurations—minimal (replication.factor=1) vs. maximal fault-tolerant (replication.factor=15)—to isolate the effect of intra-cluster communication on overall performance.

Experimental results

Research questions

  • RQ1What are the primary scalability bottlenecks in Hyperledger Fabric v1.1 when using the execute-order-validate transaction model at scale?
  • RQ2How does scaling the Kafka cluster affect the overall throughput and latency of Fabric v1.1?
  • RQ3To what extent does increasing the number of endorsing peers degrade system performance, and why?
  • RQ4Does intra-cluster communication overhead in Kafka significantly impact Fabric’s transaction throughput?
  • RQ5How does the performance of Fabric v1.1 compare to earlier versions and other blockchain systems in terms of scalability and throughput stability?

Key findings

  • The endorsing peer, responsible for executing and validating transactions, is the primary scalability bottleneck, as increasing the number of endorsing peers leads to higher communication overhead and degraded performance.
  • The ratio of 'Enqueueing envelope...' to 'Envelope enqueued successfully' messages averages 1.7, indicating that only about 58.8% of transactions are successfully ordered, highlighting communication inefficiencies in the ordering phase.
  • Scaling the Kafka cluster does not improve overall throughput, as the performance remains constrained by the communication overhead between execution and ordering phases.
  • Intra-cluster Kafka communication overhead has a negligible impact on system throughput, as the performance under minimal and maximal replication settings is nearly identical.
  • The throughput of Fabric v1.1 remains stable up to 48 nodes, but the system’s scalability is limited by coordination costs in the execute-order-validate pipeline rather than by the Kafka ordering service itself.
  • Compared to earlier versions like v0.6, Fabric v1.1 shows improved scalability, but throughput remains limited for real-world workloads, especially when compared to systems like Ethereum and Parity that maintain stable throughput beyond 32 nodes.

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.