Cargando…

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

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 o...

Descripción completa

Detalles Bibliográficos
Autores principales: Pacheco, Michael, Oliva, Gustavo A., Rajbahadur, Gopi Krishnan, Hassan, Ahmed E.
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Springer US 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9896448/
https://www.ncbi.nlm.nih.gov/pubmed/36776918
http://dx.doi.org/10.1007/s10664-022-10283-7
_version_ 1784882053166137344
author Pacheco, Michael
Oliva, Gustavo A.
Rajbahadur, Gopi Krishnan
Hassan, Ahmed E.
author_facet Pacheco, Michael
Oliva, Gustavo A.
Rajbahadur, Gopi Krishnan
Hassan, Ahmed E.
author_sort Pacheco, Michael
collection PubMed
description 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.
format Online
Article
Text
id pubmed-9896448
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher Springer US
record_format MEDLINE/PubMed
spelling pubmed-98964482023-02-06 What makes Ethereum blockchain transactions be processed fast or slow? An empirical study Pacheco, Michael Oliva, Gustavo A. Rajbahadur, Gopi Krishnan Hassan, Ahmed E. Empir Softw Eng Article 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. Springer US 2023-02-03 2023 /pmc/articles/PMC9896448/ /pubmed/36776918 http://dx.doi.org/10.1007/s10664-022-10283-7 Text en © The Author(s), under exclusive licence to Springer Science+Business Media, LLC, part of Springer Nature 2023, 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. This article is made available via the PMC Open Access Subset for unrestricted research re-use and secondary analysis in any form or by any means with acknowledgement of the original source. These permissions are granted for the duration of the World Health Organization (WHO) declaration of COVID-19 as a global pandemic.
spellingShingle Article
Pacheco, Michael
Oliva, Gustavo A.
Rajbahadur, Gopi Krishnan
Hassan, Ahmed E.
What makes Ethereum blockchain transactions be processed fast or slow? An empirical study
title What makes Ethereum blockchain transactions be processed fast or slow? An empirical study
title_full What makes Ethereum blockchain transactions be processed fast or slow? An empirical study
title_fullStr What makes Ethereum blockchain transactions be processed fast or slow? An empirical study
title_full_unstemmed What makes Ethereum blockchain transactions be processed fast or slow? An empirical study
title_short What makes Ethereum blockchain transactions be processed fast or slow? An empirical study
title_sort what makes ethereum blockchain transactions be processed fast or slow? an empirical study
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9896448/
https://www.ncbi.nlm.nih.gov/pubmed/36776918
http://dx.doi.org/10.1007/s10664-022-10283-7
work_keys_str_mv AT pachecomichael whatmakesethereumblockchaintransactionsbeprocessedfastorslowanempiricalstudy
AT olivagustavoa whatmakesethereumblockchaintransactionsbeprocessedfastorslowanempiricalstudy
AT rajbahadurgopikrishnan whatmakesethereumblockchaintransactionsbeprocessedfastorslowanempiricalstudy
AT hassanahmede whatmakesethereumblockchaintransactionsbeprocessedfastorslowanempiricalstudy