---
answer: direct
beat: system-design
source: 1 article · updated: August 17, 2026
---

What is the fundamental difference between LSM-trees and B-trees?

B-trees store data in a sorted tree and seek the correct position on disk for every write, causing random I/O that bottlenecks under load. LSM-trees buffer writes in memory, then flush sorted blocks sequentially to disk, converting random writes into sequential I/O that enables millions of writes per second.

Answered in

LSM-Trees vs B-Trees: Why Cassandra Chose Sequential Writes

B-trees seek random disk positions. LSM-trees buffer in memory and flush sequentially, converting random I/O into sequential writes for millions of ops/sec.

Crashtech Editorial August 17, 2026 System Design & Architecture

Read the full analysis

Other questions this article answers

More system design & architecture questions

Every answer on Crashtech is written by the editor of the article it comes from — never auto-summarised. Browse all answers or the System Design & Architecture beat.