Abstract
The performance of a permissioned blockchain, namely, Hyperledger Fabric, is modeled and analyzed in a quantitative manner in this paper. Various types of nodes contribute to the performance of Hyperledger Fabric, and each of those is modeled and tracked along the operational flow of the permissioned blockchain. There are nodes for endorsement, ordering, and commitment to realize the due decentralized network operations. A quantitative model for each type of nodes has been proposed in Ke and Park (Performance study on various Hyperledger Fabric node types and transaction flow, IEEE BCCA, 2021) along with numerical analysis. Each type of the nodes is characterized in terms of transaction/block queue size and waiting time, and the transaction/block arrival rates and the transaction/block service rates are considered for simulation purposes. The analysis is extended beyond the analysis in Ke and Park (Performance study on various Hyperledger Fabric node types and transaction flow, IEEE BCCA, 2021) in this paper to particularly demonstrate how the arrival rates and the service rates co-influence the performance and how the number of channels impacts the performance, in order to ultimately facilitate a more dynamic way of optimization, taking the co-relation across different types of nodes into account. The major contribution of this paper to the field of computer science by creating a series of queuing models to evaluate the performance of different types of nodes: Chaincode Execution and Endorsement, Block Creation and Delivery, Transaction Validation and Block Committing, and Transaction Processing.
Similar content being viewed by others
Data availibility
None.
References
Yaga, D., Mell, P., Roby, N., Scarfone, K.: Blockchain technology overview (draft NISTIR 82022). https://csrc.nist.gov/CSRC/media/ Publications/nistir/8202/draft/documents/nistir8202-draft.pdf
Wikipedia: Peer-to-peer. https://en.wikipedia.org/wiki/Peer-to-peer
Makani, S., Pittala, R., Alsayed, E., et al.: A survey of blockchain applications in sustainable and smart cities. Clust. Comput. (2022). https://doi.org/10.1007/s10586-022-03625-z
Wikipedia: Consensus decision-making. https://en.wikipedia.org/wiki/Consensus_decision-making
Alketbi, A., Nasir, Q., Talib, M.A.: Blockchain for government services-use cases, security benefits and challenges. In: 2018 15th learning and technology conference (L &T), pp. 112–119. (2018)
Wikipedia: Proof of work. https://en.wikipedia.org/wiki/Proof_of_work
Wikipedia: Proof of stake. https://en.wikipedia.org/wiki/Proof_of_stake
Wikipedia: Byzantine fault. https://en.wikipedia.org/wiki/Byzantine_fault
Chen, Q., Srivastava, G., Parizi, R.M., Aloqaily, M., Al Ridhawi, I.: An incentive-aware blockchain-based solution for internet of fake media things. Inf. Process. Manage. 57(6), 102370 (2020). https://doi.org/10.1016/j.ipm.2020.102370
RIVER FINANCIAL: Can Bitcoin Be Hacked?” https://river.com/learn/can-bitcoin-be-hacked/
MIT Technology Review: Blockchain’s real promise: automating trust. https://www.technologyreview.com/2019/06/13/102979/blockchains-real-promise-automating-trust/
Thakkar, P., Nathan, S., Vishwanathan, B.: Performance benchmarking and optimizing hyperledger fabric blockchain platform. (2018). arXiv preprint arXiv:1805.11390
Ke, Z., Park, N.: Performance study on various hyperledger fabric node types and transaction flow. IEEE BCCA (2021)
Sukhwani, H., Wang, N., Trivedi, K.S., Rindos, A.: Performance modeling of hyperledger fabric (permissioned blockchain network). In: 2018 IEEE 17th international symposium on network computing and applications (NCA), pp. 1–8. (2018). https://doi.org/10.1109/NCA.2018.8548070.
Vukolić, M.: The quest for scalable blockchain fabric: Proof-of-work vs. BFT replication. In: Lecture notes in computer science (including subseries lecture notes in artificial intelligence and lecture notes in bioinformatics): preface, vol. 9591, pp. 112–125 (2016)
Nakaike, T., Zhang, Q., Ueda, Y., Inagaki, T., Ohara, M.: Hyperledger fabric performance characterization and optimization using GoLevelDB benchmark. IEEE Int. Conf. Blockchain Cryptocurr. (ICBC) 2020, 1–9 (2020). https://doi.org/10.1109/ICBC48266.2020.9169454
Dinh, T.T.A., Wang, J., Chen, G., Liu, R., Ooi, B.C., Tan, K.-L.: BLOCKBENCH: a framework for analyzing private blockchains. In: Proceedings of the 2017 ACM international conference on management of data, SIGMOD conference 2017, Chicago, IL, USA, May 14–19, 2017, pp. 1085–1100. (2017)
Ethereum blockchain app platform. https://www.ethereum.org/
Ethcore: Parity: next generation ethereum browser. https://ethcore.io/parity.html
Kocsis, I., Klenik, A.: Towards performance modeling of hyperledger fabric. http://webspn.hit.bme.hu/~telek/cikkek/kocs17a.pdf
Yuan, P., Zheng, K., Xiong, X., Zhang, K., Lei, L.: Performance modeling and analysis of a Hyperledger-based system using GSPN. Comput. Commun. (2020). https://doi.org/10.1016/j.comcom.2020.01.073
Wang, C., Chu, X.: Performance characterization and bottleneck analysis of hyperledger fabric, pp. 1281–1286. (2020). https://doi.org/10.1109/ICDCS47774.2020.00165
Hyperledger.org: Hyperledger-fabricdocs documentation. https://hyperledger-fabric.readthedocs.io/_/downloads/en/release-2.0/pdf/
Androulaki, E. et al.: Hyperledger fabric: a distributed operating system for permissioned blockchains. In: EuroSys, pp. 30:1–30:15 (2018)
Wikipedia: Stochastic process. https://en.wikipedia.org/wiki/Stochastic_process
Wikipedia: Markov chain. https://en.wikipedia.org/wiki/Markov_chain
Wikipedia: M/M/1 queue. https://en.wikipedia.org/wiki/M/M/1_queue
Harrison, Peter, Patel, Naresh M.: Performance modelling of communication networks and computer architectures. Addison-Wesley, Boston (1992)
Wikipedia: Little’s law. https://en.wikipedia.org/wiki/Little%27s_law
Wikipedia: Binomial distribution. https://en.wikipedia.org/wiki/Binomial_distribution
Chaudhry, M.L., Templeton, J.G.C.: A first course on bulk queue. Wiley, New York (1983)
Ke, Z., Park, N.: A queueing model for industrial public blockchains and validation. In: 2021 22nd IEEE international conference on industrial technology (ICIT), (2021), pp. 712–717. https://doi.org/10.1109/ICIT46573.2021.9453552.
Luk, V.W.H., Wong, A.K.S., Lea, C.T., et al.: RRG: redundancy reduced gossip protocol for real-time N-to-N dynamic group communication. J. Internet Serv. Appl. 4, 14 (2013). https://doi.org/10.1186/1869-0238-4-14
Wikipedia: Phase-type distribution. https://en.wikipedia.org/wiki/Phase-type_distribution
Wikipedia: M/G/1 queue. https://en.wikipedia.org/wiki/M/G/1_queue
Pollaczek, F.: Über eine Aufgabe der Wahrscheinlichkeitstheorie. I. Math. Z. 32, 64–100 (1930)
Wikipedia: Burke’s theorem. https://en.wikipedia.org/wiki/Burke%27s_theorem
Kleinrock, L.: Queueing systems, vol. 1. Wiley, New York (1975)
Funding
None.
Author information
Authors and Affiliations
Contributions
None.
Corresponding author
Ethics declarations
Conflict of interest
The authors have not disclosed any competing interests.
Ethical approval
None.
Informed consent
None.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Ke, Z., Park, N. Performance modeling and analysis of Hyperledger Fabric. Cluster Comput 26, 2681–2699 (2023). https://doi.org/10.1007/s10586-022-03800-2
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10586-022-03800-2