Dog with websocket Hibernation
Hi. I have a need to maintain ~300k Websockets connections, and broadcast to all of them every few hours.
because most of the time they will be idle, i plan to use WebSocket Hibernation.
since the limit is 32,768 WebSocket connections per Durable Object instance, i need some kind of pool to make a few objects to handle all connections.
found this: https://github.com/cloudflare/dog but it does not support Hibernation.
any help will be appreciated on how to implement this kind of thing.
GitHub
GitHub - cloudflare/dog: Durable Object Groups
Durable Object Groups. Contribute to cloudflare/dog development by creating an account on GitHub.
0 Replies