StackShareStackShare
Follow on
StackShare

Discover and share technology stacks from companies around the world.

Follow on

© 2025 StackShare. All rights reserved.

Product

  • Stacks
  • Tools
  • Feed

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  1. Stackups
  2. Application & Data
  3. NoSQL Databases
  4. NOSQL Database As A Service
  5. Amazon DynamoDB vs Cassandra vs HBase

Amazon DynamoDB vs Cassandra vs HBase

OverviewDecisionsComparisonAlternatives

Overview

Amazon DynamoDB
Amazon DynamoDB
Stacks4.0K
Followers3.2K
Votes195
Cassandra
Cassandra
Stacks3.6K
Followers3.5K
Votes507
GitHub Stars9.5K
Forks3.8K
HBase
HBase
Stacks511
Followers498
Votes15
GitHub Stars5.5K
Forks3.4K

Amazon DynamoDB vs Cassandra vs HBase: What are the differences?

Introduction

In this article, we will compare the key differences between Amazon DynamoDB, Cassandra, and HBase, three popular NoSQL databases. Each of these databases has its own strengths and use cases, and understanding their differences can help in making the right choice for specific requirements.

  1. Data Model:

Amazon DynamoDB is a document-oriented database wherein each item can have its own unique set of attributes. It provides flexibility in schema design and allows for easy scaling.

Cassandra follows a column-oriented data model, with each row organized into a collection of columns. It offers flexible schema design and high write throughput, making it suitable for write-intensive applications.

HBase is a columnar database that also follows the column-oriented data model. It is designed to handle large amounts of structured and semi-structured data efficiently, providing low latency reads.

  1. Scalability:

DynamoDB provides automatic scaling both in terms of read and write operations. It adjusts the capacity to handle the varying load automatically, making it highly scalable.

Cassandra also offers seamless scalability by distributing data across several nodes. It utilizes a master-less architecture, allowing for linear scalability as the number of nodes increases.

HBase is horizontally scalable and can handle large amounts of data. It can be scaled by adding more nodes to the cluster, ensuring high availability and fault tolerance.

  1. Consistency Model:

DynamoDB offers eventual consistency by default but allows developers to choose strong consistency when required for specific read operations.

Cassandra provides tunable consistency, allowing developers to choose the level of consistency they need for each read and write operation. It offers eventual consistency and strong consistency options.

HBase supports strong consistency with immediate visibility for both reads and writes. It ensures data consistency by default, making it suitable for applications that require strong consistency guarantees.

  1. Data Replication:

DynamoDB automatically replicates data across multiple availability zones for high availability and durability. It is designed for multi-region replication and provides automatic failover.

Cassandra allows for data replication across multiple nodes, enabling fault tolerance and availability. It supports various replication strategies, including datacenter-aware and rack-aware replication.

HBase replicates data across multiple region servers to ensure high availability and fault tolerance. It provides synchronous replication with strong consistency guarantees.

  1. Query Language:

DynamoDB uses a proprietary query language called Amazon DynamoDB Query Language (DQL). It provides a flexible and expressive syntax for querying data, including support for filtering, sorting, and pagination.

Cassandra uses Cassandra Query Language (CQL), which is similar to SQL, to interact with the database. CQL allows developers to perform complex queries and supports features like filtering, ordering, and aggregations.

HBase does not have a specific query language and primarily relies on scanning the entire dataset or using index tables for retrieving data.

  1. Use Cases:

DynamoDB is well-suited for use cases that require low-latency access, high scalability, and flexible schema design, such as real-time applications, gaming, and mobile apps.

Cassandra is suitable for write-intensive applications that require high availability, fault tolerance, and fast writes, such as messaging platforms, IoT data ingestion, and time-series data.

HBase is often used in applications that require random, real-time read/write access to large amounts of structured and semi-structured data, such as social media analytics, fraud detection, and log processing.

In Summary, Amazon DynamoDB, Cassandra, and HBase differ in their data models, scalability options, consistency models, data replication strategies, query languages, and use cases. Understanding these differences is crucial in choosing the right NoSQL database for specific requirements.

Share your Stack

Help developers discover the tools you use. Get visibility for your team's tech choices and contribute to the community's knowledge.

View Docs
CLI (Node.js)
or
Manual

Advice on Amazon DynamoDB, Cassandra, HBase

Doru
Doru

Solution Architect

Jun 9, 2019

ReviewonAmazon DynamoDBAmazon DynamoDB

I use Amazon DynamoDB because it integrates seamlessly with other AWS SaaS solutions and if cost is the primary concern early on, then this will be a better choice when compared to AWS RDS or any other solution that requires the creation of a HA cluster of IaaS components that will cost money just for being there, the costs not being influenced primarily by usage.

1.37k views1.37k
Comments
emile
emile

developer at workjam

Nov 27, 2019

Decided

