NEW CATEGORY ZERO COMPETITION
Durable objects are the new serverless primitive โ stateful, single-threaded compute units with persistent storage per entity. The category just got its hottest entrant: celld (denoland/celld, 2,285โญ, +516/day), a self-hosted distributed durable-objects runtime from the Deno team where each object is its own SQLite database. This page compares celld against Cloudflare Durable Objects (the industry standard), Deno KV, Turso/libsql, SQLite, FoundationDB, CockroachDB, SurrealDB, Drizzle ORM, and better-sqlite3 โ ranked by GitHub stars.
Ranked by GitHub stars. celld ranks #7 by stars today but is growing faster than every other tool in this list combined (see Key Insights). "N/A" star counts apply to proprietary platforms and embedded foundations that do not track stars on GitHub.
| # | Tool | โญ Stars | Momentum | Type | Best For |
|---|---|---|---|---|---|
| 1 | drizzle-team/drizzle-orm ORM | 40,000+ | Steady | Type-Safe SQL ORM | Zero-codegen SQL query builder for TypeScript apps on any SQL database |
| 2 | surrealdb/surrealdb MULTI-MODEL | 35,000+ | Steady | Multi-Model Database | Document + graph + relational + vector data in one embeddable engine |
| 3 | cockroachdb/cockroach SQL | 30,000+ | Steady | Distributed SQL | Multi-region OLTP with PostgreSQL compatibility and strong ACID |
| 4 | apple/foundationdb FOUNDATION | 14,000+ | Steady | Distributed KV Store | Battle-tested ACID key-value core for building higher-level data models |
| 5 | tursodatabase/libsql EDGE | 10,000+ | Growing | Edge Database (SQLite fork) | SQLite rewritten in Rust with embedded replicas for the edge |
| 6 | WiseLibs/better-sqlite3 | 10,000+ | Steady | Synchronous SQLite Driver | Fastest, simplest SQLite bindings for Node.js โ synchronous API |
| 7 | denoland/celld DENO TEAM | 2,285 | +516/day โก | Distributed Durable Objects | Self-hosted durable objects where each object is its own SQLite database โ the new serverless primitive |
| 8 | Deno KV BUILT-IN | โ | N/A | Key-Value Store (Deno runtime) | ACID key-value storage built into Deno, with queues and secondary indexes |
| 9 | Cloudflare Durable Objects INDUSTRY STANDARD | โ | N/A | Managed Durable Objects | Managed, globally-replicated durable objects on the Cloudflare edge |
| 10 | SQLite FOUNDATIONAL | โ | N/A | Embedded SQL Engine | The most-deployed database in the world โ the substrate celld, Turso, and better-sqlite3 are built on |
๐ก celld at #7 by stars but #1 by trajectory: at +516 stars/day it is adding more stars per day than SurrealDB, CockroachDB, and FoundationDB add in a month โ and it's the only open-source, self-hosted durable-objects runtime in this list.
The story: celld is a self-hosted, distributed durable-objects runtime from the Deno team โ the same team behind Deno and Deno KV. Each durable object is backed by its own SQLite database, so every object gets per-entity ACID durability, SQL queryability, and a single-threaded execution context. It's the open-source, vendor-neutral answer to Cloudflare Durable Objects โ a category that had zero self-hosted competition until now.
Best for: AI agents that need persistent, queryable state per entity (agent memory, sessions, workflows); teams that want durable objects without vendor lock-in; on-prem and self-hosted deployments.
The story: Cloudflare Durable Objects pioneered the durable-object model in production: single-threaded objects with identity, storage, and WebSocket support running across Cloudflare's 300+ data centers. Since 2024 its transactional storage is SQLite-backed on the edge, giving objects real SQL semantics. This is the benchmark every newcomer (including celld) is measured against.
Best for: Teams already on Workers who want managed, globally-replicated state with no infrastructure; multiplayer/real-time apps; per-user state at the edge.
The story: Deno KV ships inside Deno: zero-setup ACID key-value storage with transactions, secondary indexes, and Deno Queues. Locally it's backed by SQLite; on Deno Deploy it's backed by FoundationDB across regions. It's the fastest way to get durable state in a Deno app โ and the natural on-ramp to celld when you outgrow simple KV.
Best for: Deno apps needing simple, durable key-value state with transactions; serverless functions; queues and background work.
The story: libSQL is the open-source fork of SQLite rewritten in Rust, with a wire-compatible server (sqld) and HTTP access. Turso packages it as a managed edge database with embedded replicas: read replicas that live inside your app and sync from the primary. It proved "SQLite everywhere" at global scale and normalised edge SQLite as an architecture.
Best for: Edge apps needing SQLite with global reads; local-first apps with sync; serverless backends that want SQL without Postgres operational burden.
The story: SQLite is the single most widely deployed database engine on Earth โ every phone, browser, and countless devices run it. It's embedded, zero-config, fully ACID, and supports 1TB+ databases. celld builds one SQLite per object; Turso re-implements it for the edge; better-sqlite3 exposes it to Node. Understanding SQLite's durability model is understanding the foundation of this entire category.
Best for: Local-first apps, embedded storage, per-object/per-tenant databases, batch analytics on-device โ and as the substrate for the durable-objects stack.
The story: better-sqlite3 is the fastest SQLite driver for Node.js, built on a deliberately synchronous API. By avoiding the async boundary for local file access, it runs 2โ4ร faster than async drivers while being dramatically simpler (no callbacks, no promise juggling). It's the workhorse for local-first Node apps, CLI tools, and single-node services.
Best for: Node.js apps with local SQLite: desktop apps, CLIs, prototypes, and per-node storage where simplicity and raw speed matter.
The story: CockroachDB is a cloud-native distributed SQL database that scales horizontally while speaking PostgreSQL wire protocol. Every transaction is replicated and consistent across nodes and regions via Raft consensus, with automatic repair, geo-partitioning, and change data capture. It's the "big hammer" for workloads that need distributed ACID SQL โ at the cost of operational complexity.
Best for: Multi-region OLTP apps, financial/transactional systems, and teams that need Postgres semantics with horizontal scaling.
The story: FoundationDB is Apple's open-source distributed key-value store with ACID transactions over an ordered key-value model. Its "layers" philosophy lets you build higher-level data models (document, relational, queue) on a thin, extremely durable core. Famous for deterministic simulation testing โ it's arguably the most rigorously tested distributed database ever built. Deno Deploy's KV is literally backed by FoundationDB.
Best for: Building custom data models on a battle-tested durable core; extreme reliability requirements; systems that want a distributed KV with strong transactions.
The story: SurrealDB collapses document, graph, and relational models into one engine with SurrealQL, plus vector search and realtime live queries. It runs embedded (in-process or WASM) or as a distributed server with multiple storage backends (SurrealKV, RocksDB, TiKV). A favorite for AI apps because it unifies app data, relationships, and embeddings in a single query language.
Best for: AI apps mixing rich documents, graphs, and vectors; rapid prototyping; teams that want one engine for many data shapes.
The story: Drizzle is the "SQL that feels like TypeScript" ORM: a lightweight query builder with full type inference, zero codegen, and no runtime magic. It's database-agnostic (Postgres, MySQL, SQLite, Turso, Durable Object storage, and more) with drizzle-kit migrations. In the durable-objects world, Drizzle is the natural way to query the SQLite state inside celld objects and Cloudflare Durable Object storage.
Best for: TypeScript/Deno/Node apps that want typed SQL against SQLite, Turso, Postgres, or Durable Object storage without ORM bloat.
| Use Case | Best Tool | โญ | Why |
|---|---|---|---|
| Self-hosted durable objects (AI agents) | celld | 2,285 | Only open-source distributed durable objects; per-object SQLite; Deno team; +516/day |
| Managed durable objects at the edge | Cloudflare Durable Objects | โ | Industry standard; zero-ops; globally replicated; Workers integration |
| Simple durable KV in Deno | Deno KV | โ | Zero-config ACID KV with queues and indexes, built into the runtime |
| Edge SQLite with global reads | Turso / libsql | 10,000+ | Embedded replicas + wire server; SQLite in the edge network |
| Local-first / per-node storage in Node | better-sqlite3 | 10,000+ | Fastest sync SQLite driver; dead-simple transactions |
| Multi-region distributed SQL (ACID) | CockroachDB | 30,000+ | Postgres-compatible distributed SQL with Raft replication |
| Custom data models on a bulletproof core | FoundationDB | 14,000+ | ACID ordered KV; layers philosophy; powers iCloud and Deno Deploy KV |
| Document + graph + vector in one engine | SurrealDB | 35,000+ | Multi-model with SurrealQL and vector search; embeddable |
| Type-safe SQL queries over any of the above | Drizzle ORM | 40,000+ | Zero-codegen typed SQL; supports SQLite, Turso, Durable Object storage |
| Understanding the foundation itself | SQLite | โ | The most-deployed DB in history; substrate for celld, Turso, better-sqlite3 |
You're building agentic systems that need per-agent persistent state, you want SQL queries over that state, and you don't want to hand your entire state layer to a single vendor. celld gives you Cloudflare-style durable objects on your own infrastructure, backed by one SQLite database per object. This is the zero-competition sweet spot in 2026.
If you're already on Workers and never want to think about nodes, replication, or failover, Cloudflare DO is still the standard. You trade control for convenience: global placement, hibernation, WebSockets, and replicated storage out of the box. Many teams prototype on Cloudflare and self-host with celld in production.
Zero-setup ACID KV with transactions, secondary indexes, and queues โ local or managed on Deno Deploy. Start with Deno KV; graduate to celld when you need object-scoped SQLite semantics and self-hosting.
Global reads via embedded replicas, a wire-compatible sqld server, and SQLite semantics your team already knows. Best when your reads far exceed writes and you want the app to own a local replica of the data.
Desktop apps, CLIs, single-node services, and anything where a file-backed database is a feature, not a compromise. Synchronous, fast, and boring โ in the best way.
Transactional workloads that span regions and need cross-object consistency (payments, inventory, booking systems). Budget for cluster operations โ or use managed CockroachDB Cloud.
FoundationDB matters as the durability layer under Deno Deploy KV and as the reference for "thin core + layers" design. SurrealDB is the pick when you need documents, graphs, and vectors in one query language. Drizzle ORM is the query layer you'll pair with whichever storage you choose โ watch for its celld/Durable Object adapters maturing through 2026.
celld, Deno KV, Turso, and FoundationDB are all self-hostable โ these providers offer the compute and managed layers that make distributed durable objects practical in production.
Managed edge SQLite with embedded replicas and a generous free tier. The easiest way to run libsql in production without operating servers.
Create a Free Turso DB โManaged durable objects on the global edge with Workers integration. Free tier available to start building.
Start on Cloudflare โFrom $4/mo. Fast NVMe VPS โ plenty for a single-node celld or Turso/sqld deployment, with credits for new users.
Get $200 Free Credit โBare-metal performance at VPS prices, starting at ~โฌ4/mo. Ideal for running celld object clusters on a budget.
Hetzner Cloud โGlobal cloud compute from $2.50/mo across 30+ locations โ spin up durable-object nodes close to your users.
Start on Vultr โPredictable AWS pricing from $3.50/mo with native VPC integration โ a natural home for FoundationDB or CockroachDB clusters.
AWS Lightsail โDisclosure: Some links on this page are affiliate links. We may earn a commission at no extra cost to you if you sign up through them. Our rankings are never influenced by affiliate relationships. Data reflects GitHub star counts as of August 8, 2026.
๐ก Neon recommendation: Serverless postgres with branching and autoscaling. Try Neon โ
Affiliate disclosure: we may earn a commission if you sign up via this link, at no extra cost to you.
๐ก Cloudflare recommendation: Cdn, dns, ddos protection, and edge compute for any site. Try Cloudflare โ
Affiliate disclosure: we may earn a commission if you sign up via this link, at no extra cost to you.