TY - GEN
T1 - Achieving Scalability and Load Balance across Blockchain Shards for State Sharding
AU - Li, Canlin
AU - Huang, Huawei
AU - Zhao, Yetong
AU - Peng, Xiaowen
AU - Yang, Ruijie
AU - Zheng, Zibin
AU - Guo, Song
N1 - Funding Information:
This work is partially supported by fundings from Key-Area Research and Development Program of Guangdong Province (No. 2021B0101400003), NSFC (No. 61902445), the Key-Area Research and Development Program of Shandong Province (No. 2021CXGC010108), Technology Program of Guangzhou, China (No. 202103050004), and CCF-Huawei Populus euphratica forest fund (CCF-HuaweiBC2021004).
Publisher Copyright:
© 2022 IEEE.
PY - 2022/9
Y1 - 2022/9
N2 - Sharding technique is viewed as the most promising solution to improving blockchain scalability. However, to implement a sharded blockchain, developers have to address two major challenges. The first challenge is that the ratio of cross-shard transactions (TXs) across blockchain shards is very high. This issue significantly degrades the throughput of a blockchain. The second challenge is that the workloads across blockchain shards are largely imbalanced. If workloads are imbalanced, some shards have to handle an overwhelming number of TXs and become congested very possibly. Facing these two challenges, a dilemma is that it is difficult to guarantee a low cross-shard TX ratio and maintain the workload balance across all shards, simultaneously. We believe that a fine-grained account-allocation strategy can address this dilemma. To this end, we first formulate the tradeoff between such two metrics as a network-partition problem. We then solve this problem using a community-aware account partition algorithm. Furthermore, we also propose a sharding protocol, named Transformers, to apply the proposed algorithm into the sharded blockchain system. Finally, trace-driven evaluation results demonstrate that the proposed protocol outperforms other baselines in terms of throughput, latency, cross-shard TX ratio, and the queue size of transaction pool.
AB - Sharding technique is viewed as the most promising solution to improving blockchain scalability. However, to implement a sharded blockchain, developers have to address two major challenges. The first challenge is that the ratio of cross-shard transactions (TXs) across blockchain shards is very high. This issue significantly degrades the throughput of a blockchain. The second challenge is that the workloads across blockchain shards are largely imbalanced. If workloads are imbalanced, some shards have to handle an overwhelming number of TXs and become congested very possibly. Facing these two challenges, a dilemma is that it is difficult to guarantee a low cross-shard TX ratio and maintain the workload balance across all shards, simultaneously. We believe that a fine-grained account-allocation strategy can address this dilemma. To this end, we first formulate the tradeoff between such two metrics as a network-partition problem. We then solve this problem using a community-aware account partition algorithm. Furthermore, we also propose a sharding protocol, named Transformers, to apply the proposed algorithm into the sharded blockchain system. Finally, trace-driven evaluation results demonstrate that the proposed protocol outperforms other baselines in terms of throughput, latency, cross-shard TX ratio, and the queue size of transaction pool.
UR - http://www.scopus.com/inward/record.url?scp=85146338209&partnerID=8YFLogxK
U2 - 10.1109/SRDS55811.2022.00034
DO - 10.1109/SRDS55811.2022.00034
M3 - Conference article published in proceeding or book
AN - SCOPUS:85146338209
T3 - Proceedings of the IEEE Symposium on Reliable Distributed Systems
SP - 284
EP - 294
BT - Proceedings - 41st International Symposium on Reliable Distributed Systems, SRDS 2022
PB - IEEE Computer Society
T2 - 41st International Symposium on Reliable Distributed Systems, SRDS 2022
Y2 - 19 September 2022 through 22 September 2022
ER -