libsql
libsql copied to clipboard
libSQL is a fork of SQLite that is both Open Source, and Open Contributions.
It would be more ergonomic for many developers, me included, to have a test suite based on the Rust toolchain. We can start with a basic set of tests which...
We don't use Fossil nor plan to, so drop the config.
This commit abstracts away page allocation methods, originally based on a simple freelist persisted at offset 32 with its size stored at offset 36 in the page header. The new...
SQLite already exposes an interface quite friendly to asynchronous I/O, because `sqlite3_step` function used to proceed with `sqlite3_stmt` (https://www.sqlite.org/c3ref/stmt.html) state machine is capable of returning `SQLITE_BUSY` or other error types...
SQLite uses a freelist to manage free pages. This is a major source of INSERT contention when using an optimistic lock-free storage layer, like [mvSQLite](https://github.com/losfair/mvsqlite). Ideally we should push free...
Described by @xfbs in https://github.com/libsql/libsql/discussions/8#discussioncomment-3798887 The idea is to allow people to code more complex check expressions in any language compilable to WebAssembly and have an interface which makes it...
WebAssembly modules are seldom coded by hand. Instead, Rust, C++, AssemblyScript and any other language compilable to Wasm is used for that purpose. In order to facilitate creating user-defined functions...
With an optimistic VFS, sequentially increasing ROWIDs is a primary source of contention, and causes significant INSERT slowdown in [my benchmark](https://univalence.me/posts/mvsqlite-bench-20220930). We should provide a table-level option to allocate ROWIDs...
sqlite has no access restrictions, it is assumed that anyone with access to the OS, has access to the data. In a distributed system, we might want to add some...
Historically (e.g. https://sqlite-users.sqlite.narkive.com/FsbiDRYS/sqlite-dqlite-sqlite-replication-and-failover-library) sqlite requires a few patches in order to facilitate replicating the data via Raft or another consensus protocol. This umbrella issue is here to discuss what kinds...