qmetrics.net

dqlite

Embeddable replicated SQL engine with Raft failover

DatabasesDesktop/CLI app
dqlite screenshot

dqlite is a C library for an embeddable, replicated SQL database with high availability and automatic failover. It extends SQLite across clustered application instances without external databases.

Overview

dqlite is a C library that implements an embeddable, replicated SQL database engine aimed at high availability and automatic failover. The name reflects distributed SQLite: a network protocol links multiple instances of your application so they act as a highly available cluster without relying on a separate database service.

Design highlights include a custom wire protocol tuned for SQLite primitives, and data replication using the Raft algorithm. The library can be linked statically in many projects under license terms that include a static-linking exception.

dqlite runs on Linux and expects a kernel with native async I/O. It targets fault-tolerant IoT and edge setups where a small SQLite footprint plus consensus matters. Documentation covers installation on Debian-based systems via a development PPA, operational utilities, and a wire protocol for custom clients.

Canonical’s materials emphasize C-Raft for transactional consensus, disk-backed persistence, a stable Go client, and support across several CPU architectures. CLI-style tooling supports cluster initialization and membership changes.

Key features

  • Embeddable C library
  • Raft-based replication
  • SQLite-compatible SQL
  • Automatic failover
  • Custom wire protocol
  • Fully asynchronous network and disk I/O
  • Go client and documented protocol
  • CLI patterns for cluster operations

Use cases

  • Fault-tolerant edge appliances
  • IoT devices needing local SQL
  • Highly available embedded clusters
  • Applications avoiding external databases

Tags

Similar software

Supabase

Open-source Postgres platform with auth, APIs, and storage

Supabase bundles a dedicated Postgres database with authentication, auto-generated REST and GraphQL APIs, realtime, functions, file storage, and vector tooling.

★ 115.6k⟳ todayApache-2.0
Open Source Alternative to:FirebaseFirebase Realtime Database

Prometheus

Open-source metrics monitoring and time series database

Prometheus collects metrics from configured targets, evaluates rules, and can raise alerts. It stores time series data and exposes a query language called PromQL.

★ 67.9k⟳ yesterdayApache-2.0
Open Source Alternative to:PRTG Network Monitor

NocoDB

Self-hostable no-code database with spreadsheet interface

NocoDB turns Postgres, MySQL, SQLite, or a hosted database into editable tables with grid, kanban, form, gallery, and calendar views. Teams collaborate with roles, sharing, REST APIs, and workflow integrations.

★ 65.6k⟳ todaySource-available
DatabasesSelf-hostable

etcd

Raft-backed distributed consistent key-value store

etcd stores small critical configuration and coordination data for clusters. It exposes a gRPC API, tolerates failures via Raft, and ships with the etcdctl command-line client.

★ 52.7k⟳ 3 days agoApache-2.0
DatabasesSelf-hostable

DBeaver

Universal multi-platform database tool and SQL client

Free desktop client for developers and DBAs with SQL editing, data editing, ER diagrams, exports, and support for hundreds of JDBC or ODBC databases.

★ 52.6k⟳ todayApache-2.0
DatabasesDesktop/CLI app
Open Source Alternative to:DataGripNavicat+2

ClickHouse

Column-oriented real-time analytics database management system

ClickHouse is a column-oriented database for generating analytical reports in real time using SQL on large datasets.

★ 51.2k⟳ todayApache-2.0
Open Source Alternative to:Amazon Redshift