Smart Contract Parallel Execution with Fine-Grained State Accesses

被引:2
|
作者
Qi, Xiaodong [1 ]
Jiao, Jiao [1 ]
Li, Yi [1 ]
机构
[1] Nanyang Technol Univ, Singapore 639798, Singapore
基金
新加坡国家研究基金会;
关键词
Parallel execution; smart contract; blockchain; DATABASE;
D O I
10.1109/ICDCS57875.2023.00068
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
As various optimizations being proposed recently, the performance of blockchains is no longer limited by the consensus protocols, successfully scaling to thousands of transactions per second. To further improve blockchains' throughput, exploiting the parallelism in smart contract executions becomes a clear solution to resolve the new performance bottleneck. The existing techniques perform concurrency control on smart contract transactions based on pre-determined read/write sets, which can hardly be calculated precisely. As a result, many parallelization opportunities are missed in order to maintain the correctness of transaction executions. In this paper, we propose a novel execution scheduling framework, DMVCC, to further increase the parallelism in smart contract executions, via more fine-grained control on state accesses. DMVCC improves over existing techniques with two key features: (1) write versioning, eliminating the write-write conflicts between transactions, and (2) early-write visibility, enabling other transactions to read the writes from a transaction earlier, before it being committed. We integrated DMVCC into the Ethereum Virtual Machine, to evaluate its performance in real-world blockchain environments. The experimental results show that DMVCC doubles the parallel speedup achievable to a 20x overall speedup, compared with the serial execution baseline, approaching the theoretical optimum.
引用
收藏
页码:841 / 852
页数:12
相关论文
共 50 条
  • [1] Dynamic Fine-Grained Sparse Memory Accesses
    Akin, Berkin
    Chou, Chiachen
    Park, Jongsoo
    Hughes, Christopher J.
    Agarwal, Rajat
    PROCEEDINGS OF THE INTERNATIONAL SYMPOSIUM ON MEMORY SYSTEMS (MEMSYS 2018), 2018, : 85 - 97
  • [2] A Fine-grained Parallel Snappy Decompressor for FPGAs Using a Relaxed Execution Model
    Fang, Jian
    Chen, Jianyu
    Lee, Jinho
    Al-Ars, Zaid
    Hofstee, H. Peter
    2019 27TH IEEE ANNUAL INTERNATIONAL SYMPOSIUM ON FIELD-PROGRAMMABLE CUSTOM COMPUTING MACHINES (FCCM), 2019, : 335 - 335
  • [3] Parallel and Asynchronous Smart Contract Execution
    Liu, Jian
    Li, Peilun
    Cheng, Raymond
    Asokan, N.
    Song, Dawn
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2022, 33 (05) : 1097 - 1108
  • [4] GuessGas: Tell Me Fine-Grained Gas Consumption of My Smart Contract and Why
    Huang, Qing
    Chen, Renxiong
    Xing, Zhenchang
    Zeng, Jinshan
    Lu, Qinghua
    Xu, Xiwei
    IEEE TRANSACTIONS ON RELIABILITY, 2024, : 1 - 15
  • [5] SFAC:A Smart Contract-Based Fine-Grained Access Control for Internet of Things
    Chai, Baobao
    Yan, Biwei
    Dong, Anming
    Yu, Jiguo
    2020 INTERNATIONAL CONFERENCE ON IDENTIFICATION, INFORMATION AND KNOWLEDGE IN THE INTERNET OF THINGS (IIKI2020), 2021, 187 : 335 - 340
  • [6] Fine-grained parallel boundary elements
    Davies, AJ
    ENGINEERING ANALYSIS WITH BOUNDARY ELEMENTS, 1997, 19 (01) : 13 - 16
  • [7] FINE-GRAINED PARALLEL GENETIC ALGORITHMS
    MANDERICK, B
    SPIESSENS, P
    PROCEEDINGS OF THE THIRD INTERNATIONAL CONFERENCE ON GENETIC ALGORITHMS, 1989, : 428 - 433
  • [8] Fine-grained parallel boundary elements
    Univ of Hertfordshire, Hatfield, United Kingdom
    Eng Anal Boundary Elem, 1 (13-16):
  • [9] Shreds: Fine-grained Execution Units with Private Memory
    Chen, Yaohui
    Reymondjohnson, Sebassujeen
    Sun, Zhichuang
    Lu, Long
    2016 IEEE SYMPOSIUM ON SECURITY AND PRIVACY (SP), 2016, : 56 - 71
  • [10] Compositional Symbolic Execution using Fine-Grained Summaries
    Lin, Yude
    Miller, Tim
    Sondergaard, Harald
    2015 24TH AUSTRALASIAN SOFTWARE ENGINEERING CONFERENCE (ASWEC 2015), 2015, : 213 - 222