【24h】

Load Balancing for Sharded Blockchains

机译:分片区块链的负载平衡

获取原文

摘要

Sharding is an approach to designing a highly scalable blockchain. A sharded blockchain achieves parallelism by dividing consensus nodes (validators) into groups called shards and making them process different transactions in each shard. In this paper, we economically analyze users' behavior on sharded blockchains and identify a phenomenon that users' accounts and smart contracts eventually get concentrated in a few shards, making shard loads unfair. This phenomenon leads to bad user experiences, such as delays in transaction inclusions and increased transaction fees. To solve the above problem, we propose a load balancing framework in sharded blockchains in which accounts and contracts are frequently reassigned to shards to reduce the difference of loads between shards. We formulate the contract reassignment as an optimization problem and present the algorithm to solve it. Further, we apply the framework to an existing sharding design (Ethereum 2.0) and modify the protocol to do load balancing. Finally, we simulate the protocol and observe smaller transaction delays and fees.
机译:分片是一种设计高度可伸缩区块的方法。分叉区块链通过将共识节点(验证器)分成名为Shards的组并使它们处理每个碎片中的不同事务来实现并行性。在本文中,我们经济地分析了被分级的区块链的用户行为,并确定了用户账户和智能合约最终集中在几碎片中的现象,使碎片负荷不公平。这种现象导致用户体验不良,例如交易夹杂物的延迟和增加的交易费用。为了解决上述问题,我们提出了一个负载平衡框架,以分布的区块链,其中经常重新分配帐户和合同以减少碎片之间的负载差异。我们将合同重新分配作为优化问题,并呈现该算法来解决它。此外,我们将框架应用于现有的分片设计(Ethereum 2.0)并修改协议以进行负载平衡。最后,我们模拟了协议并观察较小的交易延迟和费用。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号