Hoshenk13
CDCloudflare Developers
•Created by Hoshenk13 on 10/5/2024 in #workers-help
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.
1 replies