We just raised a $30M Series A: Read our story
2021-09-28T19:18:00Z

What are the advantages and disadvantages of Cassandra vs MongoDB?

31

Is one more resilient than the other?

How supportive are the communities?

Which use cases are better for each?

ITCS user
Guest
22 Answers

author avatar
Top 20User

Hi, everyone. In my humble opinion, both Cassandra and MongoDB are great data engines, each one with their won particular features, characteristics, and use cases.


Cassandra is a distributed database management system. It's a key-value store, like Redis. It's also a NoSQL engine, with great performance, availability, and scalability (horizontally, it's really good). It's highly fault tolerance with no single point of failure, mainly because of its architecture where all nodes do everything with no need for a master node. Also provides very fast data writes allowing real-time processing of big data. The "value" can be collections, and that a key difference with other key-value stores. Cassandra does not provide netie ACID transactions. Cassandra's community is very active and supportive. Its best use cases should involved real-time writing scenarios, and of course, the ability to find "something" based on a given key, although it also supports indexes. It is very important to notice that Cassandra does not provide aggregation of data through group by, sum, min or max: any aggregation must be pre-computed and stored.Cassandra does not provide sorting on non-key fields nor joining tables.


MongoDB is a document-based store, which now can provide ACID transactions and with a remarkable availability, scalability, and stability features. I wrote a review on MongoDB you can find in the following link:https://www.itcentralstation.c... 


2021-10-01T16:17:59Z
author avatar
Community Manager

Hi @Ara Sadoyan@Sarvesh Sharma, @Nadeem-Akhtar, @Yevhen Ikonnykov and @Ossama Benaziz,


Can you please chime in and share your professional advice with the community? 


Thanks. 

2021-10-04T07:42:39Z
Find out what your peers are saying about Cassandra vs. MongoDB and other solutions. Updated: November 2021.
554,382 professionals have used our research since 2012.