Hacker News new | ask | show | jobs
by calebj0seph 1070 days ago
I'm an engineer on Atlassian's new whiteboard feature for Confluence, which has real-time collaboration like Figma. We've been highly successful using Cloudflare Durable Objects to act as a simple relay for WebSocket messages.

One of the best things is that the Durable Object will automatically run in the closest Cloudflare data center to the first user who connects, which helps keep latency very low.

The alarms feature they added last year has also been great at allowing us to asynchronously snapshot the state of a board certain intervals, rather than us needing to schedule the job from an external system.

1 comments

Side note: unfortunately for Aussies the nearest DC running durable objects is still in Singapore :(

Source: https://where.durableobjects.live/

One of the benefits of our new storage engine[0] is that it'll be much easier for us to host it in any datacenter, rather than just the biggest, best-connected ones. We still have a lot of work to do to make this available to all durable objects and actually start utilizing smaller datacenters this way, but we're working on it.

[0] https://twitter.com/KentonVarda/status/1659551757796515846

(I'm tech lead for Workers and have been focused on this storage engine in particular.)

Great to hear! Your work is really impressve.
> Currently, durable objects are available in 9.89% of Cloudflare PoPs.

I really hope this becomes higher, the less latency the more compelling Durable Objects become for real-time applications.

Better than California by a long shot