Difference between Couchdb and Mongodb. Below is the comparative study between CouchDB and MongoDB.
COUCHDB | MONGODB |
Uses HTTP/REST based interface. | Uses binary protocol and custom protocol. |
It is a NoSQL Database or a non-relational database. | It is also a NoSQL Database or a non-relational database. |
CouchDB is a document oriented database server. | MongoDB is a document oriented database server. |
Stores and retrieve data in other than tabular relations model using JSON format. | Stores and retrieve data in other than tabular relations model using BSON format. |
Access to a document is easy as the database directly contains the documents. | Here, the collection contains documents and the database contains the collections. |
Provides high availability with no single point of failure. | Easy to administer in the case of failure. |
Written in Erlang. | Written in C++. |
Eventually consistent. | Strongly consistent. |
More Secure. | Less Secure. |
Supports master-master replication. | Supports master-slave replication. |
Favors availability. | Favors consistency. |