All Questions
Cassandra hard

Why would a performance engineer recommend Leveled Compaction Strategy (LCS) over Size-Tiered (STCS) for a read-heavy workload with a high percentage of 'Read-Modify-Write' cycles?

  1. A LCS reduces write amplification to near-zero, making it ideal for high-throughput SATA drives.
  2. B LCS guarantees that 90% of reads are satisfied by a single SSTable lookup (at most one SSTable per level contains the key), significantly reducing the IOPS required for reads.
  3. C LCS disables the use of Bloom Filters, saving significant JVM heap space.
  4. D LCS is specifically designed to work only with spinning hard drives (HDD) by optimizing platter rotation.

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

Get the app

Related questions