{"id":29140,"date":"2026-08-13T03:11:13","date_gmt":"2026-08-13T03:11:13","guid":{"rendered":"https:\/\/futureknowledge.in\/?p=29140"},"modified":"2026-08-13T03:11:13","modified_gmt":"2026-08-13T03:11:13","slug":"node-js-creator-liberates-durable-objects-from-cloudflare","status":"publish","type":"post","link":"https:\/\/futureknowledge.in\/?p=29140","title":{"rendered":"Node.js creator liberates Durable Objects from Cloudflare"},"content":{"rendered":"<p>We&#8217;ve got good news for developers who are enamored with Cloudflare Workers and Durable Objects but don\u2019t want to be tied into that company\u2019s backend infrastructure. Last week, Node.js creator Ryan Dahl unveiled his latest project, celld, which he described on X as \u201ca self-hosted, distributed Durable Objects and Workers implementation.\u201d Dahl\u2019s celld model is compatible with Cloudflare\u2019s Workers and Durable Objects\u2019 JavaScript APIs, but he claims that it is much less expensive to run. The project is no mere budget-minded open source rip. On celld\u2019s web page, Dahl and his team characterize their replication of the Durable Objects architecture as a \u201clove letter.\u201d Cloudflare\u2019s Durable Objects is a single-threaded object with a unique global ID and its own storage, where user data is stored in its own copy of SQLite. It runs on the Cloudflare serverless Workers runtime, which runs apps embedded in isolates\u2014a type of lightweight virtual machine supported by Google&#8217;s V8 JavaScript engine. First devised by Kenton Varda and Cloudflare, Durable Objects is \u201cone of the best primitives distributed systems has been handed in years,\u201d celld\u2019s creators write. Unlike traditional serverless platforms like AWS Lambda, the Durable Objects model co-locates the data with compute, while using single-threaded execution to eliminate complex concurrency issues. \u201cA primitive this good deserves to run anywhere,\u201d the celld page states. Serverless but stateful Since its introduction in 2020, Durable Objects has been used to build low-latency, highly distributed Web applications. It is a stateful serverless execution environment, a data cache that can also do computation. Using the WebSocket API, the Durable Object can connect many simultaneous users at once in a live environment. WebSockets\u2019 Hibernate mode can put the object to sleep, so cloud bills don\u2019t accrue when no one uses the app. As a result, the stateful serverless model is best suited for real-time collaborative applications, such as multi-player games, team productivity apps and AI agents. Cloudflare uses Durable Objects for its serverless SQL service and AI Gateway. One YouTube tutorialist explained that using Durable Objects allowed him to eliminate an entire stack of tools (Amazon API Gateway, Apache Kafka, Redis, AWS Lambda and EventBridge, Apache Airflow and Spark all get name-dropped) because Durable Objects can handle all these functionalities \u201cat a smaller scale.\u201d Giving Durable Objects an open source home  Dahl is one of the world\u2019s foremost experts at JavaScript I\/O, having created Node.js, a JavaScript runtime that runs the world\u2019s fastest Web applications (and inadvertently introduced the JavaScript world to \u201ccallback hell,\u201d where the language&#8217;s asynchronous operations forced coders to pass functions as nested callbacks, resulting in ungainly and unintuitive messes of code). Dahl later went on to refine his ideas of asynchronous JavaScript with a second-generation JavaScript runtime called Deno. Celld does away with the Cloudflare backend, and instead uses the Amazon Simple Storage Service (S3) or equivalent as the storage engine. It also uses the Tokio Rust asynchronous runtime. As with Durable Objects, each celld object gets its own copy of SQLite. Dahl promises this open source backend will be \u201corders of magnitude cheaper at scale\u201d than Durable Objects. Dahl estimated that 100 resident Durable Object cells cost $415 a month on Cloudflare, whereas the celld implementation would run only about $49 a month, built on a DigitalOcean S3-compatible bucket on an 8 GB droplet. Further savings should ensue as the workload scales, he argued. Cloudflare disputed Dahl\u2019s numbers, stipulating that $415 a month would be the cost if all the objects were continuously active. If left to slumber, the Durable Objects would cost only $20.65 to house on Cloudflare, a spokesperson told The Register. Whatever its putative thriftiness, the model itself seems to have gained interest on its own merits. \u201cSo happy to see support for running durable objects outside of one provider. Upvoted,\u201d one Hacker News reader enthused, noting the concept of a durable object is a valuable abstraction. Indeed, other parties are cooking their own schemes to move the data closer to the computation. For instance, Postgres service provider Neon just introduced its own Neon Functions, which can also co-locate data and compute for long-running workloads. Written in Rust and JavaScript, celld is available under an Apache 2 license. It can ingest JavaScript and TypeScript code. In theory, Rust, C\/C++, Go, or Zig code can also be executed through the magic of WebAssembly, which V8 supports with slight modification. But while celld is open source, AI contributions are verboten. \u201cCoding agents make it too easy to send a large, low-context change that costs maintainers more time than it saves,\u201d the GitHub page notes. Human contributions are still welcome, though you should understand what your code does before you submit it. \u00ae<\/p>\n<p><em>Source: <a href='https:\/\/www.theregister.com\/devops\/2026\/08\/12\/nodejs-creator-liberates-durable-objects-from-cloudflare-with-celld\/5286954' target='_blank'>Read the original article on www.theregister.com<\/a><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We&#8217;ve got good news for developers who are enamored with Cloudflare Workers and Durable Objects but don\u2019t want to be tied into that company\u2019s backend infrastructure. Last week, Node.js creator Ryan Dahl unveiled his latest project, celld, which he described on X as \u201ca self-hosted, distributed Durable Objects and Workers implementation.\u201d Dahl\u2019s celld model is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36,3],"tags":[18,29,33],"class_list":["post-29140","post","type-post","status-publish","format-standard","hentry","category-share-suggestions","category-technology","tag-impact-amzn","tag-signal-avoid","tag-stage-stage-4"],"_links":{"self":[{"href":"https:\/\/futureknowledge.in\/index.php?rest_route=\/wp\/v2\/posts\/29140","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/futureknowledge.in\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/futureknowledge.in\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/futureknowledge.in\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/futureknowledge.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=29140"}],"version-history":[{"count":0,"href":"https:\/\/futureknowledge.in\/index.php?rest_route=\/wp\/v2\/posts\/29140\/revisions"}],"wp:attachment":[{"href":"https:\/\/futureknowledge.in\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=29140"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/futureknowledge.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=29140"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/futureknowledge.in\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=29140"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}