Difference between Cassandra and MongoDB
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 on 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. MongoDB :
Difference between Cassandra and MongoBD :
|1.||Developed by Apache Software foundation and released on July 2008.||Developed by MongoDB Inc. and initially released on 11 February 2009.|
|3.||Writing scalability in Cassandra is very high and efficient.||Writing scalability is limited in MongoDB|
|4.||Read performance is highly efficient in Cassandra as it takes O(1) time.||Read performance is not that fast in MongoDB when compared to Cassandra.|
|5.||Cassandra has only cursory support for secondary indexes i.e secondary indexing is resticted.||MongoDB does supports the concept of secondary indexes.|
|6.||Cassandra only supports JSON data format.||MongoDB supports both JSON and BSON data formats.|
|7.||The replication method that Cassandra supports is Selectable Replication Factor.||The replication method that MongoDB supports is Master Slave Replication|
|8.||Cassandra does not provides ACID transactions but can be tuned to support ACID properties.||MongoDB provides Multi-document ACID transactions with snapshot isolation.|
|9.||Server operating systems for Cassandra are BSD, Linux, OS X, Windows.||Server operating systems for MongoDB are Solaris, Linux, OS X, Windows.|
|10.||Famous companies like Hulu, Instagram, Intuit, Netflix, Reddit, etc uses Cassandra.||Famous companies like Adobe, Amadeus, Lyft, ViaVarejo, Craftbase, etc uses MongoDB.|
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.