Deferred Objects to Enhance Smart Contract Programming with Optimistic Parallel Execution
<|reference_start|>Deferred Objects to Enhance Smart Contract Programming with Optimistic Parallel Execution: One of the main bottlenecks of blockchains is smart contract execution. To increase throughput, modern blockchains try to execute transactions in parallel. Unfortunately, however, common blockchain use cases introduce read-write conflicts between transactions, forcing sequentiality.   We propose RapidLane, an extension for parallel execution engines that allows the engine to capture computations in conflicting parts of transactions and defer their execution until a later time, sometimes optimistically predicting execution results. This technique, coupled with support for a new construct for smart contract languages, allows one to turn certain sequential workloads into parallelizable ones.   We integrated RapidLane into Block-STM, a state-of-the-art parallel execution engine used by several blockchains in production, and deployed it on the Aptos blockchain. Our evaluation shows that on commonly contended workloads, such as peer-to-peer transfers with a single fee payer and NFT minting, RapidLane yields up to $12\times$ more throughput.<|reference_end|>
@article{mitenkov2024deferred,
    title={Deferred Objects to Enhance Smart Contract Programming with Optimistic
  Parallel Execution},
    author={George Mitenkov, Igor Kabiljo, Zekun Li, Alexander Spiegelman,
  Satyanarayana Vusirikala, Zhuolun Xiang, Aleksandar Zlateski, Nuno P. Lopes
  and Rati Gelashvili},
    journal={arXiv preprint arXiv:2405.06117},
    year={2024},
    archivePrefix={arXiv},
    eprint={2405.06117},
    primaryClass={cs.DC}
}