To make CouchDB store documents remotely, we only have to replace the implementation of the two functions listed above. For our remote storage let’s use Riak as our Key-Value store (because it’s awesome). CouchDB persists Erlang terms to disk and Riak persists Erlang terms to disk. We get to remove redundant code from CouchDB since Riak is converting terms for us. Riak also automatically replicates everything we store, easily handles adding more machines to increase capacity, and deals with failures transparently.
Not only has Matt seen seen the connection between CouchDB and Riak, but he made it ☞ work.
CouchDB with a Riak Backend originally posted on the NoSQL blog: myNoSQL