Skip to main content
Top
Published in: Empirical Software Engineering 2/2023

01-03-2023

What makes Ethereum blockchain transactions be processed fast or slow? An empirical study

Authors: Michael Pacheco, Gustavo A. Oliva, Gopi Krishnan Rajbahadur, Ahmed E. Hassan

Published in: Empirical Software Engineering | Issue 2/2023

Log in

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

search-config
loading …

Abstract

The Ethereum platform allows developers to implement and deploy applications called ÐApps onto the blockchain for public use through the use of smart contracts. To execute code within a smart contract, a paid transaction must be issued towards one of the functions that are exposed in the interface of a contract. However, such a transaction is only processed once one of the miners in the peer-to-peer network selects it, adds it to a block, and appends that block to the blockchain This creates a delay between transaction submission and code execution. It is crucial for ÐApp developers to be able to precisely estimate when transactions will be processed, since this allows them to define and provide a certain Quality of Service (QoS) level (e.g., 95% of the transactions processed within 1 minute). However, the impact that different factors have on these times have not yet been studied. Processing time estimation services are used by ÐApp developers to achieve predefined QoS. Yet, these services offer minimal insights into what factors impact processing times. Considering the vast amount of data that surrounds the Ethereum blockchain, changes in processing times are hard for ÐApp developers to predict, making it difficult to maintain said QoS. In our study, we build random forest models to understand the factors that are associated with transaction processing times. We engineer several features that capture blockchain internal factors, as well as gas pricing behaviors of transaction issuers. By interpreting our models, we conclude that features surrounding gas pricing behaviors are very strongly associated with transaction processing times. Based on our empirical results, we provide ÐApp developers with concrete insights that can help them provide and maintain high levels of QoS.

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

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!

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+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!