6 months ago we finished migrating the Workjam channels module datastore. Reasons for the switch was frustrations with AWS read/write capacities being frequently exceeded because of unplanned explosive growth, hard limitations on batch updates and interesting Cassandra features such as consistency tuning and Datastax's Solr integration. The decision to use Cassandra might not have been the most practical one as our needs would probably have been better served by a document store such as MongoDB, as we are not dealing with intense document update operations, but Cassandra was used throughout the company and the aim of stack uniformity was favoured over functional needs. We implemented the migration with the aim of incurring no downtime and the ability to rollback by sending write commands over AMQP. Overall the migration went smoothly, the devs learned all the powers of Cassandra and got acquainted with its many constraints. Datastax's Solr integration made the search implementation very simple but we were very disappointed in some of Datastax's Solr integration limitations (ex: search highlights being deprecated).

4.01k views4.01k
Comments
Vinay
Vinay

Head of Engineering

Sep 19, 2019

Needs advice

The problem I have is - we need to process & change(update/insert) 55M Data every 2 min and this updated data to be available for Rest API for Filtering / Selection. Response time for Rest API should be less than 1 sec.

The most important factors for me are processing and storing time of 2 min. There need to be 2 views of Data One is for Selection & 2. Changed data.

174k views174k
Comments

Detailed Comparison

Amazon DynamoDB
Amazon DynamoDB
Cassandra
Cassandra
HBase
HBase

With it , you can offload the administrative burden of operating and scaling a highly available distributed database cluster, while paying a low price for only what you use.

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.

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.

Automated Storage Scaling – There is no limit to the amount of data you can store in a DynamoDB table, and the service automatically allocates more storage, as you store more data using the DynamoDB write APIs;Provisioned Throughput – When creating a table, simply specify how much request capacity you require. DynamoDB allocates dedicated resources to your table to meet your performance requirements, and automatically partitions data over a sufficient number of servers to meet your request capacity;Fully Distributed, Shared Nothing Architecture
--
Statistics
GitHub Stars
-
GitHub Stars
9.5K
GitHub Stars
5.5K
GitHub Forks
-
GitHub Forks
3.8K
GitHub Forks
3.4K
Stacks
4.0K
Stacks
3.6K
Stacks
511
Followers
3.2K
Followers
3.5K
Followers
498
Votes
195
Votes
507
Votes
15
Pros & Cons
Pros
  • 62
    Predictable performance and cost
  • 56
    Scalable
  • 35
    Native JSON Support
  • 21
    AWS Free Tier
  • 7
    Fast
Cons
  • 4
    Only sequential access for paginate data
  • 1
    Document Limit Size
  • 1
    Scaling
Pros
  • 119
    Distributed
  • 98
    High performance
  • 81
    High availability
  • 74
    Easy scalability
  • 53
    Replication
Cons
  • 3
    Reliability of replication
  • 1
    Updates
  • 1
    Size
Pros
  • 9
    Performance
  • 5
    OLTP
  • 1
    Fast Point Queries
Integrations
Amazon RDS for PostgreSQL
Amazon RDS for PostgreSQL
PostgreSQL
PostgreSQL
MySQL
MySQL
SQLite
SQLite
Azure Database for MySQL
Azure Database for MySQL
No integrations availableNo integrations available

What are some alternatives to Amazon DynamoDB, Cassandra, HBase?

MongoDB

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.

MySQL

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

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.

Microsoft SQL Server

Microsoft SQL Server

Microsoft® SQL Server is a database management and analysis system for e-commerce, line-of-business, and data warehousing solutions.

SQLite

SQLite

SQLite is an embedded SQL database engine. Unlike most other SQL databases, SQLite does not have a separate server process. SQLite reads and writes directly to ordinary disk files. A complete SQL database with multiple tables, indices, triggers, and views, is contained in a single disk file.

Memcached

Memcached

Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls, or page rendering.

MariaDB

MariaDB

Started by core members of the original MySQL team, MariaDB actively works with outside developers to deliver the most featureful, stable, and sanely licensed open SQL server in the industry. MariaDB is designed as a drop-in replacement of MySQL(R) with more features, new storage engines, fewer bugs, and better performance.

RethinkDB

RethinkDB

RethinkDB is built to store JSON documents, and scale to multiple machines with very little effort. It has a pleasant query language that supports really useful queries like table joins and group by, and is easy to setup and learn.

ArangoDB

ArangoDB

A distributed free and open-source database with a flexible data model for documents, graphs, and key-values. Build high performance applications using a convenient SQL-like query language or JavaScript extensions.

InfluxDB

InfluxDB

InfluxDB is a scalable datastore for metrics, events, and real-time analytics. It has a built-in HTTP API so you don't have to write any server side code to get up and running. InfluxDB is designed to be scalable, simple to install and manage, and fast to get data in and out.

Related Comparisons

Bootstrap
Materialize

Bootstrap vs Materialize

Laravel
Django

Django vs Laravel vs Node.js

Bootstrap
Foundation

Bootstrap vs Foundation vs Material UI

Node.js
Spring Boot

Node.js vs Spring-Boot

Liquibase
Flyway

Flyway vs Liquibase