Utilizing Parallelism in Smart Contracts on Decentralized Blockchains by Taming Application-Inherent Conflicts
Fri 13 May 2022 03:15 - 03:20 at ICSE room 2-odd hours - Evaluation and Performance Chair(s): Massimiliano Di Penta
Traditional public blockchain systems typically had very limited transaction throughput because of the bottleneck of the consensus protocol itself. With recent advances in consensus technology, the performance limit has been greatly lifted, typically to thousands of transactions per second. With this, transaction execution has become a new performance bottleneck. Exploiting parallelism in transaction execution is a clear and direct way to address this and to further increase transaction throughput. Although some recent literature introduced concurrency control mechanisms to execute smart contract transactions in parallel, the reported speedup that they can achieve is far from ideal. The main reason is that the proposed parallel execution mechanisms cannot effectively deal with the conflicts inherent in many blockchain applications.
In this work, we thoroughly study the historical transaction execution traces in Ethereum. We observe that application-inherent conflicts are the major factors that limit the exploitable parallelism during execution. We propose to use partitioned counters and special commutative instructions to break up the application conflict chains in order to maximize the potential speedup. When we evaluated the maximum parallel speedup achievable, these techniques doubled this limit to an 18x overall speedup compared to serial execution, thus approaching the optimum. We also propose OCC-DA, an optimistic concurrency control scheduler with deterministic aborts, which makes it possible to use OCC scheduling in public blockchain settings.
Thu 12 MayDisplayed time zone: Eastern Time (US & Canada) change
21:00 - 22:00 | Parallel Distributed and Concurrent SystemsTechnical Track / NIER - New Ideas and Emerging Results at ICSE room 3-odd hours Chair(s): Jean-Guy Schneider Deakin University | ||
21:00 5mTalk | A Case for Microservices Orchestration Using Workflow Engines NIER - New Ideas and Emerging Results DOI Pre-print | ||
21:05 5mTalk | Terminals All the Way Down NIER - New Ideas and Emerging Results Michael MacInnis Carleton University, Canada, Olga Baysal Carleton University, Michele Lanza Software Institute - USI, Lugano DOI Pre-print Media Attached | ||
21:10 5mTalk | Utilizing Parallelism in Smart Contracts on Decentralized Blockchains by Taming Application-Inherent Conflicts Technical Track Péter Garamvölgyi Shanghai Tree-Graph Blockchain Research Institute, Yuxi Liu Duke University, Dong Zhou Tsinghua University, Fan Long Shanghai Tree-Graph Blockchain Research Institute, Ming Wu Shanghai Tree-Graph Blockchain Research Institute DOI Pre-print Media Attached |