r/programming • • Aug 12 '26

Node.js creator liberates Durable Objects from Cloudflare

https://www.theregister.com/devops/2026/08/12/nodejs-creator-liberates-durable-objects-from-cloudflare-with-celld/5286954
172 Upvotes

25 comments sorted by

View all comments

Show parent comment

1

u/dkarlovi Aug 13 '26

I've been using durable objects to implement my app and Durable objects allow you to connect websockets into a single pool, you get to persist metadata with each socket and they implement the idle wait. Namely, they hibernate your DO and it's not wasting compute minutes idly waiting for something to happen, when something DOES happen, you get woken up and get to react. From the client's POV they're continuously connected and it works just like there's no hibernation behind the scenes, it's actually pretty clever.

You can play around with this on their free plan.