Apache Cassandra vs. MongoDB
Product | Rating | Most Used By | Product Summary | Starting Price |
---|---|---|---|---|
Cassandra | N/A | Cassandra is a no-SQL database from Apache. | N/A | |
MongoDB | N/A | MongoDB is an open source document-oriented database system. It is part of the NoSQL family of database systems. Instead of storing data in tables as is done in a "classical" relational database, MongoDB stores structured data as JSON-like documents with dynamic schemas (MongoDB calls the format BSON), making the integration of data in certain types of applications easier and faster. | $0.10 million reads |
Apache Cassandra | MongoDB | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Editions & Modules | No answers on this topic |
| ||||||||||||||
Offerings |
| |||||||||||||||
Entry-level Setup Fee | No setup fee | No setup fee | ||||||||||||||
Additional Details | — | Fully managed, global cloud database on AWS, Azure, and GCP | ||||||||||||||
More Pricing Information |
Apache Cassandra | MongoDB | |
---|---|---|
Considered Both Products | Cassandra | MongoDB |
Top Pros | ||
Top Cons |
|
|
Apache Cassandra | MongoDB | |
---|---|---|
Highlights |
Research Team Insight Published Cassandra and MongoDB are NoSQL databases designed to store large amounts of data in a highly scalable way. Cassandra tends to be used by mid-sized companies and larger enterprises, while MongoDB is a popular choice for companies of all sizes. MongoDB is great for smaller businesses due to its affordability and flexible querying. Large enterprises may prefer Cassandra due to its scalability and safeguards against database downtime. FeaturesCassandra and MongoDB both have essential NoSQL database features, but they also have some standout features that set them apart. Cassandra is a highly scalable database solution that can manage large amounts of unstructured data. Additionally, Cassandra utilizes multiple master nodes, so if one node goes down, data availability doesn’t suffer as long as other nodes are available. Cassandra is easy to set up, even without support, in part due to simple data replication capabilities. MongoDB uses a data-oriented data model that makes it straightforward to perform data analysis. Secondary indexes are also supported by MongoDB, which makes querying flexible and fast as long as the queried documents aren’t missing indexes. JavaScript developers will also have an easy time working with MongoDB as it has a robust API with nodeJS. LimitationsAlthough Cassandra and MongoDB both perform basic NoSQL database functions, they both also have some significant limitations that should be considered. Cassandra offers limited support for secondary indexing. As a result, users must query by primary keys. Querying by primary keys limits flexibility in data modeling as data must be structured based on the queries users want to use rather than the structure of the data itself. Administration and management of Cassandra databases can also be taxing as there are frequent rolling updates that are not automated. MongoDB’s indexing allows for quick querying if all indexes are present, but nay missing indexes can result in slowdown as each document in a collection needs to be searched. Additionally, MongoDB only has one master node per cluster. If the master node ever goes down, the data it holds will briefly become unavailable until a new node replaces it. Setup for MongoDB is more complicated than Cassandra, so support may be necessary for some organizations. PricingCassandra is an open-source NoSQL database, so the source code is available for free. Various third-party vendors provide hosting and support for Cassandra, so pricing can vary. Depending on storage and support features, some Cassandra vendors start as low as $0.36 per hour. MongoDB has official support for three different cloud providers, AWS, Google Cloud, and Azure. Pricing depends on the cloud provider chosen, as well as cluster size and storage requirements. MongoDB pricing can start as low as a few cents per hour. |
Apache Cassandra | MongoDB | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NoSQL Databases |
|
Apache Cassandra | MongoDB | |
---|---|---|
Small Businesses | IBM Cloudant Score 8.0 out of 10 | IBM Cloudant Score 8.0 out of 10 |
Medium-sized Companies | IBM Cloudant Score 8.0 out of 10 | IBM Cloudant Score 8.0 out of 10 |
Enterprises | IBM Cloudant Score 8.0 out of 10 | IBM Cloudant Score 8.0 out of 10 |
All Alternatives | View all alternatives | View all alternatives |
Apache Cassandra | MongoDB | |
---|---|---|
Likelihood to Recommend | 6.0 (16 ratings) | 9.4 (78 ratings) |
Likelihood to Renew | 8.6 (16 ratings) | 10.0 (67 ratings) |
Usability | 7.0 (1 ratings) | 9.0 (14 ratings) |
Availability | - (0 ratings) | 9.0 (1 ratings) |
Support Rating | 7.0 (1 ratings) | 9.6 (13 ratings) |
Implementation Rating | 7.0 (1 ratings) | 8.4 (2 ratings) |
Apache Cassandra | MongoDB | |
---|---|---|
Likelihood to Recommend | Apache | MongoDB |
Pros | Apache | MongoDB |
Cons | Apache | MongoDB |
Likelihood to Renew | Apache | MongoDB |
Usability | Apache | MongoDB |
Support Rating | Apache | MongoDB |
Implementation Rating | Apache No answers on this topic | MongoDB |
Alternatives Considered | Apache | MongoDB |
Return on Investment | Apache | MongoDB |
ScreenShots | MongoDB Screenshots |