Warp
Warp is a storage engine where each entity is its own actor with its own SQLite shard, using the BEAM for concurrency (one actor per entity). Designed for DDD and event sourcing, it reports 1.5M events/sec on an M1 in Docker with 5 cores, is written in Gleam, and offers a TypeScript SDK for use from Node. High availability relies on BEAM distribution and consistent hashing to assign entities to nodes, with Litestream streaming SQLite WAL changes to S3 for backup and fast recovery.
What it addresses
Developers doing DDD and event sourcing have had to squeeze aggregates and domain events into Postgres tables, and scaling paths like CockroachDB or ScyllaDB were daunting.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
Warp
Warp is a storage engine where each entity is its own actor with its own SQLite shard, using the BEAM for concurrency (one actor per entity). Designed for DDD and event sourcing, it reports 1.5M events/sec on an M1 in Docker with 5 cores, is written in Gleam, and offers a TypeScript SDK for use from Node. High availability relies on BEAM distribution and consistent hashing to assign entities to nodes, with Litestream streaming SQLite WAL changes to S3 for backup and fast recovery.
Problem: Developers doing DDD and event sourcing have had to squeeze aggregates and domain events into Postgres tables, and scaling paths like CockroachDB or ScyllaDB were daunting.
Audience: Developers practicing DDD and event sourcing, including TypeScript/Node developers via the SDK.
Posted by @dwighson · Original source ↗
Source text · @dwighson · · Source ↗
Building Warp (https://warp.thegeeksquad.io), a storage engine where each entity is its own actor with its own SQLite shard.