[OpenDHT-Users] Re: Transaction like capability in openDHT

Zahir Koradia zahir.koradia at gmail.com
Mon Aug 21 23:49:12 PDT 2006


Hi Gon,
Basically I have a set of nodes that need to make entries in the DHT.
If an entry with the key is already present then the entry is supposed
to be concatenated with its own id. These nodes can communicate to
each other and know each other's communication addresses. Right now
the way I am doing this is using the spread group communication
toolkit. This allows me to have total ordering amongst messages sent
to a group. I have all these nodes form a group. That way when one
wants to edit an entry it will send a message on the group stating the
same. This mechanism is still going through tests and seems to be
pretty slow.

I would be more than happy to know otehr ways of doing this.

Thanks,
Zahir

On 8/22/06, Byung-Gon Chun <bgchun at eecs.berkeley.edu> wrote:
> Can you tell me what applications you have in mind?
> There are techniques that you can use to guarantee atomicity.
>
> - Gon
>
> ----- Original Message -----
> From: Sean Rhea <sean.c.rhea at gmail.com>
> Date: Monday, August 21, 2006 4:20 pm
> Subject: Re: [OpenDHT-Users] Transaction like capability in openDHT
>
> > On 8/20/06, Zahir Koradia <zahir.koradia at gmail.com> wrote:
> > > I am working on something where there are multiple nodes that can
> > > update an entry in openDHT. To ensure correctness I need some
> > form of
> > > concurrency control. Has enyone used any mechanism that provides
> > > atomicity at openDHT itself hence not requiring the participating
> > > processes to coordinate in any manner?
> >
> > OpenDHT only provides loose consistency semantics.  You'll need
> > something additional for transactions, I think.
> >
> > Sean
> > --
> > Looking for a PGP signature?
> > See http://srhea.net/gmail-explain.txt
> >
> > _______________________________________________
> > OpenDHT-Users mailing list
> > OpenDHT-Users at opendht.org
> > http://opendht.org/cgi-bin/mailman/listinfo/opendht-users
> >
>



More information about the OpenDHT-Users mailing list