For years, the 'Durable Objects' model has been the gold standard for managing state in distributed systems. By giving each object its own identity and storage, it solved the nightmare of coordination for chat apps and multiplayer games. But there was a catch: if you wanted this magic, you had to live in Cloudflare's ecosystem. Enter celld, a new open-source daemon that brings this powerhouse primitive to your own hardware.
The Best of Both Worlds
Created by Ryan Dahl and the denoland team, celld is essentially a portable implementation of the Cloudflare Workers and Durable Objects APIs. It combines V8, SQLite, and Tokio to run server-side JavaScript on your own machines. The brilliance here is the compatibility; you can use the exact same APIs and configurations you'd use on Cloudflare, but you maintain total control over the infrastructure.

How it Actually Works
Under the hood, celld treats each object as its own SQLite database. To ensure your data doesn't vanish into the ether, these objects are replicated to an S3-compatible bucket that you own. This architecture removes the 'black box' of cloud provider state management and, according to Dahl, can be an order of magnitude cheaper at scale because you aren't paying the 'cloud tax' on every single operation.
A New Era of Sovereignty
By decoupling the Durable Objects model from a specific provider, celld opens the door for on-prem and private-cloud deployments. It transforms a proprietary cloud feature into a general-purpose tool for any developer who wants high-performance, stateful distributed systems without the vendor lock-in.
Whether you're building a collaborative editor or a complex simulation, the ability to host your own durable state is a massive win for developer sovereignty. The era of 'cloud-only' primitives is officially ending.
Sources
Media



