A Modular Database?
summary
Claim: build a modular database by composing LevelDB instances with level-sublevel so each subdatabase looks like a full DB. Concrete tools and behaviors: nested node_modules avoids dependency hell, uses pre hooks for atomic index updates and post hooks for non‑atomic notifications, a log DB answers “last 30 seconds” queries, and a job queue guarantees at‑least‑once work by re‑scanning unfinished jobs. Demonstrations show indexes by author, time‑based streams, and the modules published on npm — the approach works in practice.
AI-written summary · about
chapters (18)
- 0:00Introduction
- 0:33Modular Software
- 1:09MSDOS
- 3:44Modularity
- 4:11Features
- 5:15Modular Database
- 6:22Level Sublevel
- 7:36Sublevel
- 7:49Prehooks
- 9:29Query
- 9:57Index
- 11:51Sorting
- 13:37Posthooks
- 14:58Posthoc
- 17:09aggregation
- 19:04history of the universe
- 20:23theory
- 20:55modular operating system







