Open In App

Difference between CouchDB and Redis

Last Updated : 14 Jul, 2020
Improve
Improve
Like Article
Like
Save
Share
Report

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.


Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads