Read-Uncommitted Transactions for Smart Contract Performance

05/29/2019
by   Victor Cook, et al.
0

Smart contract transactions demonstrate issues of performance and correctness that application programmers must work around. Although the blockchain consensus mechanism approaches ACID compliance, use cases that rely on frequent state changes are impractical due to the block publishing interval of O(10^1) seconds. The effective isolation level is Read-Committed, only revealing state transitions at the end of the block interval. Values read may be stale and not match program order, causing many transactions to fail when a block is committed. This paper perceives the blockchain as a transactional data structure, using this analogy in the development of a new algorithm, Hash-Mark-Set (HMS), that improves transaction throughput by providing a Read-Uncommitted view of state variables. HMS creates a directed acyclic graph (DAG) from the pending transaction pool. The transaction order derived from the DAG is used to provide a Read-Uncommitted view of the data for new transactions, which enter the DAG as they are received. An implementation of HMS is provided, interoperable with Ethereum and ready for use in smart contracts. Over a wide range of transaction mixes, HMS is demonstrated to improve throughput. A side product of the implementation is a new technique, Runtime Argument Augmentation (RAA), that allows smart contracts to communicate with external data services before submitting a transaction. RAA has use cases beyond HMS and can serve as a lightweight replacement for blockchain oracles.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/05/2018

Entitling Concurrency to Smart Contracts Using Optimistic Transactional Memory

Blockchain platforms such as Ethereum and several others execute complex...
research
08/24/2021

Characterizing Transaction-Reverting Statements in Ethereum Smart Contracts

Smart contracts are programs running on blockchain to execute transactio...
research
12/13/2019

Augmenting Fiat Currency with an Integrated Managed Cryptocurrency

In this work, we investigate how the governance features of a managed cu...
research
09/05/2018

An Efficient Framework for Concurrent Execution of Smart Contracts

Distributed public blockchain platform such as ethereum entitle complex ...
research
06/17/2022

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

The Ethereum platform allows developers to implement and deploy applicat...
research
07/19/2019

Blockchain Based Grid Operation Services for Transactive Energy Systems

Transactive Energy Systems (TES) are modern electric power systems that ...
research
05/17/2022

F3B: A Low-Latency Commit-and-Reveal Architecture to Mitigate Blockchain Front-Running

Front-running attacks, which benefit from advanced knowledge of pending ...

Please sign up or login with your details

Forgot password? Click here to reset