Skip to main content
Log in

Performance modeling and analysis of Hyperledger Fabric

  • Published:
Cluster Computing Aims and scope Submit manuscript

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15
Fig. 16
Fig. 17
Fig. 18
Fig. 19
Fig. 20
Fig. 21
Fig. 22

Similar content being viewed by others

Data availibility

None.

References

  1. 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

  2. Wikipedia: Peer-to-peer. https://en.wikipedia.org/wiki/Peer-to-peer

  3. 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

    Article  Google Scholar 

  4. Wikipedia: Consensus decision-making. https://en.wikipedia.org/wiki/Consensus_decision-making

  5. 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)

  6. Wikipedia: Proof of work. https://en.wikipedia.org/wiki/Proof_of_work

  7. Wikipedia: Proof of stake. https://en.wikipedia.org/wiki/Proof_of_stake

  8. Wikipedia: Byzantine fault. https://en.wikipedia.org/wiki/Byzantine_fault

  9. 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

    Article  Google Scholar 

  10. RIVER FINANCIAL: Can Bitcoin Be Hacked?” https://river.com/learn/can-bitcoin-be-hacked/

  11. MIT Technology Review: Blockchain’s real promise: automating trust. https://www.technologyreview.com/2019/06/13/102979/blockchains-real-promise-automating-trust/

  12. Thakkar, P., Nathan, S., Vishwanathan, B.: Performance benchmarking and optimizing hyperledger fabric blockchain platform. (2018). arXiv preprint arXiv:1805.11390

  13. Ke, Z., Park, N.: Performance study on various hyperledger fabric node types and transaction flow. IEEE BCCA (2021)

  14. 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.

  15. 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)

  16. 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

    Article  Google Scholar 

  17. 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)

  18. Ethereum blockchain app platform. https://www.ethereum.org/

  19. Ethcore: Parity: next generation ethereum browser. https://ethcore.io/parity.html

  20. Kocsis, I., Klenik, A.: Towards performance modeling of hyperledger fabric. http://webspn.hit.bme.hu/~telek/cikkek/kocs17a.pdf

  21. 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

    Article  Google Scholar 

  22. Wang, C., Chu, X.: Performance characterization and bottleneck analysis of hyperledger fabric, pp. 1281–1286. (2020). https://doi.org/10.1109/ICDCS47774.2020.00165

  23. Hyperledger.org: Hyperledger-fabricdocs documentation. https://hyperledger-fabric.readthedocs.io/_/downloads/en/release-2.0/pdf/

  24. Androulaki, E. et al.: Hyperledger fabric: a distributed operating system for permissioned blockchains. In: EuroSys, pp. 30:1–30:15 (2018)

  25. Wikipedia: Stochastic process. https://en.wikipedia.org/wiki/Stochastic_process

  26. Wikipedia: Markov chain. https://en.wikipedia.org/wiki/Markov_chain

  27. Wikipedia: M/M/1 queue. https://en.wikipedia.org/wiki/M/M/1_queue

  28. Harrison, Peter, Patel, Naresh M.: Performance modelling of communication networks and computer architectures. Addison-Wesley, Boston (1992)

    MATH  Google Scholar 

  29. Wikipedia: Little’s law. https://en.wikipedia.org/wiki/Little%27s_law

  30. Wikipedia: Binomial distribution. https://en.wikipedia.org/wiki/Binomial_distribution

  31. Chaudhry, M.L., Templeton, J.G.C.: A first course on bulk queue. Wiley, New York (1983)

    MATH  Google Scholar 

  32. 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.

  33. 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

    Article  Google Scholar 

  34. Wikipedia: Phase-type distribution. https://en.wikipedia.org/wiki/Phase-type_distribution

  35. Wikipedia: M/G/1 queue. https://en.wikipedia.org/wiki/M/G/1_queue

  36. Pollaczek, F.: Über eine Aufgabe der Wahrscheinlichkeitstheorie. I. Math. Z. 32, 64–100 (1930)

    Article  MathSciNet  MATH  Google Scholar 

  37. Wikipedia: Burke’s theorem. https://en.wikipedia.org/wiki/Burke%27s_theorem

  38. Kleinrock, L.: Queueing systems, vol. 1. Wiley, New York (1975)

    MATH  Google Scholar 

Download references

Funding

None.

Author information

Authors and Affiliations

Authors

Contributions

None.

Corresponding author

Correspondence to Zuqiang Ke.

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.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

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

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10586-022-03800-2

Keywords

Navigation