An Empirical Study of Speculative Concurrency in Ethereum Smart Contracts

Vikram Saraph, Maurice Herlihy, Maria Potop-Butucaru, Sara Tucci-Piergiovanni, Vincent Danos, Maurice Herlihy, Julien Prat
2020 International Conference on Blockchain Economics, Security and Protocols  
We use historical data to estimate the potential benefit of speculative techniques for executing Ethereum smart contracts in parallel. We replay transaction traces of sampled blocks from the Ethereum blockchain over time, using a simple speculative execution engine. In this engine, miners attempt to execute all transactions in a block in parallel, rolling back those that cause data conflicts. Aborted transactions are then executed sequentially. Validators execute the same schedule as miners. We
more » ... find that our speculative technique yields estimated speed-ups starting at about 8-fold in 2016, declining to about 2-fold at the end of 2017, where speed-up is measured using either gas costs or instruction counts. We also observe that a small set of contracts are responsible for many data conflicts resulting from speculative concurrent execution.
doi:10.4230/oasics.tokenomics.2019.4 dblp:conf/tokenomics/SaraphH19 fatcat:ijqcne4zqraj3gihncftx446ce