Celld: Self-hosted, distributed Durable Objects
92 points by calvinfo 5 hours ago | 9 comments

khalidx 14 minutes ago
Finally!

So happy to see support for running durable objects outside of one provider. Upvoted.

The "durable object" concept has been repeatably demonstrated to be a valuable abstraction.

"Each object is its own SQLite database, addressed by name and replicated to an S3-compatible bucket you own" -- this concept can take you a long way, both in its power and simplicity.

reply
vmg12 2 hours ago
All we need is a way to run these on spot instances
reply
wmf 34 minutes ago
I don't see why not. Somebody once wrote a simple Lambda that spawns a new instance when your spot instance dies so there's always at least one running.
reply
jauntywundrkind 3 hours ago
Well that couldn't have been any more timely. Did they know? Were they keeping this in a back pocket for the time?

CloudFlare OS: https://blog.cloudflare.com/cloudflare-os/ https://news.ycombinator.com/item?id=49182996

And yes, celld is isolates! The very lightweight within v8 isolation boundary. Hence the "very low idle cost". The deno team rolled their own new runtime! This one without deno_core! Shout out to this excellent 2022 post: https://deno.com/blog/roll-your-own-javascript-runtime https://news.ycombinator.com/item?id=35819990 https://news.ycombinator.com/item?id=35819990

It's super super exciting having an age where many pieces of software can all run with low profiles. Very timely, again, for the unbelievably order of magnitude (and thats 10 to the not 2 to the, for you fellow computer nerds) ish ram crunch we are in. Next up, at some point, ideally we get some v8-like runtimes where we can share libraries across multiple isolates! Separating the shared code from the shared data, so we have multiple instances of the library, seems much harder. (It feels like wasm has some/much promise here and I eagerly await clearer signals that code-sharing while sandboxing is indeed possible)

reply
reactordev 2 hours ago
Now you’re getting into the realm of old SOA… where data exchanges are just as stochastic as services on the pipe.
reply
wartywhoa23 2 hours ago
The order of magnitude of this is simply mindblowing.
reply
zuzululu 24 minutes ago
i donno...i have some doubts about this

cloudflare gives you that instant geo-sync across the world that is hard to beat

with Celld do i need to buy bare metal in major continents

reply
vmg12 22 minutes ago
Geo-sync? I'm pretty sure durable objects are tied to the datacenter they are created in.
reply
zuzululu 20 minutes ago
nothing beats cloudflare's reach they have nodes everywhere

thats hard to beat

reply
q3k 24 minutes ago
[dead]
reply