TY - JOUR
T1 - Scaling Blockchain via Layered Sharding
AU - Hong, Zicong
AU - Guo, Song
AU - Li, Peng
N1 - Funding Information:
This work was supported in part by the Key-Area Research and Development Program of Guangdong Province under Grant 2021B0101400003; in part by the Hong Kong Research Grants Council (RGC) Research Impact Fund (RIF) under Project R5060-19; in part by the General Research Fund (GRF) under Project 152221/19E, Project 152203/20E, and Project 152244/21E; in part by the National Natural Science Foundation of China under Grant 61872310; in part by the Shenzhen Science and Technology Innovation Commission under Grant JCYJ20200109142008673; and in part by the Japan Society for the Promotion of Science (JSPS) KAKENHI under Grant 21H03424.
Publisher Copyright:
© 1983-2012 IEEE.
PY - 2022/10/1
Y1 - 2022/10/1
N2 - As a promising solution to blockchain scalability, sharding divides blockchain nodes into small groups called shards, splitting the workload. Existing works for sharding, however, are limited by cross-shard transactions, since they need to split each cross-shard transaction into multiple sub-transactions, each of which costs a consensus round to commit. In this paper, we introduce PYRAMID, a novel sharding system based on the idea of layered sharding. In PYRAMID, the nodes with better hardware are allowed to participate in multiple shards and store the blockchains of these shards thus they can validate and execute the cross-shard transactions without splitting. Next, to commit the cross-shard transactions with consistency among the related shards, we design a cooperative cross-shard consensus based on collective signature-based inter-shard collaboration. Furthermore, we present an optimization framework to compute an optimal layered sharding strategy maximizing the transaction throughput with the constraint of system security and node resource. Finally, we implement a prototype for PYRAMID based on Ethereum and the experimental results reveal the efficiency of PYRAMID in terms of performance and scalability, especially in workloads with a high percentage of cross-shard transactions. PYRAMID improves the throughput by up to 3.2 times compared with the state-of-the-art works and achieves about 3821 transaction per seconds for 20 shards.
AB - As a promising solution to blockchain scalability, sharding divides blockchain nodes into small groups called shards, splitting the workload. Existing works for sharding, however, are limited by cross-shard transactions, since they need to split each cross-shard transaction into multiple sub-transactions, each of which costs a consensus round to commit. In this paper, we introduce PYRAMID, a novel sharding system based on the idea of layered sharding. In PYRAMID, the nodes with better hardware are allowed to participate in multiple shards and store the blockchains of these shards thus they can validate and execute the cross-shard transactions without splitting. Next, to commit the cross-shard transactions with consistency among the related shards, we design a cooperative cross-shard consensus based on collective signature-based inter-shard collaboration. Furthermore, we present an optimization framework to compute an optimal layered sharding strategy maximizing the transaction throughput with the constraint of system security and node resource. Finally, we implement a prototype for PYRAMID based on Ethereum and the experimental results reveal the efficiency of PYRAMID in terms of performance and scalability, especially in workloads with a high percentage of cross-shard transactions. PYRAMID improves the throughput by up to 3.2 times compared with the state-of-the-art works and achieves about 3821 transaction per seconds for 20 shards.
KW - Blockchain
KW - cross-shard transactions
KW - scalability
KW - sharding
UR - http://www.scopus.com/inward/record.url?scp=85140735919&partnerID=8YFLogxK
U2 - 10.1109/JSAC.2022.3213350
DO - 10.1109/JSAC.2022.3213350
M3 - Journal article
AN - SCOPUS:85140735919
SN - 0733-8716
VL - 40
SP - 3575
EP - 3588
JO - IEEE Journal on Selected Areas in Communications
JF - IEEE Journal on Selected Areas in Communications
IS - 12
ER -