Durable Objects ยท Hibernating WebSockets

Find your room.

A tiny live chat. Every room is its own Durable Object, and idle WebSockets can hibernate without losing their connections.

Static lobby โ†’ Worker router โ†’ one Durable Object per room