Cloudflare DevelopersCD
Cloudflare Developers10mo ago
10 replies
Ryan

Im interested in using DO for my chat

Im interested in using DO for my chat app but it's not quite clear to me how to handle multiple concurrent DO connections for a frontend user. My users can be in many chats at once, maybe 20 that are all active. I can't create seperate websocket instances for each one, and if each DO represents one room/conversation, how do I let the frontend subscribe to events in any of those chats? Is there a suggested way of handling this?
Was this page helpful?