Databases · Multiple choice

A service ingests millions of small writes a second and reads them rarely. Which storage engine design suits it best?

hard Storage

Options

Why

LSM trees (Cassandra, RocksDB) turn random writes into sequential appends, which is far faster on disk. They pay for it on reads, which may check several files, and with background compaction.

Review this in your daily deck All cards in Databases