如何制作烟雾弹
How to Make Chord Correct
摘要:
Chord分布式哈希表(DHT)是众所周知的,并且经常用于实现对等系统。Chord节点在一个大的标识符空间中通过一个环形指针结构找到其他节点,并访问他们的数据。尽管声称已被证明是正确的,即,最终的可达性,以前的工作表明,弦环维护协议是不正确的,根据其原始的操作假设。然而,它还没有发现Chord是否可以通过合理的操作假设而正确。本文的贡献是提供第一个规范的正确操作和初始化和弦,归纳不变,这是必要的和足够的支持证明的正确性,证明本身。大多数证明是通过对Alloy模型的自动分析来进行的。归纳不变量反映了Chord网络必须具有最小环大小(最小值是后继列表的长度加1)才是正确的。不变量依赖于一个假设,即有一个稳定的基础,最小的规模,永久环成员。由于稳定的基础只有几个成员,而Chord网络可能有数百万个成员,因此我们了解到,可证明正确性的障碍是小型网络中的异常现象,并且一旦Chord网络变大,就不需要维护稳定的基础。
英文摘要:
The Chord distributed hash table (DHT) is well-known and frequently used to implement peer-to-peer systems. Chord peers find other peers, and access their data, through a ring-shaped pointer structure in a large identifier space. Despite claims of proven correctness, i.e., eventual reachability, previous work has shown that the Chord ring-maintenance protocol is not correct under its original operating assumptions. It has not, however, discovered whether Chord could be made correct with reasonable operating assumptions. The contribution of this paper is to provide the first specification of correct operations and initialization for Chord, an inductive invariant that is necessary and sufficient to support a proof of correctness, and the proof itself. Most of the proof is carried out by automated analysis of an Alloy model. The inductive invariant reflects the fact that a Chord network must have a minimum ring size (the minimum being the length of successor lists plus one) to be correct. The invariant relies on an assumption that there is a stable base, of the minimum size, of permanent ring members. Because a stable base has only a few members and a Chord network can have millions, we learn that the obstacles to provable correctness are anomalies in small networks, and that a stable base need not be maintained once a Chord network grows large.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。