CouchDB Adds Clustering Support
Monday, 26 September 2016

Apache CouchDB 2.0 has been released with native support for clustering.

Apache CouchDB is a NoSQL database that uses JSON and HTTP, and that offers multi-master synchronisation. The new version is the result of the donation and subsequent merger of IBM Cloudant's BigCouch project to The Apache Software Foundation.
The new clustering support means you can take a set of computers or virtual machines in the same data center and make them behave like a single, unified CouchDB instance. This provides fault tolerance and better performance. The clustering development drew on the design details presented in the Amazon Dynamo paper. This gave details of the design and implementation of Dynamo, a
highly available key-value storage system that some of Amazon’s
core services use to provide an “always-on” experience. To
achieve this level of availability, Dynamo sacrifices consistency
under certain failure scenarios. It makes extensive use of object
versioning and application-assisted conflict resolution.

Another area to have been improved is the addition of a new declarative query language called Mango. This is described as being easier to use and faster in operation than the existing JavaScript-based Views (though these are still supported).

Mango began life at Cloudant as a MongoDB-inspired query API that would look familiar to users experienced using MongoDB's find() operator. Cloudant introduced this feature as Cloudant Query, then donated it to CouchDB, where the developers changed the codename to Mango and added full-text-search (once Cloudant open-sourced its full-text-search).  Cloudant Query and Mango Query are now synchronized.

There's also a completely rewritten administration interface built in React.js, and the replicator and compactor are faster, so speeding up replication between CouchDB instances. 



More Information

CouchDB Blog


Amazon Dynamo Paper

Related Articles

Apache CouchDB 1.6.0 Released

Faster Apache CouchDB

iOs and Android AWS Support for DynamoDB


To be informed about new articles on I Programmer, sign up for our weekly newsletter,subscribe to the RSS feed and follow us on, Twitter, FacebookGoogle+ or Linkedin



Find A DevFest Near You

October is with us and October is the main month for DevFests although November has almost as many and there are still some to come in December. You might be surprised how many events there are this y [ ... ]

Machine Learning With App Inventor

MIT App Inventor has already been changing the way that kids learn about  computing, allowing them to create fully functioning apps for smartphones and tablets. Now it has expanded its focus to i [ ... ]

More News






or email your comment to:

Last Updated ( Monday, 26 September 2016 )