We used Couchbase as a caching layer for our APP. We have 5 node, with couchbase 2.1.1 on CentOS release 5.6 which CPU is 4*1.9GHz and RAM is more than 8G and the network is Ethernet.And we used .net SDK 1.2.
We used the follow code store the data into couchbase:
"client.ExecuteStoreJson(StoreMode.Set, key, newBeer, PersistTo.Zero, ReplicateTo.Zero);"
I can reached over 6K OPS with ReplicateTo.ZERO. But I only got below 10 operations per second with ReplicateTo.ONE. And we evently got a timeout failure sometimes.
In our APP, ReplicateTo function is required, so we have to resolve the problem otherwise we will leave the couchbase.
My questions are:
- What is happening?
- How to resolve it the timeout faiure?
- and the performance is extremely poor for ReplicateTo turn on. How to resolve it if it is required?
Thanks a lot,