Skip to content

Apache Cassandra

Distributed wide-column database for teams that need multi-datacenter replication without

Permissive (OSI) · Apache-2.0
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

63

Health

Active

Overview

Stars

10,154

Last commit

2 days ago

Nov 2026

Repository age

17 years

since May 2009

Latest version

–

Contributors

–

21 active in 90 days

Releases

0

last 12 months

Language

Java

Apache Cassandra is a distributed database that partitions rows across many machines. Rows live in tables with a required primary key, and you query them with the Cassandra Query Language, which is close to SQL. When you add or remove nodes, it repartitions data across the cluster automatically.

It is written in Java and runs on Linux and macOS. You unpack the archive, start the server with bin/cassandra, and connect with the cqlsh shell, which needs Python. Docker images are published as well. The project has been developed since 2009 under the Apache-2.0 license.

Cassandra is a self-hosted equivalent to Amazon DynamoDB. It suits teams that want multi-datacenter replication and no cloud vendor lock-in. There is no fully managed first-party cloud service. Multi-record ACID transactions are weaker, and running a cluster takes operational work and tuning.

Who it's for

Teams leaving DynamoDB for their own infrastructure

It is a self-hosted wide-column store without AWS lock-in.

Skip if: You want a fully managed service with no cluster operations.

Operators of multi-datacenter systems

It replicates data across datacenters and repartitions as nodes join or leave.

Skip if: Your data fits on one server.

Developers familiar with SQL

CQL looks like SQL, so tables, rows and columns feel familiar.

Skip if: You rely on strong multi-record ACID transactions.

The problem it solves

Managed NoSQL services tie you to one cloud and bill for scale. Cassandra lets you spread large data sets across machines you control, in one or several datacenters.

Strengths

  • Distributes data across machines and repartitions as nodes change
  • CQL is a close relative of SQL
  • Developed since 2009 under the Apache-2.0 license
  • Runs as a self-hosted cluster on Linux and macOS
  • Docker images are available

Trade-offs

  • No fully managed first-party cloud service
  • Weaker multi-record ACID transactions
  • Needs cluster operations and tuning
  • Requires a supported Java version

Apache Cassandra replaces

Self-host Apache Cassandra

Self-hostable
Yes

Quick start

$ tar -zxvf apache-cassandra-$VERSION.tar.gz
$ cd apache-cassandra-$VERSION
$ bin/cassandra -f

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is Apache Cassandra free?

Yes. It is open source under the Apache-2.0 license.

Can I self-host it?

Yes. You can run it on your own Linux or macOS machines, as a single node or a cluster.

What do I need to run it?

A supported Java version, and Python for the cqlsh shell.

Is it a replacement for DynamoDB?

It is a self-hosted equivalent for many uses. It offers no managed first-party cloud service.

Apache Cassandra compared

Other Amazon DynamoDB alternatives

Compare all 3 Amazon DynamoDB alternatives →

Similar tools in NoSQL databases

dgraph

NoSQL databases

Distributed GraphQL graph database for teams running connected data on Linux clusters

22k 1.6k 4 days ago Thriving Apache-2.0

Replaces Neo4J

Garnet

NoSQL databases

RESP-compatible cache-store in C# for teams that want Redis clients with

12k 725 today Thriving MIT

Replaces Redis

KeyDB

NoSQL databases

Multithreaded Redis fork for teams wanting higher throughput on the same hardware

13k 677 3 years ago Dormant BSD-3-Clause

kapacitor

NoSQL databases

Stream and batch processing and alerting engine for InfluxDB time series data

2.4k 475 7 days ago Thriving MIT

OpenTSDB

NoSQL databases

Time series database on HBase for storing large volumes of system metrics

5.1k 1.2k 2 years ago Dormant LGPL-2.1

HelixDB

NoSQL databases

Graph database with built-in vector and keyword search for AI app developers

6.3k 402 yesterday Thriving Apache-2.0