| 本文已被:浏览 1559次 下载 3775次 |
 码上扫一扫! |
|
|
| 区块链星型分片架构通量模型及应用 |
|
王柯元1,2, 姜鑫1,2, 贾林鹏1,2, 段田田1,2, 孙毅1,2
|
|
1.中国科学院 计算技术研究所, 北京 100190;2.中国科学院大学 计算机科学与技术学院, 北京 100049
|
|
| 摘要: |
| 并行化是区块链扩容方案中最有效的一类方案, 现有的并行化方案可根据网络架构分为星型架构与平行架构两类, 但是当前的研究工作中, 缺少对于星型分片架构方案的性能边界及性能瓶颈影响因素的分析. 因此, 针对不同的星型分片架构方案抽象出了一种通用的区块链星型分片架构, 并对该通用架构中的交易过程进行了量化建模, 得到了区块链通量与分片数量的关系, 建立了星型分片架构的通量模型. 根据建立的星型分片架构通量模型, 可以发现星型架构的通量性能存在上限, 存在一个最优的分片数量使得系统的通量达到最高, 且通量的最大值与主链功能复杂度存在明确的函数关系. 基于所提的通量模型, 相关的区块链系统可以结合自身方案的设计, 平衡分片数量与主链功能复杂度, 使得系统通量达到理论上限, 因此对于星型并行化方案设计具有重要指导意义. |
| 关键词: 区块链 并行化 分片 星型分片架构 通量模型 |
| DOI:10.13328/j.cnki.jos.006651 |
| 分类号: |
| 基金项目:国家重点研发计划(2019YFB1404903); 国家自然科学基金(61972382, 61772502); 内蒙古自然科学基金(2020MS06017) |
|
| Throughput Model of Starlike Sharding Structure for Blockchains and Its Applications |
|
WANG Ke-Yuan1,2, JIANG Xin1,2, JIA Lin-Peng1,2, DUAN Tian-Tian1,2, SUN Yi1,2
|
|
1.Institute of Computing Technology, Chinese Academy of Sciences, Beijing 100190, China;2.School of Computer Science and Technology, University of Chinese Academy of Sciences, Beijing 100049, China
|
| Abstract: |
| Parallelization is one of the most effective blockchain scalability solutions, and the existing parallelization schemes can be classified into two categories, i.e., starlike structure and parallel structure, according to the network structure. However, the current research lacks the analyses of factors affecting the performance boundary and performance bottleneck in starlike sharding structure. To address this problem, this study abstracts a general starlike sharding structure of blockchains for the schemes adopting different starlike sharding structure, and the transaction process in this general structure is quantitatively modeled to derive the relationship between throughput and the number of shards in starlike sharding structure. According to the constructed model, there exists a performance limit in starlike sharding structure and an optimal sharding quantity to maximize the system throughput. An explicit functional relationship exists between the maximal throughput and the functional complexity of the mainchain. With the proposed throughput model, related blockchain systems can balance the number of shards and the functional complexity of the mainchain to reach the theoretical upper limit of system throughput with the consideration of their specific design. Therefore, the work of this study has significant guiding value in the design of the schemes adopting starlike parallelization. |
| Key words: blockchain parallelization sharding starlike sharding structure throughput model |