Moxi compatibility with other memcached clients
I have an existing setup that uses memcached Java clients to access a memcached cluster. We use Ketama hashing algorithm.
I have a requirement to be able to fallback to a cluster on a remote data center, but in order to reduce the amount of connections between the DCs, we would like to access remote DCs via Moxi.
I tried to insert keys with spymemcached and xmemcached clients (directly accessing the cluster) and later fetch via moxi. And also tried the other way around. I found that the Java clients hashing algorithm is incompatible with moxi's hashing algorithm (vBuckets?), so I can only hit some of the keys.
I saw that the recommended way of using moxi is to install it on the localhost, and configure the client to use it as the memcached server proxy. The proble is that benchmarking showed that this setup has a significant overhead.
Is there a way to make the clients compatible with moxi?