I am using Couchbase Net Client to perform CRUD on couchbase.
I have created a bucket and inserting objects using a performance test method. But I notice that the writes being persisted are very less.
There are two cases:
1.) I use get to check existence of object with key. If not found then I create and write.
performance: ~50-80 writes/sec
2.) I only do set by creating a new object skipping the get.
performance: ~250 writes/sec
I am using Instance.StoreJson(StoreMode.Set, key, object, ttl); to perform write and GetJson API for get.
Is there a better practice to do this? I really need your help to fix this problem.
Is it related to the disk usage or RAM Quote of the bucket? For my bucket -
RAM Quota : 16.4MB /300MB
Disk Usage : 17.1MB /17.1MB
Q1) Is couchbase linked to the server size very heavily? By this I mean that I am using very low RAM of my bucket ~300MB only - is it the cause?
Q2) What is the best approach to do writes and reads - CouchBaseClient or MemBaseClient (I am using couch server 2 with couchbase client)?
Q3) What should be the better way of starting a new cluster - couchbase or membase?
Q4) Is it because I am using Windows?