sqlite-vfs
Build SQLite virtual file systems (VFS) by implementing a simple Rust trait. (by rkusa)
do-sqlite
[Experimental] Persist SQLite in a Cloudflare Durable Object (by rkusa)
sqlite-vfs | do-sqlite | |
---|---|---|
2 | 1 | |
76 | 129 | |
- | - | |
0.0 | 3.0 | |
almost 2 years ago | 6 months ago | |
Rust | TypeScript | |
GNU General Public License v3.0 or later | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sqlite-vfs
Posts with mentions or reviews of sqlite-vfs.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-17.
-
Extending SQLite with Rust
You may be able to have something working by implementing a VFS. (https://github.com/rkusa/sqlite-vfs)
-
Store SQLite in Cloudflare Durable Objects
With that, I had enough information to build sqlite-vfs, a Rust library that wraps all the necessary interactions with the C SQLite library and exposes a much simpler Rust trait. I'll not go into the details of this library here.
do-sqlite
Posts with mentions or reviews of do-sqlite.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-01-26.
-
Store SQLite in Cloudflare Durable Objects
tl;dr: A custom SQLite virtual file system and some WASM/WASI compilation magic allow to run SQLite on a Cloudflare Worker and persist it into a Durable Object. POC source can be found at github.com/rkusa/do-sqlite.
What are some alternatives?
When comparing sqlite-vfs and do-sqlite you can also consider the following projects:
wasm-sqlite - [Experimental] SQLite compiled to WASM with pluggable page storage.
workers-wasi
rusqlite - Ergonomic bindings to SQLite for Rust
asyncify - Standalone Asyncify helper for Binaryen
wasi-sdk - WASI-enabled WebAssembly C/C++ toolchain
wasm-bindgen - Facilitating high-level interactions between Wasm modules and JavaScript
litestream - Streaming replication for SQLite.
workers-rs - Write Cloudflare Workers in 100% Rust via WebAssembly