Google News
logo
CouchDB - Interview Questions
What are the main features of CouchDB?
* JSON Documents : CouchDB stores data in JSON document.

*
RESTful Interface : CouchDB does all tasks like replication, data insertion, etc. via HTTP.

*
N-Master Replication : CouchDB facilitates you to make use of an unlimited amount of 'masters,' making for some very interesting replication topologies.

*
Built for Offline : CouchDB can replicate to devices (like Android phones) that can go offline and handle data sync for you when the device is back online.

*
Replication Filters : CouchDB facilitates you to filter precisely the data you wish to replicate to different nodes.

*
ACID semantics : The CouchDB file layout follows all the features of ACID properties. Once the data is entered into the disc, it will not be overwritten. Document updates (add, edit, delete) follow Atomicity, i.e., they will be saved completely or not saved at all. The database will not have any partially saved or edited documents. Almost all of these update are serialized, and any number of clients can read a document without waiting and without being interrupted.

*
Document storage : CouchDB is a NoSQL database which follows document storage. Documents are the primary unit of data where each field is uniquely named and contains values of various data types such as text, number, Boolean, lists, etc. Documents don't have a set limit to text size or element count.

*
Eventually consistency : CouchDB guarantees to provide availability and partition tolerance.
Authentication and Session Support: CouchDB facilitates you to keep authentication open via a session cookie like a web application.

*
Security : CouchDB also provides database-level security. The permissions per database are separated into readers and admin. Readers can both read and write to the database.

*
Validation : You can validate the inserted data into the database by combining with authentication to ensure the creator of the document is the one who is logged in.
Map/Reduce List and Show: The main reason behind the popularity of MongoDB and CouchDB is map/reduce system.
Advertisement