I want to use couchbase in a java multithreaded environment. I want to service multiple set and get requests concurrently.How can I implement such a program?
Mon, 12/10/2012 - 23:50
mikew
Offline
Joined: 03/14/2011
Groups:
Couchbase uses the concept of a cas value in order to deal with this issue. Every time an item is updated the cas value is incremented. If you set a key and provide a cas number that is incorrect the set will not take place and the client will receive an error. Here is a short forum post that I think will help explain the issue. If you have any other questions let me know.
Couchbase uses the concept of a cas value in order to deal with this issue. Every time an item is updated the cas value is incremented. If you set a key and provide a cas number that is incorrect the set will not take place and the client will receive an error. Here is a short forum post that I think will help explain the issue. If you have any other questions let me know.
https://groups.google.com/forum/?fromgroups=#!topic/memcached/uY_HDd6zllA