Dev vibe-codes shaledb: an LSM-tree KV store built on Cloudflare R2 and Durable Objects

samgoodwin89 · x · 2026-11-28

Developer dillonmulroy spent a few days vibe-coding shaledb (inspired by SlateDB), an LSM-tree key-value store built on Cloudflare R2, Durable Objects and Workflows, with a full interactive architecture doc. Writes are durable once the writer Durable Object's SQLite table (acting as both WAL and memtable) commits; flushes upload L0 SSTs to R2 with CAS-versioned manifests, and a Cloudflare Workflow runs compaction. The lsm-core layer has zero Cloudflare imports, and the write path, crash and fencing cases are documented step by step.

Original post →

More from coding & agent

coding & agent channel →