Re: Riak and Locks part 2

2011-04-01 Thread siculars
, 1 Apr 2011 18:18:29 To: Subject: Riak and Locks part 2 ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com ___ riak-users mailing

Re: Riak and Locks part 2

2011-04-01 Thread Eric Moritz
I suppose you could pair Riak with redis and use redis to create a shared mutex style lock. That'll work as long as all the clients writing to Riak use the mutex. That's not how Riak handles concurrency conflicts though. Riak is made to be available for writes so conflicts are merged when values

Riak and Locks part 2

2011-04-01 Thread Yury Dorofeev
Hi everybody! In November 2010 mr. *Neville Burnell *published his question about locking mechanism in Riak. Since that time has Riak got any functionality to support lock? My situation is classical: a process P reads bucket B, locks it, doing some stuff, release bucket B. Does anyone managed

Re: Riak and Locks

2010-11-08 Thread Neville Burnell
Hi Justin, Thanks for your reply, I might try wrapping a http api around this erlang implementation of paxos [1] just for fun. Kind Regards Neville [1] https://github.com/kuenishi/gen_paxos On 9 November 2010 14:37, Justin Sheehy wrote: > Hello, Neville. > > On Mon, Nov 8, 2010 at 10:35 PM,

Re: Riak and Locks

2010-11-08 Thread Justin Sheehy
Hello, Neville. On Mon, Nov 8, 2010 at 10:35 PM, Neville Burnell wrote: > Are there any plans for a Distributed Lock Service for Riak, to allow for > apps that *need* locking for some KV ? It has been discussed and agreed that it would be interesting, but there is nothing currently being develo

Riak and Locks

2010-11-08 Thread Neville Burnell
Are there any plans for a Distributed Lock Service for Riak, to allow for apps that *need* locking for some KV ? A lease based DLM based on something like PaxosLease [1] would be a great service. Kind Regards Neville [1] http://scalien.com/pdf/PaxosLease.pdf