Celld: Self-hosted, distributed Durable Objects

78 points by calvinfo 4 hours ago on hackernews | 5 comments

jauntywundrkind | 2 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)

reactordev | 55 minutes ago

Now you’re getting into the realm of old SOA… where data exchanges are just as stochastic as services on the pipe.

wartywhoa23 | 45 minutes ago

The order of magnitude of this is simply mindblowing.
All we need is a way to run these on spot instances
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.