talira

The fault-tolerant relational database built on SQLite

open sourceMITself-hostablefree

rqlite is a distributed relational database built on SQLite: run its single binary on three machines and it forms a Raft cluster that keeps the nodes in sync, so any one node can fail without taking the database offline. It's queried over a plain HTTP and JSON API with no drivers needed, though client libraries exist. It has full SQL, full-text search and JSON documents, loads SQLite extensions (for vector search, among others), streams changes with change data capture, offers read consistency from fast to linearizable, and backs up automatically to S3, MinIO and Google Cloud Storage. It runs on Linux, macOS, Windows, Docker and Kubernetes, with a built-in status console.

Ways to install

Package managers

Problems it solves

  • make my SQLite database highly available across several servers
  • a lightweight replicated SQL database that's simpler to run than Postgres
  • query a database over plain HTTP without installing a driver
  • keep an edge app's database running when one node fails

Features

  • Raft clustering for high availability and fault tolerance
  • HTTP and JSON API with no driver needed
  • single self-contained binary
  • full SQL, full-text search and JSON
  • SQLite extensions, including vector search
  • change data capture
  • tunable read consistency up to linearizable
  • automated backups to S3, MinIO and Google Cloud Storage
  • Docker Compose and Kubernetes
  • built-in status console

Alternatives

The same job

These do what rqlite does.

  1. CockroachDB The cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement
  2. Turso Database An in-process SQL database written in Rust, compatible with SQLite, now with a Postgres frontend too
  3. SQLite Small. Fast. Reliable. Choose any three.
  4. libSQL Open source, open contribution fork of SQLite by Turso

Compare rqlite with the top 3