Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Cassandra
Cassandra

2.7K
2.3K
+ 1
454
Hadoop
Hadoop

1.5K
1.4K
+ 1
53
Add tool

Cassandra vs Hadoop: What are the differences?

What is Cassandra? A partitioned row store. Rows are organized into tables with a required primary key. 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 Hadoop? Open-source software for reliable, scalable, distributed computing. 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.

Cassandra and Hadoop can be categorized as "Databases" tools.

"Distributed" is the primary reason why developers consider Cassandra over the competitors, whereas "Great ecosystem" was stated as the key factor in picking Hadoop.

Cassandra and Hadoop are both open source tools. Hadoop with 9.26K GitHub stars and 5.78K forks on GitHub appears to be more popular than Cassandra with 5.27K GitHub stars and 2.35K GitHub forks.

According to the StackShare community, Cassandra has a broader approval, being mentioned in 342 company stacks & 239 developers stacks; compared to Hadoop, which is listed in 237 company stacks and 127 developer stacks.

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 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.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose Cassandra?
Why do developers choose Hadoop?

Sign up to add, upvote and see more prosMake informed product decisions

    Be the first to leave a con
      Be the first to leave a con
      What companies use Cassandra?
      What companies use Hadoop?

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with Cassandra?
      What tools integrate with Hadoop?

      Sign up to get full access to all the tool integrationsMake informed product decisions

      What are some alternatives to Cassandra and Hadoop?
      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.
      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.
      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.
      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
      Decisions about Cassandra and Hadoop
      StackShare Editors
      StackShare Editors
      Prometheus
      Prometheus
      Chef
      Chef
      Consul
      Consul
      Memcached
      Memcached
      Hack
      Hack
      Swift
      Swift
      Hadoop
      Hadoop
      Terraform
      Terraform
      Airflow
      Airflow
      Apache Spark
      Apache Spark
      Kubernetes
      Kubernetes
      gRPC
      gRPC
      HHVM (HipHop Virtual Machine)
      HHVM (HipHop Virtual Machine)
      Presto
      Presto
      Kotlin
      Kotlin
      Apache Thrift
      Apache Thrift

      Since the beginning, Cal Henderson has been the CTO of Slack. Earlier this year, he commented on a Quora question summarizing their current stack.

      Apps
      • Web: a mix of JavaScript/ES6 and React.
      • Desktop: And Electron to ship it as a desktop application.
      • Android: a mix of Java and Kotlin.
      • iOS: written in a mix of Objective C and Swift.
      Backend
      • The core application and the API written in PHP/Hack that runs on HHVM.
      • The data is stored in MySQL using Vitess.
      • Caching is done using Memcached and MCRouter.
      • The search service takes help from SolrCloud, with various Java services.
      • The messaging system uses WebSockets with many services in Java and Go.
      • Load balancing is done using HAproxy with Consul for configuration.
      • Most services talk to each other over gRPC,
      • Some Thrift and JSON-over-HTTP
      • Voice and video calling service was built in Elixir.
      Data warehouse
      • Built using open source tools including Presto, Spark, Airflow, Hadoop and Kafka.
      Etc
      See more
      Interest over time
      Reviews of Cassandra and Hadoop
      No reviews found
      How developers use Cassandra and Hadoop
      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 Pinterest
      Pinterest uses HadoopHadoop

      The MapReduce workflow starts to process experiment data nightly when data of the previous day is copied over from Kafka. At this time, all the raw log requests are transformed into meaningful experiment results and in-depth analysis. To populate experiment data for the dashboard, we have around 50 jobs running to do all the calculations and transforms of data.

      Avatar of Yelp
      Yelp uses HadoopHadoop

      in 2009 we open sourced mrjob, which allows any engineer to write a MapReduce job without contending for resources. We’re only limited by the amount of machines in an Amazon data center (which is an issue we’ve rarely encountered).

      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 Pinterest
      Pinterest uses HadoopHadoop

      The massive volume of discovery data that powers Pinterest and enables people to save Pins, create boards and follow other users, is generated through daily Hadoop jobs...

      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 Robert Brown
      Robert Brown uses HadoopHadoop

      Importing/Exporting data, interpreting results. Possible integration with SAS

      Avatar of Rohith Nandakumar
      Rohith Nandakumar uses HadoopHadoop

      TBD. Good to have I think. Analytics on loads of data, recommendations?

      How much does Cassandra cost?
      How much does Hadoop cost?
      Pricing unavailable
      Pricing unavailable