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 InformationRelated ArticlesiOs 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, Facebook, Google+ or Linkedin.
Comments
or email your comment to: comments@i-programmer.info |
Last Updated ( Monday, 26 September 2016 ) |