Skip to content

rqlite

Distributed SQLite-based relational database with Raft replication for fault-tolerant apps

Permissive (OSI) · MIT
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

78

Health

Thriving

Overview

Stars

17,969

Last commit

today

Nov 2026

Repository age

12 years

since Aug 2014

Latest version

v10.7.5

Nov 2026

Contributors

–

1 active in 90 days

Releases

25

last 12 months

Docker pulls

1.3M

rqlite/rqlite

Language

Go

rqlite is a distributed relational database built on SQLite. It copies data across a cluster of nodes using the Raft consensus protocol, so losing one node does not take the database offline. It is written in Go, licensed under MIT, and ships as a single binary with no external dependencies. A Docker image is available.

You work with it through an HTTP API, a built-in console, a CLI or client libraries. You get SQL through SQLite, including full-text search and JSON, and you can load SQLite extensions. Multiple statements can run atomically in one request. Change data capture can stream changes to an external system. Read consistency is tunable, and TLS plus authentication and authorization controls are included.

Clusters can form automatically through Kubernetes, Docker Compose, Consul, etcd or DNS. Hot backups can go to AWS S3, MinIO or Google Cloud, and you can restore from SQLite files or cloud storage. It fits cases where you want a small, replicated SQL store, similar to etcd with relational modeling.

Who it's for

Developers needing a small highly available SQL store

You get replicated SQLite behind an HTTP API from a single binary.

Skip if: You need heavy write throughput or a full server database with large-scale tooling.

Teams running services at the edge

It is lightweight and clusters through DNS, Consul, etcd or Kubernetes.

Skip if: Your app needs only a local embedded SQLite file with no replication.

Operators who want simple backups

Hot backups can go automatically to S3, MinIO or Google Cloud.

Skip if: You already manage backups through a managed database service.

The problem it solves

SQLite is easy to use but lives on one machine, so an outage takes your data offline. rqlite replicates a SQLite database across nodes so your applications keep working when a node fails.

Strengths

  • Raft-based replication keeps the cluster running if one node fails
  • Single binary with no external dependencies
  • Full SQLite SQL, including full-text search, JSON and extensions
  • Automatic clustering via Kubernetes, Consul, etcd, DNS or Docker Compose
  • Hot backups to S3, MinIO and Google Cloud

Trade-offs

  • Access is through an HTTP API, not a native database driver protocol
  • Built on SQLite, so SQL features follow what SQLite supports
  • The rqlite name is a registered trademark of its author

Self-host rqlite

Self-hostable
Yes
Docker image
rqlite/rqlite

Quick start

docker run -p 4001:4001 rqlite/rqlite

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is rqlite free?

Yes. It is released under the MIT license.

Can I self-host it?

Yes. Run the single binary or the Docker image on your own servers.

How do I run a node?

Start the Docker image with port 4001 published, then send SQL over the HTTP API.

How do I form a cluster?

Clusters can form automatically using Kubernetes, Docker Compose, Consul, etcd or DNS.

Similar tools in Relational databases

cockroach

Relational databases

33k 4.2k 2 months ago Slowing Unknown

DB Browser for SQLite

Relational databases

Desktop editor for SQLite files, with a spreadsheet-style view for people who avoid SQL

25k 2.4k yesterday Active MPL-2.0 and GPL-3.0+

citus

Relational databases

PostgreSQL extension that shards tables across nodes for multi-tenant and analytics

13k 812 today Thriving AGPL-3.0

Yugabyte

Relational databases

Distributed PostgreSQL-compatible SQL database for multi-region, fault-tolerant apps

11k 1.4k today Thriving Apache-2.0 + open core

Replaces Amazon AuroraGoogle Cloud Spanner

pgAdmin 4

Relational databases

Web-based and desktop admin tool for managing PostgreSQL databases

4k 929 today Active PostgreSQL

Adminer

Relational databases

Single-file PHP database manager for MySQL, PostgreSQL, SQLite and more

8k 1.2k 3 days ago Thriving Apache-2.0 OR GPL-2.0