LSM Tree
A data structure optimized for write-heavy workloads. Maintains data in a series of immutable sorted files merged in the background. Used by LevelDB, RocksDB, and Cassandra.
LSM Trees: Writes First, Compaction Later
Append-only structure that turns random writes into sequential ones and merges in the background.
LSM in Production: RocksDB, Cassandra, and LevelDB
How real engines tune memtables, compaction, and bloom filters.
Advanced LSM: Merge Policies and Range Reads
Compaction strategies in depth, range reads across files, and LSM for time-series.
LSM Trees: Review & Mastery Quiz
Scenario questions on structure, tuning, and strategies.
Free Books & Guides
Refactoring.Guru — LSM Tree
The definitive modern guide to the LSM Tree pattern. Clear explanations, UML diagrams, real-world analogies, and code examples in multiple languages.
SourceMaking — LSM Tree
A comprehensive companion guide covering the LSM Tree pattern with detailed rules of thumb, criticisms, and robust code snippets.
GoF Design Patterns — LSM Tree
The original Gang of Four book describing the pattern. Available in the "Design Patterns: Elements of Reusable Object-Oriented Software" on Wikipedia.
Official Documentation
Video Courses
freeCodeCamp — Design Patterns Course
A comprehensive multi-hour video course covering all major design patterns with implementations in JavaScript and TypeScript.
Design Patterns in Modern JavaScript Playlist
YouTube playlist covering creational, structural, and behavioral patterns with clear code walkthroughs.
Web Dev Simplified — LSM Tree
Clear, concise video tutorials covering design patterns with practical examples.
Practice & Examples
Awesome Low-Level Design (GitHub)
A curated collection of free LLD resources, pattern implementations, and interview problems across multiple languages.
Design Patterns Implementation (GitHub)
The most popular open-source collection of design pattern implementations with detailed explanations.
Refactoring.Guru Examples in LSM Tree
Code examples of the LSM Tree pattern in TypeScript, Python, Java, and more.

