rqlite replicates SQLite across a cluster with Raft consensus and an HTTP API. A single binary runs without extra database services.
Overview
rqlite is a distributed relational database built on SQLite. It targets teams that want SQL and replication with minimal operational overhead, including cloud services and edge deployments where availability matters.
You start one node with a data directory and get SQLite behind HTTP. Additional nodes join the cluster; if one node fails, others keep serving. Reads and writes use plain HTTP and JSON, so clients can use curl without drivers, though client libraries exist as well.
Core capabilities include atomic multi-statement requests, change data capture to external systems, TLS and authentication options, and tunable read consistency. Clustering can be formed via Kubernetes, Docker Compose, Consul, etcd, or DNS. Hot backups support SQLite files, AWS S3, MinIO, and Google Cloud storage.
The project ships a built-in status console to inspect nodes, Raft state, and cluster health in a browser. Compared with heavier distributed databases, it emphasizes a self-contained binary and simple deployment while still offering full SQL, extensions, and JSON support.
Key features
- Raft-replicated SQLite cluster
- HTTP and JSON query API
- Single binary deployment
- Dynamic multi-node clustering
- Change data capture streaming
- Hot backups to object storage
- TLS and auth controls
- Tunable read consistency
Use cases
- Highly available edge data stores
- Lightweight Kubernetes SQL layer
- HTTP-accessible embedded SQL
- Fault-tolerant configuration data
- Relational alternative to key-value stores
Does the same job as
rqlite doesn't name these products itself, but its own description shows it does the same job.