📜  Cassandra和Redis之间的区别

📅  最后修改于: 2021-08-27 18:26:56             🧑  作者: Mango

1.卡桑德拉(Cassandra):
Cassandra是一个免费的开放源代码的分布式宽列存储NoSQL数据库管理系统。它由Apache Software Foundation开发,最初于2008年7月发布。Cassandra旨在处理许多商用服务器上的大量数据,提供高可用性而没有单点故障。

2. Redis:
Redis代表Remote Dictionary Server,它是一个内存中数据结构项目,实现了具有可选持久性的分布式内存中键值数据库。 Redis由Redis实验室开发,最初于2009年5月10日发布。它是用ANSI和C语言编写的。 Redis提供了内存效率,快速的操作速度,高可用性,并提供了一些功能,例如持久性,复制,集群等。

Cassandra和Redis之间的区别:

S.No. CASSANDRA REDIS
1. It was developed by Apache Software Foundation and released in July 2008. It was developed by Redis labs and initially released on May 10, 2009.
2. Cassandra is written only in Java language. Redis is written in ANSI and C languages.
3. The primary database model for Cassandra is Wide Column Store. The primary database model for Redis is Key-Value Store.
4. The secondary indexes in Cassandra is restricted. Redis supports secondary indexes with RediSearch module only.
5. There is no server-side scripting in Cassandra. The Server-side scripting in Redis is through Lua.
6. It supports Selectable Replication Factor replication method. It supports Master-Slave Replication and Multi-Master Replication.
7. It supports Map Reduce method. It does not support Map Reduce method.
8. It does not have any in-memory capabilities. It has in-memory capabilities.
9. Server operating systems for Cassandra are BSD, Linux, OS X, Windows. Server operating systems for Redis are BDS, Linux, OS X and Windows.
10. Famous companies like GitHub, Hulu, Instagram, Reddit, The Weather Channel, etc uses Cassandra. Famous companies like Snapchat, Craigslist, Digg, StackOverflow, Flickr, etc uses Redis.