T
TypeDB8mo ago
Joshua

embedded TypeDB

It might be time to start thinking about embedded typedb, will make a note of it
8 Replies
cam
cam8mo ago
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
Joshua
JoshuaOP8mo ago
Yeah its something to look into. The worry is that I don't think rocksdb can run in wasm
georgii
georgii8mo ago
GitHub issue?
Joshua
JoshuaOP8mo ago
Could do Conceivably it might be easier to offer a purely in-memory typedb that doesn't use rocksdb at all
cam
cam8mo ago
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
Joshua
JoshuaOP8mo ago
hmm, feels past our current scope but something to keep in mind
cam
cam8mo ago
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
alex
alex8mo ago
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

Did you find this page helpful?