All Questions
Cassandra hard

When Cassandra searches for a key in an SSTable, it uses the 'Partition Summary'. What is the specific role of the Summary compared to the 'Partition Index'?

  1. A The Summary is stored on disk and the Index is stored in the JVM heap.
  2. B The Summary is a sampling of the Index (e.g., every 128th key) kept in-memory; it provides the offset range to scan in the physical on-disk 'Partition Index' file.
  3. C The Summary is used only for writes, while the Index is used only for reads.
  4. D The Summary is a copy of the Bloom Filter used to double-check results.

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

Get the app

Related questions