rqlite
A distributed relational database built on SQLite and the Raft consensus algorithm, written in Go, supporting high availability and strong consistency.
Timeline (last 90 days)
rqlite is a distributed SQLite system written in Go that uses SQLite as its storage engine and replicates the log via the Raft protocol to achieve multi-node data consistency and fault tolerance.
Early versions of rqlite ran a SQLite instance directly on each node and replicated SQL statements via Raft, but this approach had performance bottlenecks: all write operations had to be serialized through the leader node, and SQL statement replication could produce nondeterminism.
rqlite compacts the Raft log by periodically generating SQLite database snapshots, reducing storage and recovery time, and has been optimized to nearly imperceptible online compaction.
rqlite exposes a rich set of monitoring metrics, including Raft state, replication lag, and SQLite performance, and users are advised to monitor these metrics to detect potential problems early.
All Facts (4)
rqlite is a distributed SQLite system written in Go that uses SQLite as its storage engine and replicates the log via the Raft protocol to achieve multi-node data consistency and fault tolerance.
50%UnverifiedEarly versions of rqlite ran a SQLite instance directly on each node and replicated SQL statements via Raft, but this approach had performance bottlenecks: all write operations had to be serialized through the leader node, and SQL statement replication could produce nondeterminism.
50%Unverifiedrqlite compacts the Raft log by periodically generating SQLite database snapshots, reducing storage and recovery time, and has been optimized to nearly imperceptible online compaction.
50%Unverifiedrqlite exposes a rich set of monitoring metrics, including Raft state, replication lag, and SQLite performance, and users are advised to monitor these metrics to detect potential problems early.
50%