05/25/2023, 4:16 AM
greetings! i have a question regarding DO efficiency. current scenario -streaming app has chat using DO websockets. -entering a channel connects to a DO websocket. -changing channels disconnects and connects to the new websocket. (i believe this is what is causing error 1006 in our app). Support said it was due to the browser implementation. would it be better to just connect to DO websocket once and only listen for the current channel_id to populate the chat? and change channel_id when the channel changes? im just afraid if there are 100 channels open and 10 users chatting in each channel, would that blow up a users single DO websocket connection because its receiving so many messages that its ignoring.