About using moxi with couchbase 2.0
Hi all,
I'm doing some test with couchbase 2.0.
My architecture is the following:
- 2 servers A and B running couchbase 2.0 with a shared data bucket b1
- a client machine running moxi 1.8
I run mc-benchmark (https://github.com/antirez/mc-benchmark) on the client machine to have performance statistics.
When the bucket is a membased type, all works ok and gave very good performances
But with a couchbase bucket, the benchmark never ends.
I see that some datas are written on the bucket, but few seconds after starting the test, there is no more operations on server side, and moxi give me the following message (debug mode):
2012-11-08 10:08:24: (cproxy.c.1918) 48: could not forward upstream to downstream
Do I missed something ? is moxi 1.8 compatible with couchbase 2.O ?
Regards,
Guillaume Bour.
It's not possible for me to be able to tell what is causing the issue here. The error message just says that moxi couldn't forward an operation to memcached properly. One possible reason is that you don't have port 11210 open. In any case moxi should function correctly with Couchbase 1.8 and 2.0 and is fully supported for both versions by Couchbase. One thing that you should be aware of though is that none of the Couchbase SDK's use moxi because it adds an extra network hop which will increase latencies. The Couchbase SDK's all communicate with the cluster and know about all of the nodes so they can send operations directly to the correct node. I would recommend using one of our SDK's if you are doing benchmarks because you will likely use our SDK's in productions.