As a highly scalable permissioned blockchain platform, Hyperledger Fabric supports a wide range of industry use cases ranging from governance to finance. In this paper, we propose a model to analyze the performance of a Hyperledgerbased system by using Generalised Stochastic Petri Nets (GSPN). This model decomposes a transaction flow into multiple phases and provides a simulation-based approach to obtain the system latency and throughput with a specific arrival rate. Based on this model, we analyze the impact of different configurations of ordering service on system performance to find out the bottleneck. Moreover, a mathematical configuration selection approach is proposed to determine the best configuration which can maximize the system throughput. Finally, extensive experiments are performed on a running system to validate the proposed model and approaches.
@article{arxiv.2002.03109,
title = {Performance Modeling and Analysis of a Hyperledger-based System Using GSPN},
author = {Pu Yuan and Kan Zheng and Xiong Xiong and Kuan Zhang and Lei Lei},
journal= {arXiv preprint arXiv:2002.03109},
year = {2020}
}