# losfair/mvsqlite

Distributed, MVCC SQLite that runs on FoundationDB.

Repository: https://github.com/losfair/mvsqlite
Canonical: https://ross.abutalabs.com/products/mvsqlite
Homepage: https://github.com/losfair/mvsqlite/wiki
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: database, rust
Last push: 2026-08-20T09:44:14+00:00

## Health v2 (maintenance only)
Score: 92/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 81, longevity 100
- inputs: {"age_days": 1500, "days_push": 13, "days_rel": 125, "gap_med": 2.5, "n_releases_24m": 11}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1573, forks 48 (observed 2026-08-28T04:05:05.615146+00:00)

## What it is
mvSQLite is a distributed, MVCC layer that runs SQLite on top of FoundationDB via a custom VFS, providing scalable lock-free transactions and time-travel snapshots. It integrates into existing applications as a drop-in replacement through LD_PRELOAD or a patched libsqlite3.

## Use cases
- turn sqlite into a distributed database
- scale sqlite reads and writes across a cluster
- query past snapshots of a database (time travel)
- drop-in distributed storage for existing sqlite apps
- run sqlite transactions larger than foundationdb's 5-second limit
- get foundationdb replication and backup for sqlite data

## When to choose
- you already use SQLite and need horizontal scalability and replication
- you want FoundationDB's correctness and transactional guarantees with a SQL interface
- you need MVCC time-travel or snapshot reads
- you want a drop-in VFS-based integration without rewriting app code

## When to avoid
- you need a simple single-node embedded database (plain SQLite suffices)
- you cannot operate a FoundationDB cluster
- you require fully stable, production-validated experimental features like commit groups
- you need a managed database service rather than self-hosted infrastructure

## Facets
- artifact type: library
- maturity: active
- function: database, orm, caching
- domain: databases, microservices, backend, developer-tools
- platform: rust, self-hosted
- tags: sqlite, foundationdb, mvcc, distributed-database, vfs, time-travel, drop-in-replacement, linux, macos

## Member repositories
- losfair/mvsqlite (main) score 92

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:05.615146+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:58:03.390855+00:00, confidence not recorded.
  - readme: https://github.com/losfair/mvsqlite (fetched 2026-08-28T04:05:05.615146+00:00, sha 62bced910993)
  - homepage: https://github.com/losfair/mvsqlite/wiki (fetched 2026-08-29T11:27:54.271189+00:00, sha 5eb698a65887)
- Data as of 2026-08-30T08:39:29.467469+00:00.
