celld — Durable Objects, self-hosted

Lobsters Hottest Tools

Summary

celld is a self-hosted, distributed server that runs Cloudflare Workers and Durable Objects code unchanged, using your own S3 bucket for storage and coordination. It claims significantly lower costs and sub-millisecond warm latencies at scale, with data stored in SQLite/LTX format.

<p><a href="https://lobste.rs/s/hd7qxs/celld_durable_objects_self_hosted">Comments</a></p>
Original Article
View Cached Full Text

Cached at: 08/07/26, 12:15 AM

# celld — Durable Objects, self-hosted Source: [https://celld.dev/](https://celld.dev/) ## self\-hosted, distributed**Durable Objects** - Your Workers and Durable Objects code runs unchanged[\(supported APIs →\)](https://celld.dev/docs/cloudflare-compat) - Your data lives in a bucket you own - Orders of magnitude cheaper at scale Install the 58 MB static executable Or run the docker container Or just tell your agent `❯ create a distributed chat app with vite, use celld\.dev and exe\.dev, 2 VMs` Key characteristics Durability Writers per cell \(epoch\-fenced\)1 Acknowledged writes lost on kill0RPO=0 Durable write latency \(region\-local\)~90ms Failover after node loss, 0 lost~20s Speed \(warm\) Stateless request p50 / p990\.2 / 0\.3ms Stateless throughput / worker thread~94kreq/s Wake a hibernated cell~4ms Density & cost RAM per resident cell4MB Resident cells / 8 GB node1,000cells Inactive cell cost~0bucket ops $ / resident cell\-month~$0\.05 Compatibility Supported Workers/DO APIs[docs →](https://celld.dev/docs/cloudflare-compat) 1. Speed and density: one node, trivial cells, an Apple M\-series laptop over loopback\. Fleet vCPUs are slower — activation p50 is 35\.9 ms on a 2 vCPU node\. 2. Durability: a 4 vCPU / 8 GB fleet in one region, against a region\-local bucket\. Failover is SIGKILL of a loaded node with every room verified after recovery\.[How this is measured →](https://celld.dev/docs/testing) Monthly cost vs resident fleet size 0\.11101001k10k100k$1$10$100$1k$10k$100k$1M◄ DO free / cheaper10 resident cells — DO $42/mo · celld $49/mo100 resident cells — DO $415/mo · celld $49/mo1,000 resident cells — DO $4,150/mo · celld $49/mo10,000 resident cells — DO $41,500/mo · celld $486/mo100,000 resident cells — DO $415,000/mo · celld $4,856/mo100 resident cells — $49/mo1,000 resident cells — $49/mo10,000 resident cells — $486/mo100,000 resident cells — $4,856/mo1\.2 resident cells — DO's included duration runs outUnder one resident cell — paid plan assumed; the free plan covers this at $0DURABLE OBJECTSCELLDRESIDENT CELLSMONTHLY COST 1. Durable Objects: Workers Paid, $5/mo plus $4\.15 per resident cell\-month; its free plan covers toy scale\. 2. celld: whole $48 / 8 GB nodes \(DigitalOcean us\-east list\), capped at 1,000 resident cells each; capacity is added in steps\. 3. Base cost before workload: application traffic and writes add compute and bucket usage\. Click a dot for the modeled bill\. ## How it works The bucket is the coordinator — no membership protocol, no failure detector, no consensus\. Ownership is a record in your bucket, claimed with one atomic write\. celld's built\-in replicator continuously ships each cell's SQLite state to that bucket as LTX segments\. YOUR INFRASTRUCTUREYOUR S3 BUCKETSQLite / LTX10,000s of inactive cellscelld on its own VMcelld on its own VMcelld on its own VMeach cell is one sqlite databaseLTXrequests / responsesYOUR INFRASTRUCTURErequestsresponsescelld on its own VMeach cell is one sqlite databaseLTXYOUR S3 BUCKETSQLite / LTX10,000s of inactive cells Reliability Durable Objects is a strong programming model\. celld keeps that model while moving placement, state, and operational evidence into infrastructure you choose\. **What changes when you run the model yourself\.** PLACEMENT #### No shared machine to lose A cell's identity isn't fused to a machine — ownership is a lease in your bucket, granted by compare\-and\-swap\. Lose a node and another acquires the lease and restores the cell in seconds: your fleet reading your storage, not a vendor restoring a placement you can't see\. BLAST RADIUS #### A failure domain you choose Your fleet still depends on its machines, network, and bucket provider\. What changes is tenancy: no shared Durable Objects scheduler or placement layer can couple your application to another customer's workload\. LEGIBILITY #### A failure you can read When a cell misbehaves the evidence is on your disk — the ownership record, the SQLite and LTX files, and the logs\. You answer “what happened to my cell” with sqlite3 and grep, not a status page that declines to say\. Self\-hosting is not automatically more reliable\. It makes the failure domain explicit and inspectable: your nodes, your bucket provider, and your operational choices\. **And to be clear about the tone:**we love Cloudflare — this very page is served by a Cloudflare Worker\. The Durable Objects model — a single\-threaded object with its own storage, addressed by name — is one of the best primitives distributed systems has been handed in years, and that design is**Kenton Varda**'s and the**Cloudflare Workers**team's\. celld is a love letter to their idea; a primitive this good deserves to run anywhere\. a stateful distributed system that rests entirely on S3 LTX is Litestream's replica format, from[Ben Johnson](https://github.com/benbjohnson/litestream)

Similar Articles

Celld: Self-hosted, distributed Durable Objects

Hacker News Top

Deno's celld is an open-source daemon that runs Cloudflare Workers and Durable Objects on your own machines, using SQLite per object and an S3-compatible bucket for replication and coordination without a control plane.

cloudflare/computer

GitHub Trending (daily)

Cloudflare Computer is a preview virtual filesystem built on Durable Objects, with pluggable runtimes for containers, shell, and JavaScript, enabling stateful serverless compute on Cloudflare Workers.

@geekbb: Cloudflare releases a "computer" for AI agents — Giving agents a workspace that never disappears. Files stored in SQLite, with three environments (full container / shell / JS) available anytime; switch environments without switching files.

X AI KOLs Timeline

Cloudflare Computer is a virtual filesystem inside a Durable Object that gives AI agents a persistent workspace, using SQLite for storage and pluggable runtimes (container, shell, JavaScript). It's a preview-only open-source package.

Why we're moving off Cloudflare Durable Objects

Hacker News Top

Wire, a platform for AI agent context containers, is migrating from Cloudflare Durable Objects to a custom runtime on Fly Machines due to structural limits: vector index separation, compute-data colocation, placement flexibility, and lack of self-hosting. The new architecture improves latency and enables dedicated capacity.