Blockchain State Sharding With Space-Aware Representations

被引:23
作者
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 条
  • [1] Al-Bassam M., 2018, 2018 NETWORK DISTRIB, P1
  • [2] Statistical mechanics of complex networks
    Albert, R
    Barabási, AL
    [J]. REVIEWS OF MODERN PHYSICS, 2002, 74 (01) : 47 - 97
  • [3] Channels: Horizontal Scaling and Confidentiality on Permissioned Blockchains
    Androulaki, Elli
    Cachin, Christian
    De Caro, Angelo
    Kokoris-Kogias, Eleftherios
    [J]. COMPUTER SECURITY (ESORICS 2018), PT I, 2018, 11098 : 111 - 131
  • [4] [Anonymous], 2017, CISCO VISUAL NETWORK
  • [5] [Anonymous], 2020, ETHEREUM SECURE DECE
  • [6] [Anonymous], 2018, SHARDING FAQ
  • [7] [Anonymous], 2009, METIS UNSTRUCTURED G
  • [8] Beigel R., 1993, Proceedings of the Eighth Annual Structure in Complexity Theory Conference (Cat. No.93CH3281-3), P82, DOI 10.1109/SCT.1993.336538
  • [9] SPACE/TIME TRADE/OFFS IN HASH CODING WITH ALLOWABLE ERRORS
    BLOOM, BH
    [J]. COMMUNICATIONS OF THE ACM, 1970, 13 (07) : 422 - &
  • [10] Chen T, 2018, IEEE INFOCOM SER, P1484, DOI 10.1109/INFOCOM.2018.8486401