All Questions
Cassandra hard

For a Time-Series workload where 1 billion metrics are stored daily and deleted after 30 days via TTL, why is TWCS significantly more efficient than LCS or STCS?

  1. A It uses AI to predict when a node will crash.
  2. B Zero-Impact Deletions: It isolates data into time-based SSTables (buckets). Once the entire window expires, Cassandra can simply drop the physical file from the OS, bypassing the row-by-row tombstone compaction process entirely.
  3. C It allows the database to run without a Commit Log.
  4. D It prevents the disk from rotating too fast.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions