Please explain couchdb vs mongodb?
S.no | CouchDB | MongoDB |
---|---|---|
1. | In CouchDB, the records are stored in the documents in the database. | In MongoDB, the records are stored in the collection in the database |
2. | Master-Master replication in CouchDB | Master-Slave replication in MongoDB |
3. | CouchDB is written in Erlang | MongoDB is written in C++ |
4. | In CouchDB, the interface is REST/HTTP | In MongoDB, the interface is TCP/IP Custom Protocol |
5. | Slower than MongoDB | Faster than CouchDB |
BY Best Interview Question ON 26 Mar 2019