An API-Driven Framework for Performance Testing of Hyperledger Besu Blockchain Networks
Abstract
As Distributed Ledger Technologies (DLTs) mature into production-grade systems, a critical gap emerges between protocol-level benchmarking and application-centric performance testing. While specialized tools like Hyperledger Caliper excel at measuring core on-chain metrics, they are less suited for evaluating the end-to-end performance of applications that interact with the DLT through an intermediary API layer. This paper addresses this gap by proposing a three-tier, API-driven framework that enables mature, general-purpose load testing tools, such as Apache JMeter, to realistically assess a Hyperledger Besu network’s performance from an application’s perspective. The core of our solution is a custom API server that provides essential services like atomic nonce management and dynamic load balancing. Our comparative analysis demonstrates that while Caliper may report higher end-to-end throughput under specific conditions, our framework induces a significantly more substantial and evenly distributed load, revealing a more accurate picture of the network’s true processing capacity. Furthermore, our approach captures API-layer latency—a crucial metric for client-perceived responsiveness—which proved to be an order of magnitude lower than the on-chain finality measured by Caliper. This work validates a reusable architectural pattern for testing DLTs within a realistic application stack, bridging the gap between protocol benchmarking and real-world performance engineering.
References
Altoros. 2018. Hyperledger Caliper to Provide Benchmarking for Blockchain Systems. [link]. Accessed on September 9, 2025.
Apache Software Foundation. [n. d.]. Apache JMeter™. [link]. Accessed on September 9, 2025.
Coinbase. 2024. Reimagining Ethereum staking node architecture to improve performance and reliability. [link]. Accessed on September 9, 2025.
C. Fan, C. Lin, and P. Musílek. 2022. Performance Analysis of Hyperledger Besu in Private Blockchain. IEEE DApps (2022). [link]
Frugal Testing. 2023. Using JMeter for API Performance Testing: A Comprehensive Guide. [link]. Accessed on September 9, 2025.
Kaleido. [n. d.]. REST API Gateway | APIs for Blockchain Development. [link]. Accessed on September 9, 2025.
L. Mostarda, D. Sestili, and L. Tesei. 2023. An investigation tool for BESU permissioned blockchain performance. In Proceedings of the 5th International Workshop on Distributed Ledger Technology. [link]
Nethereum. [n. d.]. Managing nonces. [link]. Accessed on September 9, 2025.
G. A. Pierro, L. Cocco, and R. Tonelli. 2024. Besu vs. Quorum: Comparative Analysis in the Context of Simulated Energy Communities. In CEUR Workshop Proceedings. [link]
M. Soelman. 2021. Permissioned Blockchains: A Comparative Study. Student Theses (2021). [link]
Solo.io. 2023. API gateway vs. load balancer. [link]. Accessed on September 9, 2025.
The Linux Foundation. [n. d.]. Hyperledger Caliper Documentation. [link]. Accessed on September 9, 2025.
The Linux Foundation. 2022. Performance SandBox, a new Hyperledger Lab, is a test ground for blockchain performance research. [link]. Accessed on September 9, 2025.
Alan D. A. Veloso, Caio S. Silva, and Antonio L. S. Abelém. 2023. Desvendando o Desempenho do Hyperledger Besu: Uma Análise Experimental do Mecanismo de Consenso QBFT. In Anais do Workshop de Trabalhos de Iniciação Científica e de Graduação do SBRC. SBC, 43–56. [link]
