Design and Implementation of a Configurable Network Benchmarking Framework for Blockchain Systems
摘要
This study proposes a blockchain benchmarking system based on distributed architecture and network simulation techniques, aiming to overcome the performance limitations and network edge effects of traditional single-machine benchmarking schemes. By integrating Docker containerization and the Linux TC tool, the system simulates blockchain network topologies with customizable connection and latency matrices, enabling the rapid construction of diverse network configurations. In addition, leveraging Zookeeper to coordinate multiple testing machines enables a distributed benchmarking process. This breaks through single-machine performance bottlenecks and minimizes interference from network edge conditions. The experimental results demonstrate that the system effectively evaluates the scalability, stability, and performance of the data layer of blockchain systems. For example, under a high-latency network with a 132-ms delay, the TPS of PBFT-based blockchains drops significantly. PoW-based systems show stronger resilience. This system provides a robust and realistic testing platform for blockchain performance evaluation and optimization, supporting practical deployment in real-world scenarios.