论文标题
技术报告:区块链碎片的分析建模和吞吐量计算
Technical Report: Analytical Modeling and Throughput Computation of Blockchain Sharding
论文作者
论文摘要
碎片显示出巨大的扩展区块链的潜力。它将节点分为较小的组,从而可以进行部分交易处理,中继和存储。因此,我们将并行运行多个区块链,而不是运行一个区块链,并将每个区块链称为碎片。由于强制性重复了区块链中的三个资源,即计算,通信和存储,因此可以应用碎片来解决缺点。当今区块链中最紧迫的问题是吞吐量。因此,通常的主要重点是碎片计算,这会导致并发交易处理。在本报告中,我们提出了新的排队理论模型,以得出碎片链的最大吞吐量。我们考虑两种情况,一个完全碎片的区块链和一个计算碎片。在以前的节点中,每个碎片的责任是独有的,即阻塞生产,继电器和存储。不过,在后者中,只有阻止生产是独家产品,节点继电器并存储所有信息。我们使用一个排队网络对每个网络进行建模,该网络利用信号来解释块生产以及多用餐跨碎片交易。我们确保满足模型中每个队列的准可逆性,以便它们属于产品形式排队网络的类别。然后,我们获得了这些系统的最大稳定吞吐量,相对于块大小,块速率,交易中的目的地数量和碎片数量。比较从两个引入的分片系统中获得的结果,我们得出的结论是,不同域中的碎片范围在可伸缩性中起着重要作用。
Sharding has shown great potential to scale out blockchains. It divides nodes into smaller groups which allow for partial transaction processing, relaying and storage. Hence, instead of running one blockchain, we will run multiple blockchains in parallel, and call each one a shard. Sharding can be applied to address shortcomings due to compulsory duplication of three resources in blockchains, i.e., computation, communication and storage. The most pressing issue in blockchains today is throughput. Hence, usually the main focus is to shard computation which leads to concurrent transaction processing. In this report, we propose new queueing-theoretic models to derive the maximum throughput of sharded blockchains. We consider two cases, a fully sharded blockchain and a computation sharding. In the former nodes are exclusive to each shard in terms of their responsibilities, i.e., block production, relaying and storage. In the latter though, only block production is exclusive and nodes relay and store every piece of information. We model each with a queueing network that exploits signals to account for block production as well as multi-destination cross-shard transactions. We make sure quasi-reversibility for every queue in our models is satisfied so that they fall into the category of product-form queueing networks. We then obtain a closed-form solution for the maximum stable throughput of these systems with respect to block size, block rate, number of destinations in transactions and the number of shards. Comparing the results obtained from the two introduced sharding systems, we conclude that the extent of sharding in different domains plays a significant role in scalability.