-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrate mvsqlite as a distributed database on foundationdb and libsqlite #116
Comments
Oh we are exploring that as well! https://github.com/libsql/sqld/blob/main/sqld/src/libsql/mwal/mod.rs , right now it works on top of a fork of mvSQLite which implements a frontend with virtual WAL instead of VFS: https://github.com/psarna/mvsqlite/tree/mwal |
Did you document the steps needed to convert libsql to mvsqlite? |
Also I am investigating how to have a limit of 15 seconds or less configuration option for timeouts in wasmtime |
What do you mean by convert? One of the ways mvSQLite is used is to just LD_PRELOAD an application that uses SQLite with a mvSQLite library - you can do exactly the same with an application that uses libSQL, and it will work (https://su3.io/posts/mvsqlite#drop-in-addition), because libSQL is compatible with SQLite ABI. |
My goal is to make a static library and merge it with my variation of the Godot Engine. Problems
|
It's also worth noting that Wasm UDF support, being written in Rust, is not part of the single amalgamation Alternatively, if you compile from source, the static library can also be found in And if you're integrating Wasm support with a Rust application, it's best to skip linking with the static library and instead integrate directly with the Rust crate: https://crates.io/crates/libsql-wasmtime-bindings. It's now definitely clear to me that the process is not documented, which makes it hard for users to consume, and we should fix that. But please also let me know if any of the paragraphs above helped! |
Since libsql is a sqlite derivative, I am trying to explore ways of embedding @losfair's amazing work with libsql.
https://github.com/losfair/mvsqlite
The text was updated successfully, but these errors were encountered: