Cassandra and MongoDB both are types of NoSQL databases. Cassandra is a distributed database system designed to handle large amount of data and known for its high scalability and high performance. While, MongoDB is document oriented database which also provides high scalability, high performance and automatic scaling.
In terms of simplicity, databases can be divided in two types:
While MongoDB is known for an easy out-of-the-box experience, Cassandra is known for easy to manage at scale.
Following is a list of important differences between them:
Index | Cassandra | Mongodb |
---|---|---|
1) | Cassandra is high performance distributed database system. | MongoDB is cross-platform document-oriented database system. |
2) | Cassandra is written in Java. | MongoDB is written in C++. |
3) | Cassandra stores data in tabular form like SQL format. | MongoDB stores data in JSON format. |
4) | Cassandra is got license by Apache. | MongoDB is got license by AGPL and drivers by Apache. |
5) | Cassandra is mainly designed to handle large amounts of data across many commodity servers. | MongoDB is designed to deal with JSON-like documents and access applications easier and faster. |
6) | Cassandra provides high availability with no single point of failure. | MongoDB is easy to administer in the case of failure. |