ActorDB

discontinued

by Biokoda · since 2014

Erlang distributed SQL database that shards data into many small Raft-replicated SQLite 'actors'.

relationalkey-valuedatabase engineopen source (copyleft)legacy

discontinued. No commits or releases since 0.10.29 (October 2019); effectively abandoned. Consider rqlite, dqlite or a distributed SQL database instead.

Overview

ActorDB, built by Biokoda, splits a database into many independent 'actors', each a full SQLite database stored on LMDB and replicated across nodes with Raft. Most queries hit a single actor (one user's mailbox or file tree, say) with full SQL and no global locks, while explicit multi-actor transactions and a sharded KV table type cover cross-cutting data. Clients connect over the MySQL wire protocol or Thrift, so ordinary MySQL drivers work. The design fits per-user data in apps like mail or file sync, but the project went quiet after release 0.10.29 in October 2019 and has had no commits since.

Strengths & trade-offs

Strengths

  • +Per-actor SQLite databases give full SQL with no global locks
  • +Raft replication per actor provides strong consistency and automatic failover
  • +MySQL protocol means existing drivers work unchanged
  • +Nodes and schema changes can be added while the cluster is running

Trade-offs

  • −Abandoned since 2019; no security or compatibility updates
  • −Data model must partition cleanly into actors to benefit
  • −Cross-actor transactions are far slower than single-actor ones
  • −Small community and sparse client libraries beyond MySQL drivers

Great for

  • +Studying actor-per-tenant database designs
  • +Per-user data stores such as mail or file-sync backends (historically)

Think twice for

  • −New production systems
  • −Analytical queries that span the whole dataset

Capabilities

Native or official first-party support · 6 of 25 tracked

✓Transactions
✓Joins
✓Secondary indexes
✓JSON
✓Durable persistence
✓Online schema changes
–Full-text search
–Vector search
–Geospatial
–Change data capture
–Triggers
–Stored procedures
–Materialized views
–TTL / expiry
–Pub/Sub
–Columnar storage
–In-memory
–Compression
–Encryption at rest
–Role-based access
–Time travel
–Branching
–Streaming ingest
–Offline sync
–Runs in WebAssembly

Scale & consistency

Comfortable data size
Medium · ≤ 10 TB
Horizontal scaling
Native
Multi-region
No
Transactions
Full ACID
Consistency
Strong
Schema
Strict
Architecture
Distributed, Multi primary
Query languages
SQL (SQLite dialect)

Scales by adding nodes and spreading many small actors across them; each actor is limited to what one SQLite database handles well.

Deployment

Self-hosted Vendor-managed cloud Serverless Embedded Edge Kubernetes operator

Ecosystem

compatible withMySQL, SQLite
apis & protocolsMySQL wire protocol, Thrift

Alternatives to ActorDB

Compare all→
rqliteRelational14.5

Lightweight distributed database that replicates SQLite over Raft behind a simple HTTP API.

actordb vs rqlite →
dqliteRelational8.4

Canonical's embeddable C library that makes SQLite highly available with Raft replication.

actordb vs dqlite →
CockroachDBRelational47.1

Postgres-wire distributed SQL built to survive node, zone and region failures with serializable transactions.

actordb vs cockroachdb →
TursoRelational10.6

Managed SQLite-compatible cloud for database-per-tenant apps, with embedded replicas and offline sync.

actordb vs turso →
Cloudflare Durable ObjectsKey-Value7.2

Single-threaded stateful actors at the edge, each with its own strongly consistent SQLite store.

actordb vs cloudflare-durable-objects →
TiDBRelational35.9

MySQL-compatible distributed SQL with a row store for OLTP and a columnar replica for real-time analytics.

actordb vs tidb →

ActorDB FAQ

What is ActorDB?

ActorDB is a relational database by Biokoda, first released in 2014. ActorDB, built by Biokoda, splits a database into many independent 'actors', each a full SQLite database stored on LMDB and replicated across nodes with Raft. Most queries hit a single actor (one user's mailbox or file tree, say) with full SQL and no global locks, while explicit multi-actor transactions and a sharded KV table type cover cross-cutting data. Clients connect over the MySQL wire protocol or Thrift, so ordinary MySQL drivers work. The design fits per-user data in apps like mail or file sync, but the project went quiet after release 0.10.29 in October 2019 and has had no commits since.

Is ActorDB open source?

Yes. ActorDB is open source. License: Mozilla Public License 2.0.

Does ActorDB support ACID transactions?

Yes. ActorDB supports full ACID transactions, with strong consistency.

Does ActorDB scale horizontally?

ActorDB scales horizontally out of the box, with built-in sharding or partitioning. It is comfortable at medium scale (≤ 10 TB).

How can I run ActorDB?

You can self-host it.

What is ActorDB best for?

ActorDB is a strong fit for studying actor-per-tenant database designs and per-user data stores such as mail or file-sync backends (historically). Think twice for new production systems.

What are the best alternatives to ActorDB?

Common alternatives to ActorDB include rqlite, dqlite, CockroachDB, Turso and Cloudflare Durable Objects. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.

Is ActorDB still maintained?

ActorDB is discontinued. No commits or releases since 0.10.29 (October 2019); effectively abandoned. Consider rqlite, dqlite or a distributed SQL database instead.

How popular is ActorDB?

ActorDB ranks #534 of 844 databases on the WhichDB Score (1.5/100), and #165 among relational databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.