Labs
Reading about a storage engine and building one are different activities. These are the second kind. Your code runs in a sandboxed worker in this tab — nothing is uploaded.
5 labsJavaScriptno setup
01 · Foundations
Module02 · Data Models
Module03 · Storage
ModulecoreBuild a Log-Structured Store45 min
The two-line database, done properly — append-only log, in-memory index, tombstones, and compaction that never mutates what it has already written.
coreSparse Lookup and the k-Way Merge50 min
Sorting bought a sparse index and a streaming merge. Write both, including the tombstone rule that stops deleted records rising from the dead.