Celld: Self-hosted, distributed Durable Objects

242 points · 43 comments on HN · read original →

Points and comments are a snapshot, not live.

Celld is a self-hosted daemon for distributed Durable Objects using S3 for coordination.

celld is an open-source daemon that runs Cloudflare Workers and Durable Objects on your own machines. Each object is a SQLite database, addressed by name and replicated to an S3-compatible bucket. Nodes coordinate through bucket compare-and-swap alone, without a control plane or consensus. Idle cells hibernate to near zero. celld uses V8 isolates and embeds SQLite. Deployment uses Wrangler bundles. Peer requests are HMAC-authenticated and replay-protected. Pressure shedding is opt-in with configurable watermarks.

What commenters are saying

Commenters largely welcome the concept, praising the Durable Objects abstraction and the simplicity of using S3 as the coordination layer. Several note that S3 itself acts as the control plane, but argue it is far more reliable and easier to buy than systems like etcd or Zookeeper. Some question geo-distribution versus Cloudflare's global network, while others highlight cost tradeoffs. A discussion compares celld to Cloudflare's workerd, noting workerd lacks a distributed scheduler. The PR policy banning pull requests due to AI agents draws mixed reactions.