Appendix
Available only for authorised users
Literature
go back to reference Aniche M, Maziero E, Durelli R, Durelli V (2020) The effectiveness of supervised machine learning algorithms in predicting software refactoring. IEEE Transactions on Software Engineering Aniche M, Maziero E, Durelli R, Durelli V (2020) The effectiveness of supervised machine learning algorithms in predicting software refactoring. IEEE Transactions on Software Engineering
go back to reference Ante L (2021) How elon musk’s twitter activity moves cryptocurrency markets. Advertising & Marketing Law eJournal Ante L (2021) How elon musk’s twitter activity moves cryptocurrency markets. Advertising & Marketing Law eJournal
go back to reference Bergstra J, Bengio Y (2012) Random search for hyper-parameter optimization. J Mach Learn Res 13(2):281–305MathSciNetMATH Bergstra J, Bengio Y (2012) Random search for hyper-parameter optimization. J Mach Learn Res 13(2):281–305MathSciNetMATH
go back to reference Bird C, Nagappan N, Murphy B, Gall H, Devanbu P (2011) Don’t touch my code! examining the effects of ownership on software quality Bird C, Nagappan N, Murphy B, Gall H, Devanbu P (2011) Don’t touch my code! examining the effects of ownership on software quality
go back to reference Boslaugh S, Watters PA (2008) Statistics in a nutshell - a desktop quick reference Boslaugh S, Watters PA (2008) Statistics in a nutshell - a desktop quick reference
go back to reference Chen T, Li X, Luo X, Zhang X (2017) Under-optimized smart contracts devour your money. In: 2017 IEEE 24Th international conference on software analysis, evolution and reengineering, SANER, IEEE, pp 442-446 Chen T, Li X, Luo X, Zhang X (2017) Under-optimized smart contracts devour your money. In: 2017 IEEE 24Th international conference on software analysis, evolution and reengineering, SANER, IEEE, pp 442-446
go back to reference de Azevedo Sousa JE, Oliveira V, Valadares J, Dias Gonçalves G, Moraes Villela S, Soares Bernardino H, Borges Vieira A (2021) An analysis of the fees and pending time correlation in ethereum. International Journal of Network Management 31(3), https://doi.org/10.1002/nem.2113 de Azevedo Sousa JE, Oliveira V, Valadares J, Dias Gonçalves G, Moraes Villela S, Soares Bernardino H, Borges Vieira A (2021) An analysis of the fees and pending time correlation in ethereum. International Journal of Network Management 31(3), https://​doi.​org/​10.​1002/​nem.​2113
go back to reference Esteves G, Figueiredo E, Veloso A, Viggiato M, Ziviani N (2020) Understanding machine learning software defect predictions. Autom Softw Eng 27(3):369–392CrossRef Esteves G, Figueiredo E, Veloso A, Viggiato M, Ziviani N (2020) Understanding machine learning software defect predictions. Autom Softw Eng 27(3):369–392CrossRef
go back to reference Graham B, Zweig J (2003) The intelligent investor: Revised 1972 Ed. HarperCollins Graham B, Zweig J (2003) The intelligent investor: Revised 1972 Ed. HarperCollins
go back to reference Harrell F (2015) Regression Modeling Strategies with Applications to Linear Models, Logistic and Ordinal Regression, and Survival Analysis, 2nd edn. Springer Harrell F (2015) Regression Modeling Strategies with Applications to Linear Models, Logistic and Ordinal Regression, and Survival Analysis, 2nd edn. Springer
go back to reference Jakobsson M, Juels A (1999) Proofs of work and bread pudding protocols. In: Proceedings of the IFIP TC6/TC11 Joint Working Conference on Secure Information Networks: Communications and Multimedia Security, Kluwer, B.V., Deventer, The Netherlands, The Netherlands, CMS ’99, pp 258–272 Jakobsson M, Juels A (1999) Proofs of work and bread pudding protocols. In: Proceedings of the IFIP TC6/TC11 Joint Working Conference on Secure Information Networks: Communications and Multimedia Security, Kluwer, B.V., Deventer, The Netherlands, The Netherlands, CMS ’99, pp 258–272
go back to reference Jiarpakdee J, Tantithamthavorn CK, Grundy J (2021) Practitioners’ perceptions of the goals and visual explanations of defect prediction models. In: 2021 IEEE/ACM 18Th international conference on mining software repositories, MSR, IEEE, pp 432-443 Jiarpakdee J, Tantithamthavorn CK, Grundy J (2021) Practitioners’ perceptions of the goals and visual explanations of defect prediction models. In: 2021 IEEE/ACM 18Th international conference on mining software repositories, MSR, IEEE, pp 432-443
go back to reference Kaiser L (2019) Seasonality in cryptocurrencies. Finance Research Letters, 31 Kaiser L (2019) Seasonality in cryptocurrencies. Finance Research Letters, 31
go back to reference Kondo M, Oliva GA, Jiang ZMJ, Hassan AE, Mizuno O (2020) Code cloning in smart contracts: a case study on verified contracts from the ethereum blockchain platform. Empir Softw Eng 25(6):4617–4675CrossRef Kondo M, Oliva GA, Jiang ZMJ, Hassan AE, Mizuno O (2020) Code cloning in smart contracts: a case study on verified contracts from the ethereum blockchain platform. Empir Softw Eng 25(6):4617–4675CrossRef
go back to reference Lee D, Rajbahadur GK, Lin D, Sayagh M, Bezemer CP, Hassan AE (2020) An empirical study of the characteristics of popular minecraft mods. Empir Softw Eng 25(5):3396–3429CrossRef Lee D, Rajbahadur GK, Lin D, Sayagh M, Bezemer CP, Hassan AE (2020) An empirical study of the characteristics of popular minecraft mods. Empir Softw Eng 25(5):3396–3429CrossRef
go back to reference Liu Y, Lu Y, Nayak K, Zhang F, Zhang L, Zhao Y (2022) Empirical analysis of eip-1559: Transaction fees, waiting time, and consensus security. arXiv:220105574 Liu Y, Lu Y, Nayak K, Zhang F, Zhang L, Zhao Y (2022) Empirical analysis of eip-1559: Transaction fees, waiting time, and consensus security. arXiv:220105574
go back to reference Lundberg SM, Lee SI (2017) A unified approach to interpreting model predictions. In: Proceedings of the 31st International Conference on Neural Information Processing Systems, Curran Associates Inc., Red Hook, NY, USA, NIPS’17, pp 4768–4777 Lundberg SM, Lee SI (2017) A unified approach to interpreting model predictions. In: Proceedings of the 31st International Conference on Neural Information Processing Systems, Curran Associates Inc., Red Hook, NY, USA, NIPS’17, pp 4768–4777
go back to reference Lundberg SM, Erion GG, Lee SI (2018) Consistent individualized feature attribution for tree ensembles. arXiv:180203888 Lundberg SM, Erion GG, Lee SI (2018) Consistent individualized feature attribution for tree ensembles. arXiv:180203888
go back to reference Lyu Y, Rajbahadur GK, Lin D, Chen B, Jiang ZM (2021) Towards a consistent interpretation of aiops models. ACM Trans Soft Eng Methodol (TOSEM) 31(1):1–38 Lyu Y, Rajbahadur GK, Lin D, Chen B, Jiang ZM (2021) Towards a consistent interpretation of aiops models. ACM Trans Soft Eng Methodol (TOSEM) 31(1):1–38
go back to reference Marchesi L, Marchesi M, Destefanis G, Barabino G, Tigano D (2020) Design patterns for gas optimization in ethereum. In: 2020 IEEE International workshop on blockchain oriented software engineering (IWBOSE), IEEE, pp 9-15 Marchesi L, Marchesi M, Destefanis G, Barabino G, Tigano D (2020) Design patterns for gas optimization in ethereum. In: 2020 IEEE International workshop on blockchain oriented software engineering (IWBOSE), IEEE, pp 9-15
go back to reference Molnar C (2020) Interpretable machine learning. Lulu Molnar C (2020) Interpretable machine learning. Lulu
go back to reference Nishida K, Yamauchi K (2007) Detecting concept drift using statistical testing. In: International conference on discovery science, Springer, pp 264–269 Nishida K, Yamauchi K (2007) Detecting concept drift using statistical testing. In: International conference on discovery science, Springer, pp 264–269
go back to reference Oliva GA, Hassan AE (2021) The gas triangle and its challenges to the development of blockchain-powered applications. In: Proceedings of the 29th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering, pp 1463–1466 Oliva GA, Hassan AE (2021) The gas triangle and its challenges to the development of blockchain-powered applications. In: Proceedings of the 29th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering, pp 1463–1466
go back to reference Oliva GA, Hassan AE, Jiang ZMJ (2020) An exploratory study of smart contracts in the ethereum blockchain platform. Empir Softw Eng 25(3):1864–1904CrossRef Oliva GA, Hassan AE, Jiang ZMJ (2020) An exploratory study of smart contracts in the ethereum blockchain platform. Empir Softw Eng 25(3):1864–1904CrossRef
go back to reference Oliveira VC, Almeida Valadares J, A Sousa JE, Borges Vieira A, Bernardino HS, Moraes Villela S, Dias Goncalves G (2021) Analyzing transaction confirmation in ethereum using machine learning techniques. SIGMETRICS Perform Eval Rev 48(4):12–15. Oliveira VC, Almeida Valadares J, A Sousa JE, Borges Vieira A, Bernardino HS, Moraes Villela S, Dias Goncalves G (2021) Analyzing transaction confirmation in ethereum using machine learning techniques. SIGMETRICS Perform Eval Rev 48(4):12–15.
go back to reference Pacheco M, Oliva GA, Rajbahadur GK, Hassan AE (2022) Is my transaction done yet? an empirical study of transaction processing times in the ethereum blockchain platform. ACM Transactions on Software Engineering and Methodology Pacheco M, Oliva GA, Rajbahadur GK, Hassan AE (2022) Is my transaction done yet? an empirical study of transaction processing times in the ethereum blockchain platform. ACM Transactions on Software Engineering and Methodology
go back to reference Pierro GA, Rocha H (2019) The influence factors on ethereum transaction fees. In: 2019 IEEE/ACM 2Nd international workshop on emerging trends in software engineering for blockchain, WETSEB, IEEE. pp 24-31 Pierro GA, Rocha H (2019) The influence factors on ethereum transaction fees. In: 2019 IEEE/ACM 2Nd international workshop on emerging trends in software engineering for blockchain, WETSEB, IEEE. pp 24-31
go back to reference Pierro GA, Rocha H, Ducasse S, Marchesi M, Tonelli R (2022) A user-oriented model for oracles’ gas price prediction. Futur Gener Comput Syst 128:142–157CrossRef Pierro GA, Rocha H, Ducasse S, Marchesi M, Tonelli R (2022) A user-oriented model for oracles’ gas price prediction. Futur Gener Comput Syst 128:142–157CrossRef
go back to reference Rajbahadur GK, Wang S, Ansaldi G, Kamei Y, Hassan AE (2021) The impact of feature importance methods on the interpretation of defect classifiers. IEEE Transactions on Software Engineering Rajbahadur GK, Wang S, Ansaldi G, Kamei Y, Hassan AE (2021) The impact of feature importance methods on the interpretation of defect classifiers. IEEE Transactions on Software Engineering
go back to reference Ribeiro MT, Singh S, Guestrin C (2016) “why should i trust you?”: Explaining the predictions of any classifier. In: Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Association for Computing Machinery, New York, NY, USA, KDD ’16, pp 1135–1144, https://doi.org/10.1145/2939672.2939778 Ribeiro MT, Singh S, Guestrin C (2016) “why should i trust you?”: Explaining the predictions of any classifier. In: Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Association for Computing Machinery, New York, NY, USA, KDD ’16, pp 1135–1144, https://​doi.​org/​10.​1145/​2939672.​2939778
go back to reference Romano J, Kromrey J, Coraggio J, Skowronek J (2006) Appropriate statistics for ordinal level data: Should we really be using t-test and Cohen’sd for evaluating group differences on the NSSE and other surveys?. In: Annual meeting of the Florida Association of Institutional Research, pp 1–3 Romano J, Kromrey J, Coraggio J, Skowronek J (2006) Appropriate statistics for ordinal level data: Should we really be using t-test and Cohen’sd for evaluating group differences on the NSSE and other surveys?. In: Annual meeting of the Florida Association of Institutional Research, pp 1–3
go back to reference Scott AJ, Knott M (1974) A cluster analysis method for grouping means in the analysis of variance. Biometrics 30(3):507–512CrossRefMATH Scott AJ, Knott M (1974) A cluster analysis method for grouping means in the analysis of variance. Biometrics 30(3):507–512CrossRefMATH
go back to reference Signer C (2018) Gas cost analysis for ethereum smart contracts. Master’s thesis, ETH Zurich, Department of Computer Science Signer C (2018) Gas cost analysis for ethereum smart contracts. Master’s thesis, ETH Zurich, Department of Computer Science
go back to reference Singh HJ, Hafid AS (2020) Prediction of transaction confirmation time in ethereum blockchain using machine learning. In: Prieto J, Das AK, Ferretti S, Pinto A, Corchado JM (eds) Blockchain and applications. Springer International Publishing, Cham, pp 126–133 Singh HJ, Hafid AS (2020) Prediction of transaction confirmation time in ethereum blockchain using machine learning. In: Prieto J, Das AK, Ferretti S, Pinto A, Corchado JM (eds) Blockchain and applications. Springer International Publishing, Cham, pp 126–133
go back to reference Tagra A, Zhang H, Rajbahadur GK, Hassan AE (2022) Revisiting reopened bugs in open source software systems. Empir Softw Eng 27(4):1–34CrossRef Tagra A, Zhang H, Rajbahadur GK, Hassan AE (2022) Revisiting reopened bugs in open source software systems. Empir Softw Eng 27(4):1–34CrossRef
go back to reference Tantithamthavorn C, Hassan AE (2018) An experience report on defect modelling in practice: Pitfalls and challenges. In: Proceedings of the 40th International conference on software engineering: Software engineering in practice, pp 286–295 Tantithamthavorn C, Hassan AE (2018) An experience report on defect modelling in practice: Pitfalls and challenges. In: Proceedings of the 40th International conference on software engineering: Software engineering in practice, pp 286–295
go back to reference Tantithamthavorn C, McIntosh S, Hassan AE, Matsumoto K (2016) An empirical comparison of model validation techniques for defect prediction models. IEEE Trans Softw Eng 43(1):1–18CrossRef Tantithamthavorn C, McIntosh S, Hassan AE, Matsumoto K (2016) An empirical comparison of model validation techniques for defect prediction models. IEEE Trans Softw Eng 43(1):1–18CrossRef
go back to reference Tantithamthavorn CK, Jiarpakdee J (2021) Explainable ai for software engineering. In: 2021 36Th IEEE/ACM international conference on automated software engineering, ASE, IEEE, pp. 1-2 Tantithamthavorn CK, Jiarpakdee J (2021) Explainable ai for software engineering. In: 2021 36Th IEEE/ACM international conference on automated software engineering, ASE, IEEE, pp. 1-2
go back to reference Thongtanunam P, Hassan AE (2020) Review dynamics and their impact on software quality. IEEE Trans Softw Eng 47(12):2698–2712CrossRef Thongtanunam P, Hassan AE (2020) Review dynamics and their impact on software quality. IEEE Trans Softw Eng 47(12):2698–2712CrossRef
go back to reference Viggiato M, Bezemer CP (2020) Trouncing in dota 2: an investigation of blowout matches. In: Proceedings of the AAAI conference on artificial intelligence and interactive digital entertainment, vol 16, pp 294–300 Viggiato M, Bezemer CP (2020) Trouncing in dota 2: an investigation of blowout matches. In: Proceedings of the AAAI conference on artificial intelligence and interactive digital entertainment, vol 16, pp 294–300
go back to reference Werner SM, Pritz PJ, Perez D (2020) Step on the gas? a better approach for recommending the ethereum gas price. In: Mathematical Research for Blockchain Economy, Springer, pp 161–177 Werner SM, Pritz PJ, Perez D (2020) Step on the gas? a better approach for recommending the ethereum gas price. In: Mathematical Research for Blockchain Economy, Springer, pp 161–177
go back to reference Yatish S, Jiarpakdee J, Thongtanunam P, Tantithamthavorn C (2019) Mining software defects: Should we consider affected releases?. In: Proceedings of the 41st international conference on software engineering, IEEE Press, ICSE ’19, pp 654–665, https://doi.org/10.1109/ICSE.2019.00075 Yatish S, Jiarpakdee J, Thongtanunam P, Tantithamthavorn C (2019) Mining software defects: Should we consider affected releases?. In: Proceedings of the 41st international conference on software engineering, IEEE Press, ICSE ’19, pp 654–665, https://​doi.​org/​10.​1109/​ICSE.​2019.​00075
go back to reference Zarir AA, Oliva GA, Jiang ZM, Hassan AE (2021) Developing cost-effective blockchain-powered applications: a case study of the gas usage of smart contract transactions in the ethereum blockchain platform. ACM Transactions on Software Engineering and Methodology (TOSEM) 30(3):1–38CrossRef Zarir AA, Oliva GA, Jiang ZM, Hassan AE (2021) Developing cost-effective blockchain-powered applications: a case study of the gas usage of smart contract transactions in the ethereum blockchain platform. ACM Transactions on Software Engineering and Methodology (TOSEM) 30(3):1–38CrossRef
go back to reference Zhang H, Wang S, Chen TH, Zou Y, Hassan AE (2019) An empirical study of obsolete answers on stack overflow. IEEE Trans Softw Eng 47 (4):850–862CrossRef Zhang H, Wang S, Chen TH, Zou Y, Hassan AE (2019) An empirical study of obsolete answers on stack overflow. IEEE Trans Softw Eng 47 (4):850–862CrossRef
go back to reference Zou W, Lo D, Kochhar PS, Le XBD, Xia X, Feng Y, Chen Z, Xu B (2019) Smart contract development: Challenges and opportunities. IEEE Trans Softw Eng 47(10):2084–2106 Zou W, Lo D, Kochhar PS, Le XBD, Xia X, Feng Y, Chen Z, Xu B (2019) Smart contract development: Challenges and opportunities. IEEE Trans Softw Eng 47(10):2084–2106
Metadata
Title
What makes Ethereum blockchain transactions be processed fast or slow? An empirical study
Authors
Michael Pacheco
Gustavo A. Oliva
Gopi Krishnan Rajbahadur
Ahmed E. Hassan
Publication date
01-03-2023
Publisher
Springer US
Published in
Empirical Software Engineering / Issue 2/2023
Print ISSN: 1382-3256
Electronic ISSN: 1573-7616
DOI
https://doi.org/10.1007/s10664-022-10283-7

Other articles of this Issue 2/2023

Empirical Software Engineering 2/2023 Go to the issue

Premium Partner