A storage layout that buffers writes and coalesces sorted runs in the background.

LSM trees swallow random writes

A B-tree updates a page where the row lives, which means a random-key write pattern turns into a random-page write pattern. An LSM tree refuses that trade: it appends, and rewrites in bulk later. Everything else about the design — the memtable, the bloom filters, the compaction policy — follows from that one refusal. ...

November 2, 2027 · 4 min · XB Field Notes