Open source distributed NoSQL database built for scale and high availability
open sourceApache-2.0self-hostablefree
Apache Cassandra is an open source NoSQL distributed database from the Apache Software Foundation, built for applications that manage massive amounts of data and can't afford to lose it. It has a masterless architecture where every node is identical, so there is no single point of failure; read and write throughput grow linearly as you add machines, without downtime; and it replicates across multiple datacenters, public or private clouds and on-premises, so it can survive an entire datacenter outage with no data loss. You query it with CQL, which is similar to SQL but suited to Cassandra's JOINless data model, and choose synchronous or asynchronous replication for each update. Cassandra 5.0 added storage attached indexes, vector search, trie memtables and SSTables, the unified compaction strategy and dynamic data masking. Operators get audit logging and fqltool to capture and replay production workloads. Netflix, Bloomberg and Backblaze describe their use of it on the project's site.
Ways to install
Package managers
Problems it solves
- a database that scales writes linearly across many machines
- survive a whole datacenter outage without losing data
- replicate a database across multiple regions or datacenters
- store massive amounts of data with high write throughput
- an open source NoSQL database with no single point of failure
- vector search in a distributed database
Features
- masterless architecture with no single point of failure
- linear read and write scalability with no downtime when adding nodes
- multi-datacenter replication
- CQL query language
- tunable synchronous or asynchronous replication per update
- hinted handoff and read repair
- storage attached indexes and vector search (5.0)
- dynamic data masking (5.0)
- audit logging and fqltool workload capture and replay
- zero copy streaming for faster scaling
Limitations
- CQL has no joins: data is modelled around queries.2
Capabilities
| Has a command line tool | plan not known |
|---|
Alternatives
The same job
These do what Apache Cassandra does.
- Amazon DynamoDB Serverless, fully managed, distributed NoSQL database with single-digit millisecond performance at any scale
- Apache HBase Distributed, versioned wide-column store on Hadoop for billions of rows
- ScyllaDB A high-throughput, low-latency NoSQL database compatible with Apache Cassandra and Amazon DynamoDB
- FoundationDB The open source, distributed, transactional key-value store
