面向研究与开发的可扩展基于Docker的区块链网络仿真
Toward Scalable Docker-Based Emulations of Blockchain Networks for Research and Development
AI总结:
本文提出利用Linux和Docker在单台物理机上运行大规模真实区块链软件的方法,解决大规模网络仿真中的技术问题,并通过两个涉及3000多个容器的实验验证其可扩展性与实用性。
摘要:
区块链与任何其他复杂技术一样,需要一套强大的测试方法来支持其在研究和开发背景下的演进。为无许可区块链技术设置有意义的测试是一项众所周知的复杂任务,原因有多个:软件复杂、涉及大量节点、网络并非理想等。开发者通常采用小型虚拟实验室或基于真实软件的高成本真实开发网络。研究者通常更倾向于基于简化模型的大量节点仿真。在本文中,我们旨在获得两种方法的优势,即在虚拟环境中使用真实区块链软件执行大规模、真实、廉价且灵活的实验。为此,我们应对在单台物理机上运行大规模区块链网络的挑战,利用Linux和Docker。我们分析了在仿真大规模区块链网络时出现的若干问题,并为所有这些问题提供了技术解决方案。最后,我们描述了在单台机器上仿真相当大规模区块链网络的两个经验,分别采用面向研究和面向生产的软件,并涉及多达3000多个容器。
英文摘要:
Blockchain, like any other complex technology, needs a strong testing methodology to support its evolution in both research and development contexts. Setting up meaningful tests for permissionless blockchain technology is a notoriously complex task for several reasons: software is complex, large number of nodes are involved, network is non ideal, etc. Developers usually adopt small virtual laboratories or costly real devnets, based on real software. Researchers usually prefer simulations of a large number of nodes, based on simplified models. In this paper, we aim to obtain the advantages of both approaches, i.e., performing large, realistic, inexpensive, and flexible experiments, using real blockchain software within a virtual environment. To do that, we tackle the challenge of running large blockchain networks in a single physical machine, leveraging Linux and Docker. We analyze a number of problems that arise when large blockchain networks are emulated and we provide technical solutions for all of them. Finally, we describe two experiences of emulating fairly large blockchain networks on a single machine, adopting both research oriented and production oriented software, and involving up to more than 3000 containers.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。