canonical/dqlite
Embeddable, replicated and fault-tolerant SQL engine. observed · 2026-08-28
Health v2 · maintenance only
92/100
- Activity 99
- Release rhythm 79
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 58
- age_days: 3388
- days_rel: 62
- days_push: 9
- n_releases_24m: 12
Adoption not part of the score
4368 stars · 253 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
dqlite is a C library implementing an embeddable, replicated SQL database engine that extends SQLite across a cluster of machines using the Raft consensus algorithm. It provides high availability with automatic failover through an asynchronous single-threaded design built on libuv and a custom wire protocol optimized for SQLite primitives.
Use cases
- embed a replicated SQL database in my application with no external database dependency
- add high availability and automatic failover to SQLite
- build a fault-tolerant database for IoT or edge devices
- run a highly-available SQLite cluster across multiple hosts
- store data for a clustered system container manager like LXD
- implement leader election and transactional consensus for a small backend service
When to choose
- you need SQLite-compatible SQL with built-in replication and failover
- you want an embedded database with a tiny footprint for edge or IoT deployments
- you are building a C or Go application that needs a highly-available local database without running a separate database server
- you need low-latency transactional consensus via Raft
When to avoid
- you need a database that runs on non-Linux platforms, since dqlite requires Linux native async I/O
- you need heavy multi-writer horizontal scaling across many nodes rather than small-cluster high availability
- you want a client-server database like PostgreSQL or MySQL with a rich ecosystem
- your application is read-heavy and does not need replication
Facets
library · maturity active
database database-driver rpc concurrency databases microservices iot developer-tools c embedded iot sqlite raft replication high-availability embedded-database edge-computing libuv wire-protocol linux
8 sources
- readme: https://github.com/canonical/dqlite · fetched 2026-08-28 · 7981bfa96f94
- homepage: https://dqlite.io · fetched 2026-08-29 · f1149930a6c2
- site_page: https://canonical.com/maas/docs · fetched 2026-08-29 · bc7664ac6338
- site_page: https://canonical.com/microstack/docs/single-node · fetched 2026-08-29 · e132e9b2be0a
- site_page: https://canonical.com/microk8s/docs/getting-started · fetched 2026-08-29 · 4cb1ea6f65e4
- site_page: https://canonical.com/juju/docs · fetched 2026-08-29 · 657a866a1942
- site_page: https://canonical.com/dqlite/docs · fetched 2026-08-29 · 1efb238fc604
- site_page: https://canonical.com/blog/canonical-releases-ubuntu-26-04-lts-resolute-raccoon · fetched 2026-08-29 · 61fee91e61d0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| canonical/dqlite | main | 92 |
For agents
markdown · JSON · MCP: product_card(name="canonical/dqlite")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem