Difference between CouchDB and Redis

1. CouchDB :
Apache CouchDB is an open-source document-oriented NoSQL database that uses multiple formats and protocols to store, transfer, and process its data, it uses JSON to store data, JavaScript as its query language using MapReduce, and HTTP for an API. It was developed by Apache Software Foundation and initially released in 2005. It is written in Erlang.

2. Redis :
Redis stands for Remote Dictionary Server which is an in-memory data structure project implementing a distributed, in-memory key-value database with optional durability. Redis was developed by Redis labs and initially released on May 10, 2009. It is written in ANSI and C languages. Redis offers memory efficiency, fast operating speed, high availability and provides some features like tunability, replication, clustering, etc.



Difference Between CouchDB and Redis :

S.No. COUCHDB REDIS
1. It was developed by Apache Software Foundation and initially released in 2005. It was developed by Redis labs and initially released on May 10, 2009.
2. It is written in Erlang. It is written in ANSI and C languages.
3. The primary database model for CouchDB is Document Store. The primary database model for Redis is Key-Value Store.
4. It supports secondary indexes via views only. It supports secondary indexes with RediSearch module only.
5. In CouchDB, there is no predefined datatypes. It supports predefined datatypes.
6. The Server-side scripting in CouchDB is through JavaScript. The Server-side scripting in Redis is through Lua.
7. It supports Map Reduce method. It does not support Map Reduce method.
8. It does not have in-memory capabilities. It have in-memory capabilities.
9. It supports both Master-Slave Replication and Master-Master Replication. It supports both Master-Slave Replication and Multi-Master Raeplication.
10. Server operating systems for CouchDB are Android, BSD, Linux, OS X, Solaris and Windows Server operating systems for Redis are BDS, Linux, OS X and Windows.
11. Famous companies like Twinkl Educational Publishing, Merrill Corporation, ASOS.com Limited, Owler, Inc., etc use Redis. Famous companies like Akamai Technologies, Hothead Games, Inc., GenCorp Technologies, Vivint Solar, etc uses CouchDB.

Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up


If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.


Article Tags :
Practice Tags :


Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.