Skip to main content
Log in

CPU power and network bandwidth-aware optimal block size computation for blockchain-based applications using meta-heuristic algorithms

  • Published:
The Journal of Supercomputing Aims and scope Submit manuscript

Abstract

Block size in a permissioned blockchain system plays a huge role in scalability and performance of system. A large number of blocks are continuously disseminated into the network and hence it becomes important to study the effect of block size in a decentralized peer-to-peer network. The scalability of the system is the biggest concern. Scalability is a metric that refers to the ability of the system to increase or balance its performance depending upon the load and the processing demands on the system. The success of any blockchain-based application is dependent on the size of block used. Block size governs the time required to transmit a block (block transmission time) and the rate at which the unconfirmed transactions are verified (transaction pool clearance time). Block size also acts as a factor in ordering the blocks in the chain and dictates the performance and security of the system. This paper presents simulation analysis of the influence of block size on blockchain and the role of network bandwidth-aware optimal block size on the performance of the blockchain system. Nature-inspired algorithms have been used to determine the link between block size and scalability and are used for finding the optimal block size for a Blockchain-based application.

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

Similar content being viewed by others

Data availability

The data that support the findings of this study are openly available in The Yarpiz Project at http://yarpiz.com/category/multiobjective-optimization, reference number [30].

Abbreviations

TT:

Transmission time

TPCT:

Transaction pool clearance time

NTB:

Number of transactions per block

ST:

Size of transaction

MTCT:

Merkle tree construction time

PBO:

Per block overhead

ToT:

Total number of transactions in pool

BM:

Bandwidth of miner

NTMT:

Number of transactions in merkle tree

DLT:

Distributed ledger technology

MOPSO:

Multi-objective particle swarm optimization

PESA:

Pareto envelope-based selection algorithm

SPEA:

Strength pareto evolutionary algorithm

MOAP-NIA:

Multi-objective anti-predatory nature-inspired algorithm

