
Leveled vs Tiered Compaction: Choosing Which Bill Your LSM Tree Pays
Every LSM tree pays for writes, reads and disk space. Compaction decides which bill gets big. Measured on a simulator, then mapped to RocksDB and Cassandra settings.
Distributed systems and database internals derived from first principles.

Every LSM tree pays for writes, reads and disk space. Compaction decides which bill gets big. Measured on a simulator, then mapped to RocksDB and Cassandra settings.
A few bits per key turn eight disk reads into almost none. Then a smarter split of the same memory cuts the waste by another 3x.

Deriving the log-structured merge tree from one constraint: small random writes are expensive.
