Blockchain State Sharding With Space-Aware Representations

被引:31
作者
Mizrahi, Avi [1 ]
Rottenstreich, Ori [1 ,2 ]
机构
[1] Technion, Dept Comp Sci, IL-3200003 Haifa, Israel
[2] Technion, Dept Elect Engn, IL-3200003 Haifa, Israel
来源
IEEE TRANSACTIONS ON NETWORK AND SERVICE MANAGEMENT | 2021年 / 18卷 / 02期
关键词
Bitcoin; Databases; Consensus protocol; Smart contracts; Scalability; Blockchain; memory sharding; algorithms;
D O I
10.1109/TNSM.2020.3031355
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
State sharding is a common solution to the scalability problem in blockchain systems, allowing nodes to hold a partial view of the system state. With sharding, the processing of a transaction might not be completed locally within a node and potentially requires involvement of multiple shards. Such cross-shards transactions have a negative impact on system performance and are frequent with traditional state partition solutions which are often based on a simple mapping of data into shards. By locating together parts of the system state accessed by frequent transactions, the amount of cross-shard transactions can be reduced. On the other hand, the representation of such particular mappings can be memory intensive. In this article, we study traffic-aware sharding that can be described in memory-efficient mappings. We first survey existing mapping schemes in common blockchains. We indicate the tradeoff between the size of the mapping of data to shards and the required transaction processing time and suggest algorithms for finding memory-light sharding of low cross-shard rate. We generalize the approach towards an efficient incremental computation of shards and probabilistic representation of the mapping to shards. We examine the efficiency of the solutions and the required frequency of sharding computation based on real information of the Ethereum network.
引用
收藏
页码:1571 / 1583
页数:13
相关论文
共 39 条
[11]   Spanner: Google's Globally Distributed Database [J].
Corbett, James C. ;
Dean, Jeffrey ;
Epstein, Michael ;
Fikes, Andrew ;
Frost, Christopher ;
Furman, J. J. ;
Ghemawat, Sanjay ;
Gubarev, Andrey ;
Heiser, Christopher ;
Hochschild, Peter ;
Hsieh, Wilson ;
Kanthak, Sebastian ;
Kogan, Eugene ;
Li, Hongyi ;
Lloyd, Alexander ;
Melnik, Sergey ;
Mwaura, David ;
Nagle, David ;
Quinlan, Sean ;
Rao, Rajesh ;
Rolig, Lindsay ;
Saito, Yasushi ;
Szymaniak, Michal ;
Taylor, Christopher ;
Wang, Ruth ;
Woodford, Dale .
ACM TRANSACTIONS ON COMPUTER SYSTEMS, 2013, 31 (03)
[12]   On Scaling Decentralized Blockchains (A Position Paper) [J].
Croman, Kyle ;
Decker, Christian ;
Eyal, Ittay ;
Gencer, Adem Efe ;
Juels, Ari ;
Kosba, Ahmed ;
Miller, Andrew ;
Saxena, Prateek ;
Shi, Elaine ;
Sirer, Emin Gun ;
Song, Dawn ;
Wattenhofer, Roger .
FINANCIAL CRYPTOGRAPHY AND DATA SECURITY, FC 2016, 2016, 9604 :106-125
[13]   Schism: a Workload-Driven Approach to Database Replication and Partitioning [J].
Curino, Carlo ;
Jones, Evan ;
Zhang, Yang ;
Madden, Sam .
PROCEEDINGS OF THE VLDB ENDOWMENT, 2010, 3 (01) :48-57
[14]  
Das S., 2020, ARXIV200714521
[15]  
Garey M.R., 1974, P 6 ANN ACM S THEORY, P47, DOI DOI 10.1145/800119.803884
[16]   Algorand: Scaling Byzantine Agreements for Cryptocurrencies [J].
Gilad, Yossi ;
Hemo, Rotem ;
Micali, Silvio ;
Vlachos, Georgios ;
Zeldovich, Nickolai .
PROCEEDINGS OF THE TWENTY-SIXTH ACM SYMPOSIUM ON OPERATING SYSTEMS PRINCIPLES (SOSP '17), 2017, :51-68
[17]  
HAERDER T, 1983, COMPUT SURV, V15, P287, DOI 10.1145/289.291
[18]  
Kaplan H., 2017, P EUR S ALG
[19]   A fast and high quality multilevel scheme for partitioning irregular graphs [J].
Karypis, G ;
Kumar, V .
SIAM JOURNAL ON SCIENTIFIC COMPUTING, 1998, 20 (01) :359-392
[20]  
Karypis G., 2009, METIS UNSTRUCTURED G