Table of Contents
moxi is a proxy for memcached traffic that can be used in a variety of ways and is especially useful against a Couchbase Server cluster.
There a three main reasons for using moxi:
Compatibility
You want the automatic, dynamic reconfiguration features of Couchbase, but you're too busy to change your web application. moxi can help here by proxying requests to the correct Couchbase server nodes and will provide protocol transformations, too. That is, you can keep on using ascii memcached clients without any changes.
Simplification
Simplifying your configuration. moxi can dynamically respond to cluster health updates, so your application doesn't have to.
Performance
You can use moxi within a "client-side" architecture (which runs on your web application servers). This can be helpful to share already-connected sockets, reduce the number of connections from web-app servers to Couchbase, and avoid extra machine hops.