We present a generalized distance metric that can be used to identify routing table entries and implement routing strategies to reach the root node for a given key, in DHT (Distributed Hash Table) networks such as Chord, Kademlia, Tapestry, and Pastry. The generalization shows that all the four DHT algorithms are in fact, the same algorithm but with different parameters in distance representation. This paper also proposes that nodes can have routing tables of varying sizes based on their memory capabilities. But Each node must have at least two entries, one for the node closest from it, and the other for the node from whom it is closest, regardless of memory capacity. With this condition, messages will still reach the correct root nodes. We also further observe that in any network, if the distance metric of the DHT is same at all the nodes, then the root node for a key will also be the same, irrespective of the size of the routing table at different nodes.
翻译:我们提出了一个通用的距离度量,可用于识别路由表条目并实现路由策略以到达给定键的根节点,在分布式哈希表DHT(例如Chord、Kademlia、Tapestry和Pastry)网络中。通用性表明,所有四种DHT算法实际上都是相同的算法,但距离表示中的参数不同。本文还提出,节点可以根据其内存能力具有不同大小的路由表。但是,无论内存容量如何,每个节点必须至少有两个条目,一个用于离它最近的节点,另一个用于离它最近的节点,以确保消息仍然到达正确的根节点。我们还进一步观察到,在任何网络中,如果DHT的距离度量在所有节点上相同,则对于一个键,其根节点也将是相同的,而不考虑不同节点的路由表的大小。