ruby dht libs

R

Roger Pack

Anybody know of some DHT (distributed hash table) implementations
written in ruby?
Thanks!
-Roger
 
D

Daniel Brumbaugh Keeney

Anybody know of some DHT (distributed hash table) implementations
written in ruby?
Thanks!
-Roger

GConf does something very much like this. I've actually been planning
to write a pure Ruby clone with a couple different database backends,
so GConf doesn't have to be a dependency. I'll get to it in the next
couple weeks if no one else does it first. And I'll probably make an
alternate version that accepts more data types than GConf.

<http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gconf>

Daniel Brumbaugh Keeney
 
R

Roger Pack

Daniel said:
GConf does something very much like this. I've actually been planning
to write a pure Ruby clone with a couple different database backends,
so GConf doesn't have to be a dependency. I'll get to it in the next
couple weeks if no one else does it first. And I'll probably make an
alternate version that accepts more data types than GConf.

<http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gconf>

Daniel Brumbaugh Keeney

link seems to not work?
 
H

hemant

Hi,

Anybody know of some DHT (distributed hash table) implementations
written in ruby?

Why not use Memcache? ( As Ford Prefect would have said, "My mouth
will shut itself, If i don't speak the obvious" )
 
R

Roger Pack

Hemant said:
Why not use Memcache? ( As Ford Prefect would have said, "My mouth
will shut itself, If i don't speak the obvious" )

That's a very good idea. I guess the only reason is that theoretically
they should scale better if you get say 1 million clients. Downloading
the list of clients would be problematic, whereas DHT's don't need
knowledge of the entire system at the get go.
But I'm with you memcache would be easier :)
-Roger
 
J

James Tucker

I've got an old Chord implementation in java knocking around somewhere
that's reference based on the paper (well, with the obvious bug fixed
anyway), I've been talking about porting it to ruby for some time...

Would Chord do?
 
R

Roger Pack

I suppose it'd be as good as any. I don't need it ASAP (opendht might
work well enough for now), but just seeing if one exists.
I might write it to use EventMachine once I do find one :)
Take care.
-Roger
 
D

Dido Sevilla

T24gRGVjIDMwLCAyMDA3IDk6NDAgQU0sIFJvZ2VyIFBhY2sgPHJvZ2VycGFjazIwMDVAZ21haWwu
Y29tPiB3cm90ZToKPiBBbnlib2R5IGtub3cgb2Ygc29tZSBESFQgKGRpc3RyaWJ1dGVkIGhhc2gg
dGFibGUpIGltcGxlbWVudGF0aW9ucwo+IHdyaXR0ZW4gaW4gcnVieT8KCkkgd3JvdGUgb25lIG9u
Y2U6CgpodHRwOi8vcnVieWZvcmdlLm9yZy9wcm9qZWN0cy9oYXJtb25pdW0KCkl0J3MgYSBDaG9y
ZCBpbXBsZW1lbnRhdGlvbiB1c2luZyBEUmIuIEhhdmUgYSBsb29rIGF0IHRoZSBjb2RlIGluIHRo
ZQpTdWJ2ZXJzaW9uIHJlcG9zaXRvcnkuIEl0J3Mgc29ydGEgd29ya2FibGUsIGJ1dCB5b3VyIG1p
bGVhZ2UgbWF5IHZhcnkuCgotLSAK5pmu6YCa44GY44KD44Gq44GE44Gu44GM5b2T54S244Gq44KJ
562U44GI44KL56eB44Gv5L2V44GM44Gn44GN44KL77yfCuaZrumAmuOBp+OCguaZrumAmuOBmOOC
g+OBquOBj+OBpuaEn+OBmOOCi+OBvuOBvuaEn+OBmOOCi+OBk+OBqOOBoOOBkeOCkuOBmeOCi+OC
iO+8gQpodHRwOi8vc3Rvcm13eXJtLmJsb2dzcG90LmNvbQo=
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top