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 条
  • [21] A fast and high quality multilevel scheme for partitioning irregular graphs
    Karypis, G
    Kumar, V
    [J]. SIAM JOURNAL ON SCIENTIFIC COMPUTING, 1998, 20 (01) : 359 - 392
  • [22] OmniLedger: A Secure, Scale-Out, Decentralized Ledger via Sharding
    Kokoris-Kogias, Eleftherios
    Jovanovic, Philipp
    Gasser, Linus
    Gailly, Nicolas
    Syta, Ewa
    Ford, Bryan
    [J]. 2018 IEEE SYMPOSIUM ON SECURITY AND PRIVACY (SP), 2018, : 583 - 598
  • [23] Blockchain-Enabled E-Voting
    Kshetri, Nir
    Voas, Jeffrey
    [J]. IEEE SOFTWARE, 2018, 35 (04) : 95 - 99
  • [24] LESHKOWITZ M, 2020, P IEEE INT C BLOCKCH, P1
  • [25] Optimizing Bloom Filter: Challenges, Solutions, and Comparisons
    Luo, Lailong
    Guo, Deke
    Ma, Richard T. B.
    Rottenstreich, Ori
    Luo, Xueshan
    [J]. IEEE COMMUNICATIONS SURVEYS AND TUTORIALS, 2019, 21 (02): : 1912 - 1949
  • [26] A Secure Sharding Protocol For Open Blockchains
    Luu, Loi
    Narayanan, Viswesh
    Zheng, Chaodong
    Baweja, Kunal
    Gilbert, Seth
    Saxena, Prateek
    [J]. CCS'16: PROCEEDINGS OF THE 2016 ACM SIGSAC CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY, 2016, : 17 - 30
  • [27] Maymounkov P, 2002, LECT NOTES COMPUT SC, V2429, P53
  • [28] Membrey Peter., 2010, The Definitive Guide to MongoDB: the noSQL Database for Cloud and Desktop Computing
  • [29] Nakamoto S., 2009, BITCOIN PEER TO PEER
  • [30] OptChain: Optimal Transactions Placement for Scalable Blockchain Sharding
    Nguyen, Lan N.
    Nguyen, Truc D. T.
    Dinh, Thang N.
    Thai, My T.
    [J]. 2019 39TH IEEE INTERNATIONAL CONFERENCE ON DISTRIBUTED COMPUTING SYSTEMS (ICDCS 2019), 2019, : 525 - 535