ruby dht libs

Discussion in 'Ruby' started by Roger Pack, Dec 30, 2007.

  1. Roger Pack

    Roger Pack Guest

    Anybody know of some DHT (distributed hash table) implementations
    written in ruby?
    Thanks!
    -Roger
    --
    Posted via http://www.ruby-forum.com/.
    Roger Pack, Dec 30, 2007
    #1
    1. Advertising

  2. On Dec 29, 2007 7:40 PM, Roger Pack <> wrote:
    > 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
    Daniel Brumbaugh Keeney, Jan 1, 2008
    #2
    1. Advertising

  3. Roger Pack

    Roger Pack Guest

    Daniel Brumbaugh Keeney wrote:
    > On Dec 29, 2007 7:40 PM, Roger Pack <> wrote:
    >> 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


    link seems to not work?
    --
    Posted via http://www.ruby-forum.com/.
    Roger Pack, Jan 1, 2008
    #3
  4. Roger Pack

    hemant Guest

    Hi,

    On Dec 30, 2007 7:10 AM, Roger Pack <> wrote:
    > 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" )
    hemant, Jan 1, 2008
    #4
  5. Roger Pack

    Roger Pack Guest

    Hemant Kumar wrote:
    > 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
    --
    Posted via http://www.ruby-forum.com/.
    Roger Pack, Jan 1, 2008
    #5
  6. Roger Pack

    James Tucker Guest

    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?

    On 1 Jan 2008, at 18:33, Roger Pack wrote:

    > Hemant Kumar wrote:
    >> 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
    > --
    > Posted via http://www.ruby-forum.com/.
    >
    James Tucker, Jan 1, 2008
    #6
  7. Roger Pack

    Roger Pack Guest

    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

    James Tucker wrote:
    > 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?

    --
    Posted via http://www.ruby-forum.com/.
    Roger Pack, Jan 1, 2008
    #7
  8. On Jan 1, 2008 10:49 AM, Roger Pack <> wrote:
    > > <http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gconf>
    > >
    > > Daniel Brumbaugh Keeney

    >
    > link seems to not work?



    The link works is accurate, you may want to make sure you're getting
    the full link, everything between <>, not including them. If you
    prefer, like this

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

    Daniel Brumbaugh Keeney
    Daniel Brumbaugh Keeney, Jan 2, 2008
    #8
  9. Roger Pack

    Dido Sevilla Guest

    T24gRGVjIDMwLCAyMDA3IDk6NDAgQU0sIFJvZ2VyIFBhY2sgPHJvZ2VycGFjazIwMDVAZ21haWwu
    Y29tPiB3cm90ZToKPiBBbnlib2R5IGtub3cgb2Ygc29tZSBESFQgKGRpc3RyaWJ1dGVkIGhhc2gg
    dGFibGUpIGltcGxlbWVudGF0aW9ucwo+IHdyaXR0ZW4gaW4gcnVieT8KCkkgd3JvdGUgb25lIG9u
    Y2U6CgpodHRwOi8vcnVieWZvcmdlLm9yZy9wcm9qZWN0cy9oYXJtb25pdW0KCkl0J3MgYSBDaG9y
    ZCBpbXBsZW1lbnRhdGlvbiB1c2luZyBEUmIuIEhhdmUgYSBsb29rIGF0IHRoZSBjb2RlIGluIHRo
    ZQpTdWJ2ZXJzaW9uIHJlcG9zaXRvcnkuIEl0J3Mgc29ydGEgd29ya2FibGUsIGJ1dCB5b3VyIG1p
    bGVhZ2UgbWF5IHZhcnkuCgotLSAK5pmu6YCa44GY44KD44Gq44GE44Gu44GM5b2T54S244Gq44KJ
    562U44GI44KL56eB44Gv5L2V44GM44Gn44GN44KL77yfCuaZrumAmuOBp+OCguaZrumAmuOBmOOC
    g+OBquOBj+OBpuaEn+OBmOOCi+OBvuOBvuaEn+OBmOOCi+OBk+OBqOOBoOOBkeOCkuOBmeOCi+OC
    iO+8gQpodHRwOi8vc3Rvcm13eXJtLmJsb2dzcG90LmNvbQo=
    Dido Sevilla, Jan 3, 2008
    #9
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Christoph
    Replies:
    2
    Views:
    518
    Richard Bos
    Sep 17, 2003
  2. Raman
    Replies:
    5
    Views:
    1,020
    Raman
    May 9, 2008
  3. Salim Fadhley

    DHT for Python 3.x?

    Salim Fadhley, Nov 10, 2009, in forum: Python
    Replies:
    3
    Views:
    585
    Martin v. Löwis
    Nov 11, 2009
  4. Greg Hauptmann
    Replies:
    4
    Views:
    187
    Stefano Crocco
    Feb 7, 2009
  5. Replies:
    0
    Views:
    208
Loading...

Share This Page