Difference between Cassandra and Redis

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.

Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up


If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.


Article Tags :
Practice Tags :


Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.