LSM Tree (Log-Structured Merge Tree) Simulator — Interactive System Design Lab
Write records and watch them accumulate in the memtable, flush to SSTables, and compact through levels. Understand why LSM trees offer excellent write throughput and how compaction keeps read performance from degrading.
Understand how write-optimised storage engines like RocksDB work.
This free interactive simulation runs directly in your browser — no account needed. Adjust the parameters and watch how the system responds in real time.
Concepts covered
- LSM tree
- log structured merge tree
- RocksDB
- SSTable
- memtable
- compaction
- write optimized storage
Read the guide
- Databases: SQL vs NoSQL — The heart of your architecture. Choosing the wrong database is the most expensive mistake you can make. Learn the 5 families of databases and when to use them.
Related articles
- Top 10 System Design Interview Questions — The most frequently asked system design interview questions — URL shortener, rate limiter, key-value store, news feed, chat, and more — with the approach, key trade-offs, and follow-up questions interviewers actually ask for each one.