1. Couchbase :
Couchbase Server is an open-source, distributed multi-model NoSQL document-oriented database software package that is optimized for interactive applications. It is also known as Membase. It was developed by Couchbase, Inc. and initially released on August 2010.
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 is 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 tenability, replication, clustering, etc.
Difference between Couchbase and Redis :
S.No. |
COUCHBASE |
REDIS |
1. |
It was developed by Couchbase, Inc. and initially released on August 2010. |
It developed by Redis labs and initially released on May 10, 2009. |
2. |
It is written in C++, Erlang, C and Go languages. |
It is written in ANSI and C languages. |
3. |
The primary database model for Couchbase is Document Store. |
The primary database model for Redis is Key-Value store. |
4. |
It supports secondary indexes without any restrictions. |
It supports secondary indexes only with RediSearch module. |
5. |
It supports Declarative query language (N1QL) that extends ANSI SQL to JSON. |
It do not have SQL support. |
6. |
The Server-side scripting in Couchbase is via the Functions and timers in JavaScript. |
The Server-side scripting in Redis is through Lua. |
7. |
It does have Triggers. |
It does not have Triggers. |
8. |
It supports Map Reduce method. |
It does not support Map Reduce method. |
9. |
It supports Master-Slave Replication and Master-Master Replication. |
It supports Master-Slave Replication and Multi-Master Replication. |
10. |
Server operating systems for Couchbase are Linux, OS X and Windows. |
Server operating systems for Redis are BDS, Linux, OS X, Windows. |
11. |
Famous companies like Lockwood Publishing, Code Weavers, MSLGROUP, The Doyle Group, etc uses Couchbase. |
Famous companies like Snapchat, Craigslist, Digg, StackOverflow, Flickr, etc uses Redis. |