Both Couchbase classes I’ve been to have emphasized the speed of Key/Value pairs over documents. I’ve been trying to figure out how to store and retrieve Key/Value pairs with the .net sdk. This is what i’m currently doing:
var upsert = bucket.Upsert(id, value);
Where value is a string.
When I view this data in the CB console I see the key and a hash of the value I inserted. However, I have some diagnostics in place and I don’t see a difference between this and using a document. I’m seeing about 7-8 ms to retrieve both from CB using:
I was lead to believe that the key/value retrieve would be < 1ms.
Am I missing something?