p2p
badlogic
这个作者很懒,什么都没留下…
展开
-
Kademlia原理介绍
http://blog.csdn.net/chenbuaa/article/details/2301638 Kademlia: A Peer To Peer Information Systems Based On TheXOR Metric, Petar Maymounkov and David Mazieres, 2002.------------------------------...原创 2015-07-24 01:03:05 · 99 阅读 · 0 评论 -
一致性 hash 算法( consistent hashing )
http://blog.csdn.net/sparkliang/article/details/5279393 consistent hashing 算法早在 1997 年就在论文 Consistent hashing and random trees 中被提出,目前在cache 系统中应用越来越广泛;1 基本场景比如你有 N 个 cache 服务器(后面简称 cache ),...原创 2015-08-04 22:05:00 · 51 阅读 · 0 评论 -
【转】Kademlia(1)
http://book.51cto.com/art/201212/375279.htm 另一种DHT对等网络是Kademlia,它由Maymounkov和Mazières设计。与Pastry类似,Kademlia基于结点距离来路由报文,但是正如下文所述,Kademlia中的距离度量与Pastry中不同。在这个网络中,两个标识符(结点或关键字)之间的距离是通过位异或(XOR)来度量的。换言...原创 2015-08-06 16:21:14 · 152 阅读 · 0 评论 -
Implementing a DHT in Go, part 1
In order to further explore the capabilities and limitations of Go, I thought it would be interesting to try implementing something that was practical, non-trivial, and of interest on its own. With t...原创 2016-10-18 10:23:29 · 260 阅读 · 0 评论 -
Implementing a DHT in Go, part 2
In the previous post, we started a straightforward implementation of a Kademlia Distributed Hash Table in Go. Today, we'll add in the real meat - interaction between peers to find nodes.First, thou...原创 2016-10-18 10:24:12 · 239 阅读 · 0 评论