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.

2 changes to this page · 8 site-wide changes · first saved 26 May 2026

  1. 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).

  2. 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.

  1. Replace the staff byline with AI-drafted and review status

    Touched 92 pages.

  2. Move the simulator tests into the repo and run them in CI

    Touched 41 pages.

  3. Rewrite site prose in plain language; simulators, homepage, About, footer

    Touched 579 pages.

  4. add math and history, more content

    Touched 183 pages.

  5. new content and pages

    Touched 144 pages.

  6. Update components, cheat sheets, and structure

    Touched 444 pages.

  7. improve content

    Touched 405 pages.

  8. 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.svelte
  • src/lib/sims/lsm.ts
  • tests/sims/lsm.test.ts

The descriptions are the notes written when each change was saved, unedited, so older ones can be short.