References

  1. Androulaki Elli et al. (2018) Hyperledger fabric: a distributed operating system for permissioned blockchains. In: Proceedings of the thirteenth EuroSys conference

  2. Zia MF et al (2020) Microgrid transactive energy: review, architectures, distributed ledger technologies, and market analysis. IEEE Access 8:19410–19432

    Article  Google Scholar 

  3. Singh N, Vardhan M (2019) Distributed ledger technology based property transaction system with support for IoT devices. Int J Cloud Appl Comput (IJCAC) 9(2):60–78

    Google Scholar 

  4. Singh N, Vardhan M (2019) Digital ledger technology-based real estate transaction mechanism and its block size assessment. Int J Blockchains Cryptocurrencies 1(1):67–84

    Article  MathSciNet  Google Scholar 

  5. Jacobovitz Ori (2016) Blockchain for identity management. The lynne and william frankel center for computer science department of computer science. Ben-Gurion University, Beer Sheva

  6. Guo Ye, Liang C (2016) Blockchain application and outlook in the banking industry. Financ Innov 2(1):1–12

    Article  MathSciNet  Google Scholar 

  7. Nakamoto Satoshi (2008) Bitcoin: A peer-to-peer electronic cash system. Decentralized business review: 21260

  8. Ahram T et al. (2017) Blockchain technology innovations. In: 2017 IEEE technology and engineering management conference (TEMSCON). IEEE

  9. Hilda Meldrum B (2016) Introduction. In: Brown HM (ed) The quest for the Gesamtkunstwerk and richard wagner. Oxford University Press, pp 1–14. https://doi.org/10.1093/acprof:oso/9780199325436.003.0001

    Chapter  Google Scholar 

  10. Schwartz D, Youngs N, Britto A (2014) The ripple protocol consensus algorithm. Ripple Labs Inc White Paper 5(8):151

    Google Scholar 

  11. Zhou Q et al (2020) Solutions to scalability of blockchain: a survey. IEEE Access 8:16440–16455. https://doi.org/10.1109/ACCESS.2020.2967218

    Article  Google Scholar 

  12. Zheng Zibin et al. (2017) An overview of blockchain technology: Architecture, consensus, and future trends. In: 2017 IEEE international congress on big data (BigData congress). IEEE

  13. Heidari A, Jamali MAJ, Navimipour NJ, Akbarpour S (2022) Deep Q-learning technique for offloading offline/online computation in blockchain-enabled green IoT-Edge scenarios. Appl Sci 12(16):8232. https://doi.org/10.3390/app12168232

    Article  Google Scholar 

  14. Cao M, Wang H, Yuan T, Kun X, Lei K, Wang J (2022) Meta-regulation: adaptive adjustment to block size and creation interval for blockchain systems. IEEE J Select Areas Commun 40(12):3702–3718. https://doi.org/10.1109/JSAC.2022.3213338

    Article  Google Scholar 

  15. Chen J, Cheng Y, Zhiqi X, Cao Y (2023) Decision on block size in blockchain systems by evolutionary equilibrium analysis. Theor Comput Sci 942:93–106. https://doi.org/10.1016/j.tcs.2022.11.026

    Article  MathSciNet  MATH  Google Scholar 

  16. Min Xinping et al. (2016) A permissioned blockchain framework for supporting instant transaction and dynamic block size. In: 2016 IEEE Trustcom/BigDataSE/ISPA. IEEE

  17. Beheshti Z, Shamsuddin SMH (2013) A review of population-based meta-heuristic algorithms. Int J Adv Soft Comput Appl 5(1):1–35

    Google Scholar 

  18. Kumar V, Minz S (2014) Multi-objective particle swarm optimization: an introduction. SmartCR 4(5):335–353

    Article  Google Scholar 

  19. Kumar, S Rohit, KD Singh (2021) Nature-inspired optimization algorithms: research direction and survey. arXiv preprint arXiv:2102.04013

  20. Göbel J, AE Krzesinski (2017) Increased block size and Bitcoin blockchain dynamics. In: 2017 27th international telecommunication networks and applications conference (ITNAC). IEEE

  21. Croman Kyle et al. (2016) On scaling decentralized blockchains. In: international conference on financial cryptography and data security. Springer, Berlin, Heidelberg

  22. Li C, Zhang J, Yang X (2022) Scalable blockchain storage mechanism based on two-layer structure and improved distributed consensus. J Supercomput 78(4):4850–4881

    Article  Google Scholar 

  23. Aste T, Tasca P, Di Matteo T (2017) Blockchain technologies: the foreseeable impact on society and industry. Computer 50(9):18–28. https://doi.org/10.1109/MC.2017.3571064

    Article  Google Scholar 

  24. Stark Josh (2016) Making sense of blockchain smart contracts. Coindesk Com

  25. Dorri A, Kanhere SS, Raja J (2017) Towards an optimized blockchain for IoT. In: 2017 IEEE/ACM second international conference on internet-of-things design and implementation (IoTDI). IEEE

  26. Eyal I et al. (2016) {Bitcoin-NG}: A scalable Blockchain protocol. In: 13th USENIX symposium on networked systems design and implementation (NSDI 16)

  27. Weber I et al. (2017) On availability for blockchain-based systems. In: 2017 IEEE 36th symposium on reliable distributed systems (SRDS). IEEE

  28. Scherer M (2017) Performance and scalability of blockchain networks and smart contracts

  29. Venter Gerhard (2010) Review of optimization techniques

  30. Singh N, Kumar T, Vardhan M (2021) Blockchain-based e-cheque clearing framework with trust based consensus mechanism. Cluster Comput 24:851–865. https://doi.org/10.1007/s10586-020-03163-6

    Article  Google Scholar 

  31. Szydlo M (2004) Merkle tree traversal in log space and time. In: Cachin C, Camenisch JL (eds) Advances in cryptology-techniques 2004. Springer, Berlin, Heidelberg, pp 541–554. https://doi.org/10.1007/978-3-540-24676-3_32

    Chapter  MATH  Google Scholar 

  32. Andola N et al (2022) Searchable encryption on the cloud: a survey. J Supercomput 78(7):1–33

    Article  Google Scholar 

  33. Singh N, Vardhan M (2020) Computing optimal block size for blockchain based applications with contradictory objectives. Procedia Comput Sci 171:1389–1398

    Article  Google Scholar 

  34. MOPSO, SPEA-2 and PESA-II Codes, http://yarpiz.com/category/multiobjective-optimization

  35. Knowles JD, Corne DW (2000) Approximating the nondominated front using the pareto archived evolution strategy. Evol Comput 8(2):149–172

    Article  Google Scholar 

  36. Eckart Z, Laumanns M, Thiele L (2001) SPEA2: improving the strength pareto evolutionary algorithm. TIK-report 103

  37. Corne DW, Knowles JD, Oates MJ (2000) The Pareto envelope-based selection algorithm for multiobjective optimization. In: International Conference on Parallel Problem Solving from Nature. Springer, Berlin, Heidelberg

  38. Coello CAC, Pulido GT, Lechuga MS (2004) Handling multiple objectives with particle swarm optimization. IEEE Trans Evol Comput 8(3):256–279. https://doi.org/10.1109/TEVC.2004.826067

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Contributions

Author 1: NS: Conceived and designed the manuscript, collected and contributed data, prepared Figs. 1, 2, 3, 4, 5, 6, performed the analysis, wrote and reviewed the manuscript.

Corresponding author

Correspondence to Nikita Singh.

Ethics declarations

Conflict of interest

No known competing financial interests or personal relationships exist that could influence the work reported in this research paper.

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

Singh, N. CPU power and network bandwidth-aware optimal block size computation for blockchain-based applications using meta-heuristic algorithms. J Supercomput 79, 14063–14078 (2023). https://doi.org/10.1007/s11227-023-05210-6

Download citation

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11227-023-05210-6

Keywords

Navigation