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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
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)
Hyperledger fabric (2020). https://hyperledger-fabric.readthedocs.io/
Nakamoto, S.: Bitcoin: a peer-to-peer electronic cash system. Decentralized Business Review, p. 21260 (2008)
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)
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)
Javaid, H., et al.: Blockchain machine: a network-attached hardware accelerator for hyperledger fabric. Distributed, Parallel, and Cluster Computing, CoRR arXiv:2104.06968 (2021)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
Fu, W., Wei, X., Tong, S.: An improved blockchain consensus algorithm based on Raft. Arabian J. Sci. Eng. 46, 8137–8149 (2021)
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)
Hyperledger Caliper (2020). https://hyperledger.github.io/caliper/
Acknowledgments
This work was supported by the Natural Science Foundation of Shandong Province in China under grant ZR2020MF032.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
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)