计算机科学
可扩展性
分布式计算
工作量
活泼
块链
排队
数据库事务
分拆(数论)
计算机网络
国家(计算机科学)
延迟(音频)
事务处理
吞吐量
数据库
操作系统
计算机安全
算法
组合数学
无线
电信
数学
出处
期刊:IEEE Transactions on Network and Service Management
[Institute of Electrical and Electronics Engineers]
日期:2023-09-01
卷期号:20 (3): 2817-2829
标识
DOI:10.1109/tnsm.2023.3236433
摘要
State sharding is a promising approach to address the scalability issue in the blockchain system. However, the previous sharding schemes using the fixed data partitioning mechanism bring high proportion of costly cross-shard transactions and cannot effectively handle the workload imbalance that occurs in practice, which slows down the performance. To address these issues, we propose EFSHARD, an efficient state sharding blockchain system that enables allocating states flexibly and timely across shards according to recent transactions. Firstly, we propose a hierarchical state partition to enable flexible mapping of states to shards. Second, we design a new state transfer protocol to efficiently migrate states across shards while guaranteeing consistency and liveness. Then, we provide a greedy-based state allocation algorithm to decide when and how to migrate states. The allocation mechanism groups highly correlated state data into the same shard to reduce the proportion of cross-shard transactions and distributes state data to shards with relatively low load to balance workload, thus improving the performance. In the end, we conduct extensive experiments to evaluate EFSHARD and the results demonstrate that EFSHARD outperforms state-of-the-art approaches in terms of transaction throughput, confirmation latency, workload balance, and queue size of transaction pool.
科研通智能强力驱动
Strongly Powered by AbleSci AI