Skip to main content
Top
Published in: Peer-to-Peer Networking and Applications 6/2022

16-09-2022

Stochastic performance modeling for practical byzantine fault tolerance consensus in the blockchain

Authors: Fan-Qi Ma, Quan-Lin Li, Yi-Han Liu, Yan-Xia Chang

Published in: Peer-to-Peer Networking and Applications | Issue 6/2022

Log in

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

The practical Byzantine fault tolerant (PBFT) consensus mechanism is one of the most basic consensus algorithms (or protocols) in blockchain technologies. Thus its performance evaluation is an interesting and challenging topic due to the higher complexity of its consensus work in a peer-to-peer network. This study describes a simple stochastic performance model of the PBFT consensus mechanism. This model is refined not only as a queuing system with complicated service times but also as a level-independent quasi-birth-and-death (QBD) process. With regard to the level-independent QBD process, we apply the matrix-geometric solution to obtain the necessary and sufficient condition under which the PBFT consensus system is stable and then numerically compute the stationary probability vector of the QBD process. Thus, we provide four useful performance measures for the PBFT consensus mechanism, and we can numerically calculate these performance measures. Finally, we use numerical examples to verify the validity of our theoretical results and demonstrate how the four performance measures are influenced by certain key parameters of the PBFT consensus. Considering theory of multi-dimensional Markov processes, we are optimistic that the methodology and results presented in this study are applicable to a wide range of PBFT consensus mechanism and even other types of consensus mechanisms.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literature
1.
go back to reference Narayanan A, Bonneau J, Felten E, Miller A, Goldfeder S (2015) Bitcoin and Cryptocurrency Technologies: A Comprehensive Introduction. University Press, Princeton Narayanan A, Bonneau J, Felten E, Miller A, Goldfeder S (2015) Bitcoin and Cryptocurrency Technologies: A Comprehensive Introduction. University Press, Princeton
2.
go back to reference Imran B (2017) Mastering Blockchain: Distributed Ledger Technology, Decentralization, and Smart Contracts Explained. Packt Publishing, Birmingham Imran B (2017) Mastering Blockchain: Distributed Ledger Technology, Decentralization, and Smart Contracts Explained. Packt Publishing, Birmingham
3.
go back to reference Raj K (2019) Foundations of Blockchain: The Pathway to Cryptocurrencies and Decentralized Blockchain Applications. Packt Publishing, Birmingham Raj K (2019) Foundations of Blockchain: The Pathway to Cryptocurrencies and Decentralized Blockchain Applications. Packt Publishing, Birmingham
4.
go back to reference Maleh Y, Shojafar M, Alazab M, Romdhani I (2020) Blockchain for Cybersecurity and Privacy: Architectures, Challenges, and Applications. CRC Press, New YorkCrossRef Maleh Y, Shojafar M, Alazab M, Romdhani I (2020) Blockchain for Cybersecurity and Privacy: Architectures, Challenges, and Applications. CRC Press, New YorkCrossRef
5.
go back to reference Rehan MM, Rehmani MH (2020) Blockchain-Enabled Fog and Edge Computing: Concepts. CRC Press, New York, Architectures and ApplicationsCrossRef Rehan MM, Rehmani MH (2020) Blockchain-Enabled Fog and Edge Computing: Concepts. CRC Press, New York, Architectures and ApplicationsCrossRef
6.
go back to reference Schar F, Berentsen A (2020) Bitcoin, Blockchain, and Cryptoassets: A Comprehensive Introduction. MIT Press, Cambridge Schar F, Berentsen A (2020) Bitcoin, Blockchain, and Cryptoassets: A Comprehensive Introduction. MIT Press, Cambridge
7.
go back to reference Fauziah Z, Latifah H, Omar X, Khoirunisa A, Millah S (2020) Application of blockchain technology in smart contracts: A systematic literature review. Aptisi Transactions on Technopreneurship 2(2):160–166CrossRef Fauziah Z, Latifah H, Omar X, Khoirunisa A, Millah S (2020) Application of blockchain technology in smart contracts: A systematic literature review. Aptisi Transactions on Technopreneurship 2(2):160–166CrossRef
8.
go back to reference Sharma P, Jindal R, Borah MD (2020) Blockchain technology for cloud storage: A systematic literature review. ACM Comput Surv 53(4):1–32CrossRef Sharma P, Jindal R, Borah MD (2020) Blockchain technology for cloud storage: A systematic literature review. ACM Comput Surv 53(4):1–32CrossRef
9.
go back to reference Ekramifard A, Amintoosi H, Seno AH (2020) A systematic literature review of integration of blockchain and artificial intelligence. In: KK C (ed) Blockchain Cybersecurity, Trust and Privacy, Springer, Cham, vol 79, pp 147–160 Ekramifard A, Amintoosi H, Seno AH (2020) A systematic literature review of integration of blockchain and artificial intelligence. In: KK C (ed) Blockchain Cybersecurity, Trust and Privacy, Springer, Cham, vol 79, pp 147–160
10.
go back to reference Dai HN, Zheng Z, Zhang Y (2019) Blockchain for internet of things: A survey. IEEE Internet Things 6(5):8076–8094CrossRef Dai HN, Zheng Z, Zhang Y (2019) Blockchain for internet of things: A survey. IEEE Internet Things 6(5):8076–8094CrossRef
11.
go back to reference Huang H, Kong W, Zhou S, Zheng Z, Guo S (2021) A survey of state-of-theart on blockchains: Theories, modelings, and tools. ACM Comput Surv 54(2):1–42CrossRef Huang H, Kong W, Zhou S, Zheng Z, Guo S (2021) A survey of state-of-theart on blockchains: Theories, modelings, and tools. ACM Comput Surv 54(2):1–42CrossRef
15.
go back to reference Chaudhry N, Yousaf MM (2018) Consensus algorithms in blockchain: Comparative analysis, challenges and opportunities. Paper presented at Proceedings of the 12th International Conference on Open Source Systems and Technologies,Lahore, Pakistan, 19–21 December 2018 Chaudhry N, Yousaf MM (2018) Consensus algorithms in blockchain: Comparative analysis, challenges and opportunities. Paper presented at Proceedings of the 12th International Conference on Open Source Systems and Technologies,Lahore, Pakistan, 19–21 December 2018
16.
go back to reference Nguyen GT, Kim K (2018) A survey about consensus algorithms used in blockchain. J Inf Process Syst 14(1):101–128 Nguyen GT, Kim K (2018) A survey about consensus algorithms used in blockchain. J Inf Process Syst 14(1):101–128
18.
go back to reference Wang W, Hoang DT, Hu P (2019) A survey on consensus mechanisms and mining strategy management in blockchain networks. IEEE Access 7:22328–22370CrossRef Wang W, Hoang DT, Hu P (2019) A survey on consensus mechanisms and mining strategy management in blockchain networks. IEEE Access 7:22328–22370CrossRef
19.
go back to reference Pahlajani S, Kshirsagar A, Pachghare V (2019) Survey on private blockchain consensus algorithms. Paper presented at Proceedings of the 1st International Conference on Innovations in Information and Communication Technology, Chennai, India, 25–26 April 2019 Pahlajani S, Kshirsagar A, Pachghare V (2019) Survey on private blockchain consensus algorithms. Paper presented at Proceedings of the 1st International Conference on Innovations in Information and Communication Technology, Chennai, India, 25–26 April 2019
20.
go back to reference Carrara GR, Burle LM, Medeiros DS (2020) Consistency, availability, and partition tolerance in blockchain: a survey on the consensus mechanism over peer-to-peer networking. Ann Telecommun 75(3):163–174CrossRef Carrara GR, Burle LM, Medeiros DS (2020) Consistency, availability, and partition tolerance in blockchain: a survey on the consensus mechanism over peer-to-peer networking. Ann Telecommun 75(3):163–174CrossRef
21.
go back to reference Wan S, Li M, Liu G, Wang C (2020) Recent advances in consensus protocols for blockchain: a survey. Wirel Netw 26(8):5579–5593CrossRef Wan S, Li M, Liu G, Wang C (2020) Recent advances in consensus protocols for blockchain: a survey. Wirel Netw 26(8):5579–5593CrossRef
22.
go back to reference Xiao Y, Zhang N, Lou W, Hou YT (2020) A survey of distributed consensus protocols for blockchain networks. IEEE Commun Surv Tut 22(2):1432–1465CrossRef Xiao Y, Zhang N, Lou W, Hou YT (2020) A survey of distributed consensus protocols for blockchain networks. IEEE Commun Surv Tut 22(2):1432–1465CrossRef
24.
go back to reference Nijsse J, Litchfield A (2020) A taxonomy of blockchain consensus methods. Cryptography 4(4):32CrossRef Nijsse J, Litchfield A (2020) A taxonomy of blockchain consensus methods. Cryptography 4(4):32CrossRef
26.
go back to reference Khamar J, Patel H (2021) An extensive survey on consensus mechanisms for blockchain technology. In: Kotecha K (ed) Data Science and Intelligent Applications, Springer, Singapore, vol 52, pp 363–374 Khamar J, Patel H (2021) An extensive survey on consensus mechanisms for blockchain technology. In: Kotecha K (ed) Data Science and Intelligent Applications, Springer, Singapore, vol 52, pp 363–374
27.
go back to reference Lamport L, Shostak R, Pease M (1982) The byzantine generals problem. ACM T Progr Lang Sys 4(3):382–401CrossRefMATH Lamport L, Shostak R, Pease M (1982) The byzantine generals problem. ACM T Progr Lang Sys 4(3):382–401CrossRefMATH
29.
go back to reference Martin JP, Alvisi L (2006) Fast byzantine consensus. IEEE T Depend Secure 3(3):202–215CrossRef Martin JP, Alvisi L (2006) Fast byzantine consensus. IEEE T Depend Secure 3(3):202–215CrossRef
31.
go back to reference Castro M, Liskov B (1999) Practical byzantine fault tolerance. Paper presented at Proceedings of the Third Symposium on Operating Systems Design and Implementation, New Orleans, USA, 22 February 1999 Castro M, Liskov B (1999) Practical byzantine fault tolerance. Paper presented at Proceedings of the Third Symposium on Operating Systems Design and Implementation, New Orleans, USA, 22 February 1999
32.
go back to reference Castro M, Liskov B (2002) Practical byzantine fault tolerance and proactive recovery. ACM T Comput Syst 20(4):398–461CrossRef Castro M, Liskov B (2002) Practical byzantine fault tolerance and proactive recovery. ACM T Comput Syst 20(4):398–461CrossRef
33.
go back to reference Li QL, Ma JY, Chang YX (2019a) Blockchain queue theory. In: Chen X (ed) Computational Data and Social Networks, Springer, Cham, vol 11280, pp 25–40 Li QL, Ma JY, Chang YX (2019a) Blockchain queue theory. In: Chen X (ed) Computational Data and Social Networks, Springer, Cham, vol 11280, pp 25–40
34.
go back to reference Li QL, Ma JY, Chang YX, Ma FQ (2019) Markov processes in blockchain systems. Computational Social Networks 6(1):1–28CrossRef Li QL, Ma JY, Chang YX, Ma FQ (2019) Markov processes in blockchain systems. Computational Social Networks 6(1):1–28CrossRef
35.
go back to reference Veronese GS, Correia M, Bessani AN (2011) Efficient byzantine fault-tolerance. IEEE T Comput 62(1):16–30 Veronese GS, Correia M, Bessani AN (2011) Efficient byzantine fault-tolerance. IEEE T Comput 62(1):16–30
38.
go back to reference Hao X, Yu L, Liu Z, Zhen L (2018) Dynamic practical byzantine fault tolerance. Paper presented at Proceedings of The 2018 IEEE Conference on Communications and Network Security, Beijing, China, 30 May-1 June 2018 Hao X, Yu L, Liu Z, Zhen L (2018) Dynamic practical byzantine fault tolerance. Paper presented at Proceedings of The 2018 IEEE Conference on Communications and Network Security, Beijing, China, 30 May-1 June 2018
39.
go back to reference Gueta GG, Abraham I, Grossman S (2019) Sbft: a scalable and decentralized trust infrastructure. Paper presented at Proceedings of The 49th Annual IEEE/IFIP International Conference on Dependable Systems and Networks, Portland, USA, 24-27 June 2019 Gueta GG, Abraham I, Grossman S (2019) Sbft: a scalable and decentralized trust infrastructure. Paper presented at Proceedings of The 49th Annual IEEE/IFIP International Conference on Dependable Systems and Networks, Portland, USA, 24-27 June 2019
40.
go back to reference Malkhi D, Nayak K, Ren L (2019) Flexible byzantine fault tolerance. Paper presented at Proceedings of the 2019 ACM SIGSAC Conference on Computer and Communications Security, London, United Kingdom, 06 November 2019 Malkhi D, Nayak K, Ren L (2019) Flexible byzantine fault tolerance. Paper presented at Proceedings of the 2019 ACM SIGSAC Conference on Computer and Communications Security, London, United Kingdom, 06 November 2019
42.
go back to reference Sakho S, Zhang J, Essaf F (2020) Research on an improved practical byzantine fault tolerance algorithm. Paper presented at Proceedings of The 2nd International Conference on Advances in Computer Technology, Information Science and Communications, Suzhou, China, 20-22 March 2020 Sakho S, Zhang J, Essaf F (2020) Research on an improved practical byzantine fault tolerance algorithm. Paper presented at Proceedings of The 2nd International Conference on Advances in Computer Technology, Information Science and Communications, Suzhou, China, 20-22 March 2020
45.
go back to reference Stifter N, Judmayer A, Weippl E (2019) Revisiting practical byzantine fault tolerance through blockchain technologies. In: Biffl S (ed) Security and Quality in Cyber-Physical Systems Engineering. Springer, Cham, pp 471–495CrossRef Stifter N, Judmayer A, Weippl E (2019) Revisiting practical byzantine fault tolerance through blockchain technologies. In: Biffl S (ed) Security and Quality in Cyber-Physical Systems Engineering. Springer, Cham, pp 471–495CrossRef
46.
go back to reference Smetanin S, Ometov A, Komarov M (2020) Blockchain evaluation approaches: State-of-the-art and future perspective. Sensors-Basel 20(12):3358CrossRef Smetanin S, Ometov A, Komarov M (2020) Blockchain evaluation approaches: State-of-the-art and future perspective. Sensors-Basel 20(12):3358CrossRef
47.
go back to reference Fan C, Ghaemi S, Khazaei H (2020) Performance evaluation of blockchain systems: A systematic survey. IEEE Access 8:126927–126950CrossRef Fan C, Ghaemi S, Khazaei H (2020) Performance evaluation of blockchain systems: A systematic survey. IEEE Access 8:126927–126950CrossRef
48.
go back to reference Gobel J, Keeler HP, Krzesinski AE (2016) Bitcoin blockchain dynamics: The selfish-mine strategy in the presence of propagation delay. Perform Evaluation 104:23–41CrossRef Gobel J, Keeler HP, Krzesinski AE (2016) Bitcoin blockchain dynamics: The selfish-mine strategy in the presence of propagation delay. Perform Evaluation 104:23–41CrossRef
49.
51.
go back to reference Nayak K, Kumar S, Miller A (2016) Stubborn mining: Generalizing selfish mining and combining with an eclipse attack. Paper presented at Proceedings of The 2016 IEEE European Symposium on Security and Privacy, Saarbruecken, Germany, 21-24 March 2016 Nayak K, Kumar S, Miller A (2016) Stubborn mining: Generalizing selfish mining and combining with an eclipse attack. Paper presented at Proceedings of The 2016 IEEE European Symposium on Security and Privacy, Saarbruecken, Germany, 21-24 March 2016
52.
go back to reference Kiffer L, Rajaraman R, Shelat A (2016) A better method to analyze blockchain consistency. Paper presented at Proceedings of the 2018 ACM SIGSAC Conference on Computer and Communications Security, Toronto, Canada, 15 October 2018 Kiffer L, Rajaraman R, Shelat A (2016) A better method to analyze blockchain consistency. Paper presented at Proceedings of the 2018 ACM SIGSAC Conference on Computer and Communications Security, Toronto, Canada, 15 October 2018
53.
go back to reference Huang D, Ma X, Zhang S (2019) Performance analysis of the raft consensus algorithm for private blockchains. IEEE T Syst Man Cy A 50(1):172–181CrossRef Huang D, Ma X, Zhang S (2019) Performance analysis of the raft consensus algorithm for private blockchains. IEEE T Syst Man Cy A 50(1):172–181CrossRef
54.
go back to reference Carlsten M (2016) The impact of transaction fees on bitcoin mining strategies. University Press, Princeton Carlsten M (2016) The impact of transaction fees on bitcoin mining strategies. University Press, Princeton
55.
go back to reference Bai Q, Zhou X, Wang X, Xu Y (2019) A deep dive into blockchain selfish mining. Paper presented at Proceedings of The 2019 IEEE International Conference on Communications, Shanghai, China, 20-24 May 2019 Bai Q, Zhou X, Wang X, Xu Y (2019) A deep dive into blockchain selfish mining. Paper presented at Proceedings of The 2019 IEEE International Conference on Communications, Shanghai, China, 20-24 May 2019
56.
go back to reference Li Y, Cao B, Peng M, Zhang L, Feng D, Yu J (2020) Direct acyclic graph-based ledger for internet of things: Performance and security analysis. IEEE ACM T Network 28(4):1643–1656CrossRef Li Y, Cao B, Peng M, Zhang L, Feng D, Yu J (2020) Direct acyclic graph-based ledger for internet of things: Performance and security analysis. IEEE ACM T Network 28(4):1643–1656CrossRef
57.
go back to reference Li Y, Cao B, Liang D, Zhang L (2021) Block access control in wireless blockchain network: Design, modeling and analysis. IEEE T Veh Technol 9(70):9258–9272CrossRef Li Y, Cao B, Liang D, Zhang L (2021) Block access control in wireless blockchain network: Design, modeling and analysis. IEEE T Veh Technol 9(70):9258–9272CrossRef
58.
go back to reference Gopalan A, Sankararaman A, Walid A (2020) Stability and scalability of blockchain systems. Proc ACM Meas Anal Comput Syst 4(2):1–35CrossRef Gopalan A, Sankararaman A, Walid A (2020) Stability and scalability of blockchain systems. Proc ACM Meas Anal Comput Syst 4(2):1–35CrossRef
59.
go back to reference Papadis N, Borst S, Walid A (2018) Stochastic models and wide-area network measurements for blockchain design and analysis. Paper presented at IEEE INFOCOM 2018-IEEE Conference on Computer Communications, Honolulu, USA, 16-19 April 2018 Papadis N, Borst S, Walid A (2018) Stochastic models and wide-area network measurements for blockchain design and analysis. Paper presented at IEEE INFOCOM 2018-IEEE Conference on Computer Communications, Honolulu, USA, 16-19 April 2018
60.
go back to reference Geissler S, Prantl T, Lange S (2019) Discrete-time analysis of the blockchain distributed ledger technology. Paper presented at the 31st International Teletraffic Congress, Budapest, Hungary, 27-29 August 2019 Geissler S, Prantl T, Lange S (2019) Discrete-time analysis of the blockchain distributed ledger technology. Paper presented at the 31st International Teletraffic Congress, Budapest, Hungary, 27-29 August 2019
61.
go back to reference Mišić J, Mišić V, Chang XL (2020) Performance of bitcoin network with synchronizing nodes and a mix of regular and compact blocks. IEEE T Netw Sci Eng 7(4):3135–3147MathSciNetCrossRef Mišić J, Mišić V, Chang XL (2020) Performance of bitcoin network with synchronizing nodes and a mix of regular and compact blocks. IEEE T Netw Sci Eng 7(4):3135–3147MathSciNetCrossRef
62.
go back to reference Fang M, Liu J (2020) Toward low-cost and stable blockchain networks. Paper presented at the 2020 IEEE International Conference on Communications, Dublin, Ireland, 7-11 June 2020 Fang M, Liu J (2020) Toward low-cost and stable blockchain networks. Paper presented at the 2020 IEEE International Conference on Communications, Dublin, Ireland, 7-11 June 2020
64.
go back to reference Varma SM, Maguluri ST (2021) Throughput optimal routing in blockchain based payment systemsor nonlinear systems of partial differential equations. IEEE T Control Netw 4(8):1859–1868CrossRef Varma SM, Maguluri ST (2021) Throughput optimal routing in blockchain based payment systemsor nonlinear systems of partial differential equations. IEEE T Control Netw 4(8):1859–1868CrossRef
66.
go back to reference Neuts MF (1981) Matrix-Geometric Solutions in Stochastic Models: An Algorithmic Approach. Library of Congress Cataloging in Publication data, BaltimoreMATH Neuts MF (1981) Matrix-Geometric Solutions in Stochastic Models: An Algorithmic Approach. Library of Congress Cataloging in Publication data, BaltimoreMATH
67.
go back to reference Li QL (2010) Constructive Computation in Stochastic Models with Applications: The RG-Factorizations. Springer, New YorkCrossRef Li QL (2010) Constructive Computation in Stochastic Models with Applications: The RG-Factorizations. Springer, New YorkCrossRef
Metadata
Title
Stochastic performance modeling for practical byzantine fault tolerance consensus in the blockchain
Authors
Fan-Qi Ma
Quan-Lin Li
Yi-Han Liu
Yan-Xia Chang
Publication date
16-09-2022
Publisher
Springer US
Published in
Peer-to-Peer Networking and Applications / Issue 6/2022
Print ISSN: 1936-6442
Electronic ISSN: 1936-6450
DOI
https://doi.org/10.1007/s12083-022-01380-x

Other articles of this Issue 6/2022

Peer-to-Peer Networking and Applications 6/2022 Go to the issue

Premium Partner