Couchbase Questions: cas

Have a Question? Get it answered by our community

sdray's picture
Asked 2 weeks 2 days ago

cas performance

Hi there I am wondering why cas takes such a while compared to add - for my application I have to add/update roughly 1000 keys per servlet request, and I am finding that where the keys do not exist the adds are taking 0 to 1 ms each but the cas operations are taking 7 to 8 ms resulting in a...

rakeshv1's picture
Asked 10 months 3 weeks ago
Latest activity 10 months 3 weeks ago

couchbase getwithlock

I have aquestion regarding locking in couchbase.
In our application we have a service which is continuously processing documents from couchbase based on a status field in the document which is also indexed using the views. we are currently fetching each document with a waiting...

Farsheed's picture
Asked 10 months 3 weeks ago
Latest activity 10 months 3 weeks ago

Check and Set

I wrote an application using version 2.0 and node.js couchbase library using the 2.0 c library. In that application I would use the SET command to save the results to the bucket and when viewing the document it would look something like this:

cadams's picture
Asked 11 months 2 weeks ago
Latest activity 2 months 1 day ago

CAS with non-existent key giving OK vs NOT_FOUND

If I submit a cas with a non-existent key I would expect to receive CASResponse.NOT_FOUND but am receiving CASResponse.OK instead. Is this a bug? The use case is a test we created for a cas operation on either a non-existent key or a key that has expired from the cache.

Couchbase Java...