T
TypeDB6mo ago
Joshua

embedded TypeDB

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