Practical smart contract sharding with ownership and commutativity analysis
Practical smart contract sharding with ownership and commutativity analysis
复制标题
具有所有权和交换性分析的实用智能合约分片
DOI:
--
复制
发表时间:
2021
期刊:
影响因子:
--
通讯作者:
Ilya Sergey
中科院分区:
文献类型:
--
作者:
George Pîrlea;Amrit Kumar;Ilya Sergey
Sharding is a popular way to achieve scalability in blockchain protocols, increasing their throughput by partitioning the set of transaction validators into a number of smaller committees, splitting the workload. Existing approaches for blockchain sharding, however, do not scale well when concurrent transactions alter the same replicated state component—a common scenario in Ethereum-style smart contracts. We propose a novel approach for efficiently sharding such transactions. It is based on a folklore idea: state-manipulating atomic operations that commute can be processed in parallel, with their cumulative result defined deterministically, while executing non-commuting operations requires one to own the state they alter. We present CoSplit—a static program analysis tool that soundly infers ownership and commutativity summaries for smart contracts and translates those summaries to sharding signatures that are used by the blockchain protocol to maximise parallelism. Our evaluation shows that using CoSplit introduces negligible overhead to the transaction validation cost, while the inferred signatures allow the system to achieve a significant increase in transaction processing throughput for real-world smart contracts.
影响因子:
--
作者:
Kaki, Gowtham;Priya, Swarn;Sivaramakrishnan, KC;Jagannathan, Suresh
通讯作者:
Jagannathan, Suresh