Notice: Constant WP_MEMORY_LIMIT already defined in /home/javawith/public_html/ on line 107

Notice: Constant WP_MAX_MEMORY_LIMIT already defined in /home/javawith/public_html/ on line 108
Difference between CouchDB and MongoDB - CodesJava


Easy learning with example program codes

Difference between CouchDB and MongoDB

Notice: Undefined variable: footnotelist in /home/javawith/public_html/ on line 475

CouchDB vs MongoDB:

A comparative study between CouchDB and MongoDB is presented below:


CouchDB MongoDB
Written in Erlang. Written in C++.
Document-oriented model. Document-oriented model.
Safer. Less Safer.
Eventually consistent. Strongly consistent.
Data is presented in JSON format. Data is presented in BSON format.
Uses HTTP/REST based interface which is intuitive and well designed. Uses binary protocol and custom protocol over TCP/IP.
Database contains documents. Collection contains documents, and collections are stored in database.
Follows Map/Reduce query method. Follows Map/Reduce creating collection plus object-based query language.
Supports master-master replication with custom conflict resolution functions. Supports master-slave replication.
Follows MVCC or Multi Version Concurrency Control. Concurrency: Update in-place.
Favors availability. Favors consistency.


Please follow and like us:

Copyright © 2019 CodesJava Protection Status