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.

http://blog.basho.com/2010/01/29/why-vector-clocks-are-easy/


On Fri, Apr 1, 2011 at 12:18 PM, Yury Dorofeev <[email protected]> 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
> [email protected]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>

_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to