[Paper Review] Scaling Hyperledger Fabric Using Pipelined Execution and Sparse Peers
This paper proposes SmartFabric, a re-architected Hyperledger Fabric that improves performance and cost efficiency through pipelined execution of validation and commit phases and sparse peers that avoid redundant transaction commits. By enabling parallel validation across blocks and reducing I/O overhead, SmartFabric achieves 3× higher throughput, 12–26× faster scale-up, and 50–87% lower cost compared to vanilla Fabric.
Permissioned blockchains are becoming popular as data management systems in the enterprise setting. Compared to traditional distributed databases, blockchain platforms provide increased security guarantees but significantly lower performance. Further, these platforms are quite expensive to run for the low throughput they provide. The following are two ways to improve performance and reduce cost: (1) make the system utilize allocated resources efficiently; (2) allow rapid and dynamic scaling of allocated resources based on load. We explore both of these in this work. We first investigate the reasons for the poor performance and scalability of the dominant permissioned blockchain flavor called Execute-Order-Validate (EOV). We do this by studying the scaling characteristics of Hyperledger Fabric, a popular EOV platform, using vertical scaling and horizontal scaling. We find that the transaction throughput scales very poorly with these techniques. At least in the permissioned setting, the real bottleneck is transaction processing, not the consensus protocol. With vertical scaling, the allocated vCPUs go under-utilized. In contrast, with horizontal scaling, the allocated resources get wasted due to redundant work across nodes within an organization. To mitigate the above concerns, we first improve resource efficiency by (a) improving CPU utilization with a pipelined execution of validation & commit phases; (b) avoiding redundant work across nodes by introducing a new type of peer node called sparse peer that selectively commits transactions. We further propose a technique that enables the rapid scaling of resources. Our implementation - SmartFabric, built on top of Hyperledger Fabric demonstrates 3x higher throughput, 12-26x faster scale-up time, and provides Fabric's throughput at 50% to 87% lower cost.
Motivation & Objective
- To identify the true performance bottlenecks in Hyperledger Fabric under vertical and horizontal scaling.
- To improve CPU and I/O utilization by eliminating redundant work across peers within an organization.
- To enable rapid, dynamic scaling of Fabric networks through efficient peer state synchronization.
- To maintain serializability while enabling parallel transaction validation across different blocks.
- To reduce operational costs by minimizing resource overprovisioning through optimized execution and sparse peer architecture.
Proposed method
- Introduce a pipelined execution model that overlaps validation and commit phases across blocks, improving CPU utilization from 40% to 70%.
- Construct a waiting-transactions dependency graph tracking seven types of transaction dependencies to enable safe parallel validation across blocks.
- Design sparse peers that selectively commit only necessary transactions, avoiding redundant CPU and I/O work across organizational nodes.
- Implement a deferral mechanism for 5–10% of transactions to prevent performance degradation during peak load.
- Build an auto-scaling framework that leverages state DB copying instead of full block store sync, drastically reducing peer synchronization time.
- Integrate block caching from prior work to further accelerate block processing and reduce I/O latency.
Experimental results
Research questions
- RQ1Why does transaction throughput in Hyperledger Fabric scale poorly under vertical and horizontal scaling despite high resource allocation?
- RQ2What are the primary performance bottlenecks in the Execute-Order-Validate (EOV) model of Fabric, particularly in permissioned settings?
- RQ3How can transaction validation and commit phases be re-architected to improve CPU utilization without violating serializability?
- RQ4Can selective transaction commitment via sparse peers eliminate redundant work and improve resource efficiency in enterprise blockchain networks?
- RQ5To what extent can dynamic scaling of Fabric networks be accelerated using optimized state synchronization?
Key findings
- Transaction throughput in Hyperledger Fabric scales poorly with vertical scaling due to underutilized vCPUs, with CPU utilization rising only from 40% to 70%.
- Horizontal scaling leads to significant resource waste due to redundant transaction validation and commit across organizational peers, despite increased resource allocation.
- Pipelined execution of validation and commit phases improves performance by 1.4× and increases CPU utilization from 40% to 70%.
- Sparse peers reduce redundant work and improve performance by 2.4×, with both pipelining and sparseness together achieving a 3× throughput gain.
- SmartFabric reduces peer synchronization time by multiple folds compared to vanilla Fabric, enabling 12–26× faster scale-up due to smaller state DB transfers.
- SmartFabric achieves Fabric’s throughput at 50–87% lower cost by minimizing resource overprovisioning and improving utilization across the network.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.