Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 980 Bytes

File metadata and controls

20 lines (13 loc) · 980 Bytes

rqlite/rqlite: The lightweight, distributed relational database built on SQLite.

rqlite wraps SQLite with a Raft consensus layer. It keeps SQLite's SQL engine and file format, but turns writes into replicated log entries so a cluster can provide fault-tolerant relational storage.

Pattern

  • SQLite provides the local SQL execution and storage engine.
  • Raft provides leader election and replicated writes.
  • Reads can be served with different consistency levels depending on configuration and API use.
  • Access is commonly through HTTP API rather than direct SQLite file access.

Tradeoffs

  • Good fit when a small relational database needs simple clustering.

  • Not the same as multi-writer SQLite; writes flow through the Raft leader.

  • SQLite extensions and local file assumptions may not map cleanly to cluster use.

  • Quick Start guide

  • Developer guide