Apache Cassandra

Apache Cassandra

Data modeling, consistency, compaction, repair, vector search 5, multi-DC.

77Articles
77Topics covered
Articles in this category

All 26 articles, sorted alphabetically

Advertisement
ARTICLE · 01

Understanding the CAP Theorem and Cassandra

Distributed systems are the backbone of modern applications, powering everything from social media to online banking.

Read article →
ARTICLE · 02

Cassandra's Vector Search: Unlocking Semantic Understanding

In today’s data-driven world, the ability to search beyond keywords is becoming increasingly crucial.

Read article →
ARTICLE · 03

Cassandra BATCH architecture

Deep-dive on Cassandra BATCH: coordinator load, batchlog table, logged vs unlogged, single-partition atomicity, and the async-concurrency pattern for …

Read article →
ARTICLE · 04

Cassandra bloom filters -- skipping SSTables that can't have the row

Deep-dive on Cassandra bloom filters: the multi-SSTable read problem, probabilistic set-membership, the no-false-negatives property (guaranteed absenc…

Read article →
ARTICLE · 05

Cassandra commit log architecture

Deep-dive on the Cassandra commit log: sequential append-ahead-of-memtable durability, fixed-size segments and rollover, periodic vs batch sync trade-…

Read article →
ARTICLE · 06

Cassandra compaction strategies -- STCS, LCS, and TWCS

Deep-dive on Cassandra compaction strategies: the LSM SSTable-accumulation problem, STCS (size-tiered, write-optimized), LCS (leveled, read-optimized)…

Read article →
ARTICLE · 07

Cassandra consistency levels

Deep-dive on Cassandra's tunable consistency: coordinators and per-request CLs, R+W>RF overlap math, LOCAL_QUORUM vs EACH_QUORUM across datace…

Read article →
ARTICLE · 08

Cassandra Hinted Handoff Architecture in Depth

A 2500-word walkthrough of Cassandra hinted handoff: coordinator stores hints, TTL, delivery, replay, hint storage, relationship to repair.

Read article →
ARTICLE · 09

Cassandra memtable flush architecture

Deep-dive on Cassandra's write path: durability via the append-only commitlog, speed via the in-memory memtable, and the flush that streams a ful…

Read article →
ARTICLE · 10

Cassandra Multi-DC Architecture in Depth

A 2500-word walkthrough of Cassandra multi-DC: DC-aware driver, LOCAL_QUORUM, NetworkTopologyStrategy, async replication, hinted handoff, repair, DR.

Read article →
ARTICLE · 11

Multi-DC Cassandra Topology

Two-region Cassandra deployment. NetworkTopologyStrategy, rack awareness, LOCAL_QUORUM. Full topology with rack layout, snitch config, and replication…

Read article →
ARTICLE · 12

Cassandra Operational Metrics

JMX + Prometheus. Which metrics matter most.

Read article →
ARTICLE · 13

Cassandra paging -- fetching large result sets safely

Deep-dive on Cassandra paging: the large-result problem, page size, the paging-state cursor, driver auto-paging, cursors-not-offsets (efficient at any…

Read article →
ARTICLE · 14

Cassandra Query Tracing

TRACING ON to diagnose slow queries. Understand output.

Read article →
ARTICLE · 15

Cassandra Read Path End-to-End

Detailed walkthrough of a Cassandra read: coordinator selection, replica lookup, MemTable + SSTable merge, Bloom filter, key cache, block cache, read …

Read article →
ARTICLE · 16

Cassandra read repair architecture

Deep-dive on Cassandra read repair: the coordinator compares a full read against replica digests, and on a mismatch reconciles by cell timestamp under…

Read article →
ARTICLE · 17

Cassandra repair architecture

Deep-dive on Cassandra repair: Merkle trees, streaming sessions, full vs incremental, subrange, preview mode, Reaper scheduling, and gc_grace.

Read article →
ARTICLE · 18

Cassandra Storage-Attached Indexing (SAI)

Deep-dive on Cassandra SAI: per-SSTable indexes built at flush time and merged through compaction, index components for text, numeric range, and vecto…

Read article →
ARTICLE · 19

Cassandra secondary indexes -- querying beyond the partition key

Deep-dive on Cassandra secondary indexes: the non-key-query problem, the local (per-node) 2i, scatter-gather across all nodes for global queries, card…

Read article →
ARTICLE · 20

Cassandra snitch architecture

Deep-dive on the Cassandra snitch: why topology awareness is the precondition for surviving rack and datacenter failures, the snitch implementations (…

Read article →
ARTICLE · 21

Cassandra speculative retry architecture

Deep-dive on Cassandra speculative retry: per-table latency tracking, PERCENTILE vs fixed vs ALWAYS/NONE policies, the coordinator hedge to a spare re…

Read article →
ARTICLE · 22

Cassandra SSTable Format Architecture in Depth

A 2500-word walkthrough of Cassandra SSTable format: Data, Index, Summary, Filter, Statistics, CompressionInfo, TOC/Digest, and read path.

Read article →
ARTICLE · 23

Cassandra bootstrap architecture

Deep-dive on Cassandra node bootstrap: token allocation algorithms versus random selection, range calculation and snitch-aware source selection, the z…

Read article →
ARTICLE · 24

Cassandra tombstones

Deep-dive on Cassandra tombstones: deletes as markers in append-only LSM, gc_grace_seconds retention and compaction removal, read-scan impact and quer…

Read article →
ARTICLE · 25

Cassandra vnodes architecture

Deep-dive on Cassandra virtual nodes: how many small tokens per node subdivide the ring, why num_tokens and the rack-aware allocation algorithm contro…

Read article →
ARTICLE · 26

Cassandra Write and Read Path Architecture in Depth

A 2500-word walkthrough of Cassandra's write and read paths: coordinator, consistency level, memtable, SSTable, bloom, compaction, repair, and mu…

Read article →