Advanced System Design
Q86 / 100

What is "write amplification" in the context of LSM-tree-based storage engines (e.g., used in Cassandra, RocksDB)?

Correct! Well done.

Incorrect.

The correct answer is A) A single logical write can result in multiple physical writes over time due to compaction processes that rewrite data across levels to maintain read efficiency

A

Correct Answer

A single logical write can result in multiple physical writes over time due to compaction processes that rewrite data across levels to maintain read efficiency

Explanation

LSM-trees write data sequentially to immutable files (SSTables) and periodically compact/merge them; this background compaction causes data to be rewritten multiple times, increasing total disk I/O relative to the logical data written.

Progress
86/100