1. 沙发座:
Couchbase Server 是一个开源、分布式、多模型 NoSQL 面向文档的数据库软件包,针对交互式应用程序进行了优化。它也被称为 Membase。它由 Couchbase, Inc. 开发,最初于 2010 年 8 月发布。
2. Redis :
Redis 代表远程字典服务器,它是一个内存数据结构项目,实现了具有可选持久性的分布式内存键值数据库。 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. |