Riak and Locks part 2

Eric Moritz eric at themoritzfamily.com
Fri Apr 1 12:41:16 EDT 2011

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 are read.  Take a look at this
article to get an idea of how Riak does concurrency control.


On Fri, Apr 1, 2011 at 12:18 PM, Yury Dorofeev <u.dorofeev at gmail.com> wrote:
> 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 to find a
> solution for such situation? If yes, please share an idea!
>  Best regards Yury Dorofeev, Uppsala University
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

More information about the riak-users mailing list