CouchDB values availability and partition tolerance. This makes it ideal for creating clusters where you want high throughput without a bottleneck.
In this section we’ll cover how to use CouchDB from Clojure to accomplish basic tasks such as storing, retrieving, and deleting documents.
As a prerequisite to working with the following examples, you’ll need to either set up a local instance of CouchDB or use one of the free CouchDB services, such as Iris Couch. Once you have the database set up, create a new table using its web user interface, accessible at http://hostname:5984/_utils. We’ll call this table clutchtest.
The easiest way to access CouchDB from Clojure is to use the Clutch library. Clutch provides ...