r/CloudFlare • • 1d ago

Self-hosting Durable Objects: celld, workerd, Rivet, Cloudflare

https://contextmode.ai/blog/four-ways-to-self-host-durable-objects

Saw it on X.

37 Upvotes

4 comments sorted by

•

u/AutoModerator 1d ago

For faster advice with technical questions, we'd recommend asking in the Orange Cloud Discord server; the unofficial Cloudflare Discord server by the community, for the community. https://discord.gg/TrPNVKaagR

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/flarepanel 13h ago

Worth separating two things when comparing these: running the DO programming model, and getting Cloudflare's guarantee that there's exactly one instance of an object worldwide, placed near its users. workerd can run DOs with local storage, which is great for dev or a single box, but as far as I know that one-instance guarantee across machines is the part you'd have to build or get from something like Rivet. If your objects are mostly per-user state on one server, that difference may not matter much.

1

u/nutyourself 59m ago

Are you speculating or know for sure somehow?

1

u/avenaikk 3h ago

its cool to see the runtime getting decoupled from the edge network. Curious how they handle the storage backend under the hood without the proprietary distributed layer