AI 导读
@rough__sea 发布开源项目 celld,一个自托管的分布式 Durable Objects 与 Workers 实现,用 Cloudflare Workers/DO 的 JavaScript API 和配置编程,栈为 V8 + S3 + SQLite + LTX + Tokio。大规模下成本低一个数量级,写入先持久化再确认(RPO=0),仅依赖 S3 兼容存储,Apache 2 协议开源。转发者 swyx 补充称用它在博客加了 IRC 聊天频道,可以零成本给任意界面添加聊天。
正文
celld/DOs are awesome.
added an old school irc chat channel to my blog recently and realized that you can literally add chat to every interface for actually $0 (as in free) with a good local dev experience now
you never have to read alone. the web can be open AND social.
Introducing celld: a self-hosted, distributed Durable Objects and Workers implementation - celld = V8 + S3 + SQLite + LTX+ Tokio - programmed with exactly the Cloudflare Workers/DO JavaScript APIs and config - order of magnitude cheaper at scale - writes are durable before they're acknowledged, RPO=0 - only depends on an S3 compatible bucket - no other infrastructure - ~4 MB memory per cell instance overhead - hibernated cells cost ~nothing, just their S3 storage - open source, Apache 2 licensed在 X 查看被引用的帖子
来源:swyx · x.com