Open In App

Difference between Cassandra and Redis

Improve
Improve
Like Article
Like
Save
Share
Report

1. Cassandra :
Cassandra is a free and open-source, distributed, wide column store, NoSQL database management system. It was developed by Apache Software Foundation and initially released in July 2008. Cassandra is designed to handle large amounts of data across many commodity servers, providing high availability with no single point of failure.

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 was 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 Cassandra and 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.


Last Updated : 13 Jul, 2020
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads