Skip to content
LSM-Trees Explained: How Databases Trade Writes for Pain episode artwork

Jan 25, 2026 13 min

LSM-Trees Explained: How Databases Trade Writes for Pain

from Future Is Already Here Hosted by Eksplain

In this episode, we dive into LSM-trees, the write-optimized data structure behind Cassandra, Bigtable, HBase, and RocksDB and explain how a design meant to make writes fast reshaped modern databases. We compare LSM-trees to B-trees, unpack compaction and write amplification, explain why Bloom filters exist, and talk about the hidden costs that show up under real-world load. If you’ve ever tuned RocksDB or wondered why latency spikes appear out of nowhere, this episode will make those behaviors finally make sense. References: This episode draws primarily from the following papers: Organization and maintenance of large ordered indicesby R. Bayer and E. McCreight The Log-Structured Merge-Tree (LSM-Tree)by Patrick O'Neil1, Edward Cheng2Dieter Gawlick3, Elizabeth O'Neil1 The paper references several other important works in this field. Please refer to the full papers for acomprehensive list. Disclaimer: Please note that parts or all this episode was generatedby AI. While the content is intended to be accurate and informative, it isrecommended that you consult the original research papers for a comprehensiveunderstanding.

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

LSM-Trees Explained: How Databases Trade Writes for Pain

0:00 13:37

No transcript yet.

Requests help us decide what to transcribe next.

Frequently asked questions

How long is this episode of Future Is Already Here?

This episode is 13 minutes long.

When was this Future Is Already Here episode published?

This episode was published on January 25, 2026.

Can I download this Future Is Already Here episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.