Celld:自托管、分布式持久对象(Durable Objects)
Celld: Self-hosted, distributed Durable Objects

原始链接: https://celld.dev/

**celld** 通过将状态、部署和运维监管权交还给您的基础设施,重新构思了 Durable Objects 编程模型。该模型在忠实于原有 Durable Objects 设计的同时,通过自托管提供了三大核心优势: * **独立部署:** Cell 的所有权通过您自身存储中的租约(使用比较并交换 CAS)进行管理,这意味着节点故障不会导致“黑盒”式恢复。如果某个节点宕机,另一个节点可以立即获取租约并恢复该 Cell。 * **可控的故障范围:** 通过消除对共享供应商调度程序的依赖,您消除了多租户耦合。应用程序的稳定性仅取决于您选择的基础设施提供商,而非其他客户的工作负载。 * **运维透明化:** 由于状态、日志以及 SQLite/LTX 文件都驻留在您的磁盘上,调试变得更加透明。您可以直接使用 `sqlite3` 和 `grep` 等标准工具检查系统,而无需依赖外部的状态页面。 总之,**celld** 提供了一种利用强大 Durable Objects 原语的方式,同时确保故障域明确、可检查,并完全处于您的运维控制之下。

抱歉。
相关文章

原文
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.

联系我们 contact @ memedata.com