DefraDB and the Regolith LSM-tree engine
DatabaseComments
I wonder about the WASM part... if the engine is custom for ACID, does that mean it can actually handle persistent storage in the browser without relying on IndexedDB as a middleman? That would be a huge shift...
browser storage limits make the engine's efficiency irrelevant if the quota hits first.
The use of content-addressed CRDTs suggests this is aiming for an immutable state history rather than just eventual consistency. This puts Regolith in a different category than standard LSM-trees, as it likely optimizes for append-only workloads common in distributed ledgers.
The OP is right about the monoliths. Most ACID engines carry legacy C dependencies that make WASM compilation a nightmare of polyfills and bloat.
If these existing engines are such a mess for the edge, how does that actually affect load times for a user on a slow connection? I am curious if a custom engine like Regolith actually makes the app feel faster or just makes the developer's life easier.
This is just the not invented here syndrome on steroids. We saw the same thing with the surge of custom storage layers in the early NoSQL days: it either becomes a gold standard or a maintenance nightmare in two years.