embedded TypeDB
It might be time to start thinking about embedded typedb, will make a note of it
8 Replies
it'd be awesome if this ended up making it easier to implement TypeDB in a browser runtime like https://duckdb.org/docs/stable/clients/wasm/overview.html or https://www.sqlite.org/wasm/doc/trunk/index.md
Yeah its something to look into. The worry is that I don't think rocksdb can run in wasm
GitHub issue?
Could do
Conceivably it might be easier to offer a purely in-memory typedb that doesn't use rocksdb at all
yeah, then we could slap our own persistence layer (to IndexedDB, SQLite WASM, etc.) onto that if we were to want to use it in the browser
hmm, feels past our current scope but something to keep in mind
yeah def a million other things to prioritize over that haha - just a cool very down the line thing; there are other more general things that would enable us to get what we'd want from a browser runtime version that would be far less work and solve a much more broad range of problems
surreal implements theirs using in-memory storage as a drop-in alternative to their disk storage layer
and yeah
interactive Docs become (somewhat) trivial when you have embedded db engine