← All tutorials
Skill Zuno · skillzunos.com · Fullstack
Cassandra tutorial
Learn Cassandra on Skill Zuno. This Cassandra tutorial covers New, Easy, Medium, Hard, and Diff levels so you can study practical Cassandra problems on skillzunos.com.
Open Cassandra on Skill ZunoAlso see the Cassandra interview questions.
Apache Cassandra is a distributed wide-column NoSQL database built for high write throughput and no single point of failure. Data is partitioned across a ring of nodes and replicated with tunable consistency. Cassandra interviews cover data modelling by query, partition and clustering keys, replication, consistency levels, compaction and tombstones.
Cassandra topics covered
- The ring architecture, partitioner and token ranges — How data is spread across nodes using consistent hashing.
- Partition keys and clustering columns — Choosing keys that spread data evenly and keep partitions a manageable size.
- Query-first data modelling and denormalisation — Designing one table per query, and why duplicating data is normal in Cassandra.
- Replication factor and replication strategies — How many copies to keep, and placing them across racks and data centres.
- Tunable consistency: ONE, QUORUM and ALL — Trading consistency against latency and availability for each request.
- The write path: commit log, memtable and SSTables — Why writes are fast and where data lives at each stage.
- Compaction strategies and tombstones — How SSTables are merged, and how deletes are recorded and purged.
- CQL, lightweight transactions and TTL — Querying with CQL, conditional updates with Paxos, and expiring data.
What you can learn
- Cassandra tutorial for beginners and experienced developers
- Level-based practice: New, Easy, Medium, Hard, and Diff
- Fullstack topics alongside Cassandra on skillzunos.com