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 Membase Server cluster (for both Membase bucket types and Memcached bucket types).
There a three main reasons for using moxi:
Compatibility
You want the automatic, dynamic reconfiguration features of membase, but you're too busy to change your web application. moxi can help here by proxying requests to the correct membase 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 membase, and avoid extra machine hops.