LiteFS intercepts SQLite writes on a mount, records transactional LTX change files, and replicates database files across a machine cluster.
Overview
LiteFS presents a FUSE-based filesystem that lets applications keep using SQLite files while replication happens underneath. It passes through normal file operations but watches SQLite database writes to detect transaction boundaries and log changes in LTX files for cluster sync.
The project is actively maintained and described as beta; maintainers ask users to report issues on GitHub. A getting started guide and an architecture document explain deployment concepts and internal behavior.
Passing the full SQLite TCL test suite is a stated goal but still in progress; some tests fail because database deletion is not implemented yet. Isolated test runs can use a dedicated Dockerfile.test harness.
LiteFS fits teams that want SQLite semantics on each node while propagating committed transactions to peers, rather than operating a separate database server protocol.
Key features
- FUSE passthrough for SQLite files
- Per-transaction LTX change logs
- Cluster-wide SQLite replication
- Architecture and setup documentation
- Beta status with issue tracking
- Docker-based TCL test runner
- Write interception at DB layer
Use cases
- Multi-node SQLite with file semantics
- Edge or regional SQLite replicas
- Apps avoiding custom replication logic
- Fly.io-style distributed SQLite setups