From: gabriele renzi Date: 2005-01-29T07:55:53+09:00 Subject: Re: Distributed Hash in Ruby? Eric Hodel ha scritto: > On 27 Jan 2005, at 06:30, martinus wrote: > >> Hi, >> >> Has anyone ever implemented a distributed hash protool (like e.g. Chord >> http://www.pdos.lcs.mit.edu/chord/) in Ruby? I could not find anything >> like this in RAA. > > > Ruby has a Linda-like TupleSpace built-in from Rinda. > > While I don't have an explicit example, one is used as part of the > example code here: > > http://segment7.net/projects/ruby/drb/rinda/ringserver.html > I think what he's looking for is quite different from TupleSpaces. I think it is more similar to overnet/emule-kademlia (actually I think thos were built on chord's concepts). the idea is to be able to access a file/object based on a standard hash withouth the need to traverse a complex peer graph, using a distributed partially replicated hash table. Related to this, I guess building bindings for the emule base libraries would be the path of less resistence.