[Paper Review] Performance Tuning and Scaling Enterprise Blockchain Applications
This paper presents a systematic methodology for performance tuning and horizontal/vertical scaling of enterprise blockchain applications built on Hyperledger Fabric, achieving 1,900 TPS on-premise and 3,000 TPS in the cloud without modifying the Fabric source code. The approach combines workload-aware tuning, infrastructure optimization, and component-level analysis to bridge the gap between lab results and production performance.
Blockchain scalability can be complicated and costly. As enterprises begin to adopt blockchain technology to solve business problems, there are valid concerns if blockchain applications can support the transactional demands of production systems. In fact, the multiple distributed components and protocols that underlie blockchain applications makes performance optimization a non-trivial task. Blockchain performance optimization and scalability require a methodology to reduce complexity and cost. Furthermore, existing performance results often lack the requirements, load, and infrastructure of a production application. In this paper, we first develop a methodical approach to performance tuning enterprise blockchain applications to increase performance and transaction capacity. The methodology is applied to an enterprise blockchain-based application (leveraging Hyperledger Fabric) for performance tuning and optimization with the goal of bridging the gap between laboratory and production deployed system performance. We then present extensive results and analysis of our performance testing for on-premise and cloud deployments, in which we were able to scale the application from 30 to 3000 TPS without forking the Hyperledger Fabric source code and maintaining a reasonable infrastructure footprint. We also provide blockchain application and platform recommendations for performance improvement.
Motivation & Objective
- Address the critical gap between laboratory blockchain performance results and real-world production system capabilities.
- Overcome the complexity of optimizing multi-component, distributed blockchain systems with interdependent protocols and components.
- Develop a repeatable, methodical approach to performance tuning that maximizes throughput and minimizes latency in enterprise deployments.
- Demonstrate scalable performance in production-grade environments using real application workloads, full logging, and production-quality configurations.
- Identify and resolve key performance bottlenecks in blockchain components such as stateDB, consensus, and peer roles.
Proposed method
- Apply a three-phase transaction tracing methodology (endorse, order, commit) to identify performance bottlenecks across blockchain components.
- Conduct extensive performance testing across on-premise (Z system) and cloud (IBM Cloud) deployments with varying infrastructure configurations.
- Systematically tune key parameters including block size, commit strategies, and peer roles (e.g., split endorsing and committing peers).
- Use logs, tracing, and metrics to collect and analyze performance data across all transaction phases and system components.
- Evaluate vertical scaling by increasing CPU cores (up to 16) and memory (up to 16 GB) and assess virtual-to-physical CPU mapping impact.
- Analyze and optimize critical components such as CouchDB stateDB access patterns and block verification using buffered channels.
Experimental results
Research questions
- RQ1How can a systematic methodology be applied to tune enterprise blockchain applications for maximum performance and scalability?
- RQ2What are the primary performance bottlenecks in production-grade Hyperledger Fabric deployments, and how can they be mitigated?
- RQ3To what extent can throughput be increased through horizontal and vertical scaling without modifying the underlying blockchain platform source code?
- RQ4How do different deployment environments (on-premise vs. cloud) and infrastructure configurations impact transaction processing performance?
- RQ5What role does virtual-to-physical CPU mapping play in performance degradation, and how can it be optimized?
Key findings
- The methodology enabled a 63-fold increase in throughput, scaling from 30 TPS on-premise to 1,900 TPS through configuration tuning and infrastructure scaling.
- Cloud deployments achieved 3,000 TPS by leveraging 24 vCPUs and optimized infrastructure, demonstrating superior performance scaling compared to on-premise.
- CouchDB stateDB interactions were identified as a major bottleneck due to inefficient locking and I/O patterns, especially under high load.
- Splitting peer roles into dedicated endorsing and committing peers reduced resource contention and improved transaction processing efficiency.
- Using buffered channels for block verification reduced the number of blocked goroutines, improving throughput during validation phases.
- High virtual-to-physical CPU mapping ratios (e.g., 6:1) limited CPU utilization and degraded performance, indicating the need for lower overcommitment ratios for optimal performance.
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.