Skip to main content

Latency Analysis for Raft Consensus on Hyperledger Fabric

  • Conference paper
  • First Online:
Blockchain and Trustworthy Systems (BlockSys 2022)

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 1679))

Included in the following conference series:

Abstract

As a permissioned blockchain system, Hyperledger Fabric is getting increasing attention from enterprises, however, the current Hyperledger Fabric system is difficult to meet the real-time application requirements of enterprises. This paper focus on the Raft consensus latency that is time consumption of consensus, we provide a theoretical model of the Raft consensus latency. Subsequently, we analyze the effect of consensus latency on the transaction latency and the effect of a block size on consensus latency by extensive experiments. The experimental result shows that the proportion of consensus latency in the entire transaction latency is relatively small, while the block size has more greater effect on the consensus latency.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 69.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 89.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Zheng, Z., Xie, S., Dai, H.N., Chen, X., Wang, H.: Blockchain challenges and opportunities: a survey. Int. J. WebGrid Serv. 14(4), 352–375 (2018)

    Article  Google Scholar 

  2. Hyperledger fabric (2020). https://hyperledger-fabric.readthedocs.io/

  3. Nakamoto, S.: Bitcoin: a peer-to-peer electronic cash system. Decentralized Business Review, p. 21260 (2008)

    Google Scholar 

  4. Khan, M.W., Zeeshan, M., Farid, A., Usman, M.: Qos-aware traffic scheduling framework in cognitive radio based smart grids using multi-objective optimization of latency and throughput. Ad Hoc Networks 97(2), 102020 (2020)

    Article  Google Scholar 

  5. Zhou, E., Sun, H., Pi, B., Sun, J., Yamashita, K., Nomura, Y.: Ledgerdata refiner: a powerful ledger data query platform for hyperledger fabric. In: 6th International Conference on Internet of Things: Systems. Management and Security (IOTSMS), pp. 433–440. IEEE, Granada, Spain (2019)

    Google Scholar 

  6. Javaid, H., et al.: Blockchain machine: a network-attached hardware accelerator for hyperledger fabric. Distributed, Parallel, and Cluster Computing, CoRR arXiv:2104.06968 (2021)

  7. Su Wai, K.S., Htoon, E.C., Myint Thein, N.N.: Performance evaluation of m/d/1 queuing model on hyperledger fabric. In: International Conference on Advanced Information Technologies (ICAIT), pp. 36–41. IEEE, Yangon, Myanmar (2020)

    Google Scholar 

  8. Meng, T., Zhao, Y., Wolter, K., Xu, C.Z.: On consortium blockchain consistency: a queueing network model approach. IEEE Trans. Parallel Distrib. Syst. 32(6), 1369–1382 (2021)

    Article  Google Scholar 

  9. Xu, X., Sun, G., Luo, L., Cao, H., Yu, H., Vasilakos, A.V.: Latency performance modeling and analysis for hyperledger fabric blockchain network. Inform. Process. Manage. 58(1), 102436 (2021)

    Article  Google Scholar 

  10. Sukhwani, H., Wang, N., Trivedi, K.S., Rindos, A.: Performance modeling of hyperledger fabric (permissioned blockchain network). In: 17th International Symposium on Network Computing and Applications (NCA), p. 8548070. IEEE, Cambridge, MA, United states (2018)

    Google Scholar 

  11. Yuan, P., Zheng, K., Xiong, X., Zhang, K., Lei, L.: Performance modeling and analysis of a hyperledger-based system using GSPN. Comput. Commun. 153(3), 117–124 (2020)

    Article  Google Scholar 

  12. Thakkar, P., Nathan, S., Viswanathan, B.: Performance benchmarking and optimizing hyperledger fabric blockchain platform. In: 26th International Symposium on Modeling. Analysis, and Simulation of Computer and Telecommunication Systems (MASCOTS), pp. 264–276. IEEE, Milwaukee, Wisconsin (2018)

    Google Scholar 

  13. Wang, C., Chu, X.: Performance characterization and bottleneck analysis of hyperledger fabric. In: 40th International Conference on Distributed Computing Systems (ICDCS), pp. 1281–1286. IEEE, Singapore (2020)

    Google Scholar 

  14. Du, M.: Ma, X, Zhang, Z., Wang, X., Chen, Q.: A review on consensus algorithm of blockchain. In: International Conference on Systems. Man, and Cybernetics (SMC), pp. 2567–2572. IEEE, Banff, AB, Canada (2017)

    Google Scholar 

  15. Sukhwani, H., Martínez, J.M., Chang, X., Trivedi, K.S., Rindos, A.: Performance modeling of PBFT consensus process for permissioned blockchain network (hyperledger fabric). In: 36th Symposium on Reliable Distributed Systems (SRDS), pp. 253–255. IEEE, Hong Kong, China (2017)

    Google Scholar 

  16. Huang, D., Ma, X., Zhang, S.: Performance analysis of the raft consensus algorithm for private blockchains. IEEE Trans. Syst. Man Cybern. Syst. 50(1), 172–181 (2020)

    Article  Google Scholar 

  17. Hao, Y., Li, Y., Dong, X., Fang, L., Chen, P.: Performance analysis of consensus algorithm in private blockchain. In: Intelligent Vehicles Symposium(IV), pp. 280–285. IEEE, Changshu, Suzhou, China (2018)

    Google Scholar 

  18. Wang, R., Zhang, L., Xu, Q., Zhou, H.: K-bucket based raft-like consensus algorithm for permissioned blockchain. In: 25th International Conference on Parallel and Distributed Systems (ICPADS), pp. 996–999. IEEE, Tianjin, China (2019)

    Google Scholar 

  19. Fu, W., Wei, X., Tong, S.: An improved blockchain consensus algorithm based on Raft. Arabian J. Sci. Eng. 46, 8137–8149 (2021)

    Article  Google Scholar 

  20. Ongaro, D., Ousterhout, J.: In search of an understandable consensus algorithm. In: Proceedings of the 2014 USENIX Conference on USENIX Annual Technical Conference. p. 305–320. USENIX ATC 2014, USENIX Association, USA (2014)

    Google Scholar 

  21. Hyperledger Caliper (2020). https://hyperledger.github.io/caliper/

Download references

Acknowledgments

This work was supported by the Natural Science Foundation of Shandong Province in China under grant ZR2020MF032.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Fanchao Meng .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Piao, X., Li, M., Meng, F., Song, H. (2022). Latency Analysis for Raft Consensus on Hyperledger Fabric. In: Svetinovic, D., Zhang, Y., Luo, X., Huang, X., Chen, X. (eds) Blockchain and Trustworthy Systems. BlockSys 2022. Communications in Computer and Information Science, vol 1679. Springer, Singapore. https://doi.org/10.1007/978-981-19-8043-5_12

Download citation

  • DOI: https://doi.org/10.1007/978-981-19-8043-5_12

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-19-8042-8

  • Online ISBN: 978-981-19-8043-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics