</>CodexBash
All articles
Databases

Cassandra explained

How Apache Cassandra stores huge amounts of data across many machines: the masterless ring, partition keys and clustering columns, query-first data modelling, replication factor and tunable consistency, the write path with commit log, memtables and SSTables, compaction and tombstones, CQL, and when Cassandra is the right choice.

CodexBash, , 6 min read

Apache Cassandra is a distributed database built for workloads that outgrow a single server: billions of rows, enormous write rates, and data spread across several data centres, with no single point of failure. It was created at Facebook for inbox search, open-sourced in 2008, and now runs at large scale at companies handling messaging, IoT, time series and activity data. Cassandra makes very different trade-offs from a relational database, and using it well requires designing tables around queries rather than around entities. This article explains how it works and how to model data for it.

Sign in to read the rest

The whole 6 minute article is free with an account, along with every problem, lesson and tutorial. No card.