Cassandra vs Couchbase vs MongoDB

Cassandra
Cassandra

1.8K
2.6K
441
Couchbase
Couchbase

182
314
54
MongoDB
MongoDB

14.5K
2.7K
3.8K
- No public GitHub repository available -

What is Cassandra?

Partitioning means that Cassandra can distribute your data across multiple machines in an application-transparent matter. Cassandra will automatically repartition as machines are added and removed from the cluster. Row store means that like relational databases, Cassandra organizes data by rows and columns. The Cassandra Query Language (CQL) is a close relative of SQL.

What is Couchbase?

Developed as an alternative to traditionally inflexible SQL databases, the Couchbase NoSQL database is built on an open source foundation and architected to help developers solve real-world problems and meet high scalability demands.

What is MongoDB?

MongoDB stores data in JSON-like documents that can vary in structure, offering a dynamic, flexible schema. MongoDB was also designed for high availability and scalability, with built-in replication and auto-sharding.

Want advice about which of these to choose?Ask the StackShare community!

Why do developers choose Cassandra?
Why do developers choose Couchbase?
Why do developers choose MongoDB?
What are the cons of using Cassandra?
What are the cons of using Couchbase?
What are the cons of using MongoDB?
    Be the first to leave a con
    What companies use Cassandra?
    What companies use Couchbase?
    What companies use MongoDB?
    What are some alternatives to Cassandra, Couchbase, and MongoDB?
    HBase
    Apache HBase is an open-source, distributed, versioned, column-oriented store modeled after Google' Bigtable: A Distributed Storage System for Structured Data by Chang et al. Just as Bigtable leverages the distributed data storage provided by the Google File System, HBase provides Bigtable-like capabilities on top of Apache Hadoop.
    Hadoop
    The Apache Hadoop software library is a framework that allows for the distributed processing of large data sets across clusters of computers using simple programming models. It is designed to scale up from single servers to thousands of machines, each offering local computation and storage.
    Redis
    Redis is an open source, BSD licensed, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.
    MySQL
    The MySQL software delivers a very fast, multi-threaded, multi-user, and robust SQL (Structured Query Language) database server. MySQL Server is intended for mission-critical, heavy-load production systems as well as for embedding into mass-deployed software.
    PostgreSQL
    PostgreSQL is an advanced object-relational database management system that supports an extended subset of the SQL standard, including transactions, foreign keys, subqueries, triggers, user-defined types and functions.
    See all alternatives
    What tools integrate with Cassandra?
    What tools integrate with Couchbase?
    What tools integrate with MongoDB?
      No integrations found
        No integrations found
        Decisions about Cassandra, Couchbase, and MongoDB
        No stack decisions found
        Interest over time
        Reviews of Cassandra, Couchbase, and MongoDB
        No reviews found
        How developers use Cassandra, Couchbase, and MongoDB
        Avatar of Soundcloud
        Soundcloud uses CassandraCassandra

        Stitch is a wrapper around a Cassandra database. It has a web application that provides read-access to the counts through an HTTP API. The counts are written to Cassandra in two distinct ways, and it's possible to use either or both of them:

        • Real-time: For real-time updates, Stitch has a processor application that handles a stream of events coming from a broker and increments the appropriate counts in Cassandra.

        • Batch: The batch part is a MapReduce job running on Hadoop that reads event logs, calculates the overall totals, and bulk loads this into Cassandra.

        Avatar of Tarun Singh
        Tarun Singh uses MongoDBMongoDB

        Used MongoDB as primary database. It holds trip data of NYC taxis for the year 2013. It is a huge dataset and it's primary feature is geo coordinates with pickup and drop off locations. Also used MongoDB's map reduce to process this large dataset for aggregation. This aggregated result was then used to show visualizations.

        Avatar of Trello
        Trello uses MongoDBMongoDB

        MongoDB fills our more traditional database needs. We knew we wanted Trello to be blisteringly fast. One of the coolest and most performance-obsessed teams we know is our next-door neighbor and sister company StackExchange. Talking to their dev lead David at lunch one day, I learned that even though they use SQL Server for data storage, they actually primarily store a lot of their data in a denormalized format for performance, and normalize only when they need to.

        Avatar of Foursquare
        Foursquare uses MongoDBMongoDB

        Nearly all of our backend storage is on MongoDB. This has also worked out pretty well. It's enabled us to scale up faster/easier than if we had rolled our own solution on top of PostgreSQL (which we were using previously). There have been a few roadbumps along the way, but the team at 10gen has been a big help with thing.

        Avatar of AngeloR
        AngeloR uses MongoDBMongoDB

        We are testing out MongoDB at the moment. Currently we are only using a small EC2 setup for a delayed job queue backed by agenda. If it works out well we might look to see where it could become a primary document storage engine for us.

        Avatar of Matt Welke
        Matt Welke uses MongoDBMongoDB

        Used for proofs of concept and personal projects with a document data model, especially with need for strong geographic queries. Often not chosen in long term apps due to chance data model can end up relational as needs develop.

        Avatar of Vital Labs, Inc.
        Vital Labs, Inc. uses CassandraCassandra

        Cassandra is our data management workhorse. It handles all our key-value services, supports time-series data storage and retrieval, securely stores all our audit trails, and backs our Datomic database.

        Avatar of InsideSales.com
        InsideSales.com uses CouchbaseCouchbase

        We use Couchbase heavily in our PowerStandings platform to enable real-time analytics of agent data, as well as data storage for parts of our new Playbooks product.

        Avatar of opening.io
        opening.io uses CouchbaseCouchbase

        Main data storage. Any writes to Couchbase auto-replicate to Elasticsearch (via XDRC) and from there on propagate into the internal Jezebel pipeline via opes.

        Avatar of SocialCops
        SocialCops uses CassandraCassandra

        While we experimented with Cassandra in the past, we are no longer using it. It is, however, open for consideration in future projects.

        Avatar of ShareThis
        ShareThis uses CassandraCassandra

        We are using Cassandra in a few of our apps. One of them is as a count service application to track the number of shares, clicks.. etc

        Avatar of Kaiko
        Kaiko uses CassandraCassandra
        Avatar of Dotmetrics
        Dotmetrics uses CouchbaseCouchbase

        Real-time data interaction on 600000+ rpm.

        How much does Cassandra cost?
        How much does Couchbase cost?
        How much does MongoDB cost?
        Pricing unavailable