📜  Cassandra 和 Redis 的区别

📅  最后修改于: 2021-09-10 02:09:22             🧑  作者: Mango

1. 卡桑德拉:
Cassandra 是一个免费、开源、分布式、广泛的列存储、NoSQL 数据库管理系统。它由 Apache 软件基金会开发,最初于 2008 年 7 月发布。Cassandra 旨在处理跨多个商用服务器的大量数据,提供高可用性且无单点故障。

2. Redis :
Redis 代表远程字典服务器,它是一个内存数据结构项目,实现了具有可选持久性的分布式内存键值数据库。 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.