LSM tree simulator / Change history
Change history
Every change made to LSM tree simulator, newest first, from the site's version history. Each date is the day the change was saved.
-
Rebuild LSM tree simulator on the wiki layout
Details
New model in src/lib/sims/lsm.ts: write-ahead log, memtable, SSTables with real Bloom filters (double hashing, optimal k), and levelled compaction following LevelDB's documented rules or size-tiered compaction. Tested headless against a Map over 6,000 random puts, deletes and gets per configuration; level invariants and live-key counts checked; Bloom false positive rates match the formula. The page draws SSTables by key range, reports write, read and space amplification from the model, replays the same operations when the strategy changes, and generates its comparison tables from the model. Drops several unsourced or wrong claims from the old article (RocksDB Bloom and Ribbon defaults, Cassandra throughput default).
-
add more sims
The same change touched 10 other pages.
Site-wide changes that also touched this page (8)
Changes made to more than 25 pages at once, such as a new layout, a wording pass or a move to a new folder.
-
Replace the staff byline with AI-drafted and review status
Touched 92 pages.
-
Move the simulator tests into the repo and run them in CI
Touched 41 pages.
-
Rewrite site prose in plain language; simulators, homepage, About, footer
Touched 579 pages.
-
add math and history, more content
Touched 183 pages.
-
new content and pages
Touched 144 pages.
-
Update components, cheat sheets, and structure
Touched 444 pages.
-
improve content
Touched 405 pages.
-
update links, content, speed
Touched 268 pages.
What counts as a change to this page
Any saved change to these files, including when they lived in an older folder:
src/routes/simulators/lsm-tree/+page.sveltesrc/lib/sims/lsm.tstests/sims/lsm.test.ts
The descriptions are the notes written when each change was saved, unedited, so older ones can be short.