BCadvisor: Enabling Green Blockchain Systems Through Resource-Oriented Benchmarking
Kai Qian, Yinqiu Liu, Yamin Han, Kun Wang · 2022
As an emerging technique, blockchain becomes widely-adopted in numerous fields, including supply chain, cloud computing, smart healthcare, etc. Nonetheless, some drawbacks, especially the high resource cost, also expose with the deepening of blockchain applications. Moreover, we lack the standard tools for benchmarking blockchain’s resource efficiency. In this case, even researchers keep on proposing lightweight blockchains, we have no idea about their actual validity. Generally speaking, two daunting challenges are yet to be addressed, i.e., the compatible framework and the resource-oriented benchmarking metrics. Motivated by such facts, this paper presents a resource-oriented blockchain benchmarking tool, named BCadvisor. Specifically, we develop a modular architecture, with three collaborating models. Such framework not only realizes a pipeline for data parsing, metric storage, and result visualization but also can easily support any new blockchain. Furthermore, we design a novel process named Three-step Resource-oriented Benchmarking (TsRoB), which divides the blockchain into 4 layers and evaluates the resource efficiency of each layer. Finally, we conduct comprehensive benchmarking on four representative blockchains and discuss the results. Our experiments can serve as a guideline for researchers in pursuing green blockchain running.