Storage Engines

Write-ahead logs, B-trees and LSM-trees.

All topics · 2 lessons · 22 resources

Learn Storage Engines on System Design Atlas

  1. 01Write-ahead logs, B-trees and LSM-treesHow databases make writes durable and fast: the log first, then two ways of organising data on disk and the trade-offs between them.Advanced Distributed Systems · 13 min read · start here
  2. 02Bitcask: a tiny log-structured key-value storeHow an append-only data file plus an in-memory key directory gives one-seek reads and fast writes, how deletes and merges work, and the limits of the design.Storage, Queues and Real-time · 11 min read

Curated Storage Engines resources

Books

Papers

GitHub

Blogs

Courses

YouTube

Case Studies

Documentation