What does HackerNews think of mvsqlite?
Distributed, MVCC SQLite that runs on FoundationDB.
The lead developer on mvsqlite has since joined Deno...
I'm working on mvsqlite [1], a distributed SQLite based on FoundationDB. When doing the VFS integration I have always wanted to patch SQLite itself, but didn't because of uncertainty around correctness of the patched version...
A few features on my wishlist:
1. Asynchronous I/O. mvsqlite is currently doing its own prefetch prediction that is not very accurate. I assume higher layers in SQLite have more information that can help with better prediction.
2. Custom page allocator. SQLite internally uses a linked list to manage database pages - this causes contention on any two transactions that both allocate or free pages.
3. Random ROWID, without the `max(int64)` row trick. Sequentially increasing ROWIDs is a primary source of contention, and causes significant INSERT slowdown in my benchmark [2].
https://github.com/losfair/mvsqlite
Would be great to add this link to the body of your story to make it easy for HNers to get to the thing :)
If no longer editable, consider emailing moderator Dang ([email protected]).