arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.14438cs.SE
收藏

高可用区块链节点:N版本设计

Highly Available Blockchain Nodes With N-Version Design

Javier Ron, César Soto-Valero, Long Zhang, Benoit Baudry, Martin Monperrus

AI总结:

本文提出N版本区块链节点概念,通过并行运行同一协议的不同实现,利用故障下的不对称行为提升可用性,并在以太坊上实现原型N-ETH,验证了该设计在区块链领域的有效性。

摘要:

与所有软件一样,区块链节点也暴露在其底层执行栈的故障风险中。不稳定的执行环境可能扰乱区块链节点接口的可用性,导致用户停机。本文引入了N版本区块链节点的概念。这种新型节点依赖于同一区块链协议的不同实现的并行执行,遵循Avizienis的N版本编程愿景。我们在以太坊的背景下设计并实现了一个N版本区块链节点原型,称为N-ETH。我们展示了N-ETH能够减轻不稳定执行环境的影响,并在环境故障下显著增强可用性。为了模拟不稳定的执行环境,我们在系统调用层面进行故障注入。我们的结果表明,现有的以太坊节点实现在相同的故障场景下表现出不对称的行为。N-ETH利用以太坊节点多样化实现中存在的这种不对称行为来提供更高的可用性,即使在我们最激进的故障注入策略下也是如此。我们是首个验证N版本设计在区块链基础设施领域相关性的团队。从工业角度来看,我们的结果对于运营区块链节点的企业至关重要,包括谷歌、ConsenSys以及许多其他主要的区块链公司。

英文摘要:

As all software, blockchain nodes are exposed to faults in their underlying execution stack. Unstable execution environments can disrupt the availability of blockchain nodes interfaces, resulting in downtime for users. This paper introduces the concept of N-version Blockchain nodes. This new type of node relies on simultaneous execution of different implementations of the same blockchain protocol, in the line of Avizienis' N-version programming vision. We design and implement an N-version blockchain node prototype in the context of Ethereum, called N-ETH. We show that N-ETH is able to mitigate the effects of unstable execution environments and significantly enhance availability under environment faults. To simulate unstable execution environments, we perform fault injection at the system-call level. Our results show that existing Ethereum node implementations behave asymmetrically under identical instability scenarios. N-ETH leverages this asymmetric behavior available in the diverse implementations of Ethereum nodes to provide increased availability, even under our most aggressive fault-injection strategies. We are the first to validate the relevance of N-version design in the domain of blockchain infrastructure. From an industrial perspective, our results are of utmost importance for businesses operating blockchain nodes, including Google, ConsenSys, and many other major blockchain companies.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