1. Couchbase:
Couchbase Server是一个开放源代码,分布式,多模型,NoSQL,面向文档的数据库软件包,已针对交互式应用程序进行了优化。它也被称为Membase。它由Couchbase,Inc.开发,最初于2010年8月发布。
2. Redis:
Redis代表Remote Dictionary Server,它是一个内存中数据结构项目,实现了具有可选持久性的分布式内存中键值数据库。 Redis由Redis实验室开发,最初于2009年5月10日发布。它是用ANSI和C语言编写的。 Redis提供了内存效率,快速的操作速度,高可用性,并提供了一些功能,例如持久性,复制,集群等。
Couchbase和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. |