We are using the https://github.com/mrniko/netty-socketio.
Application scenario : Server is pushing messages via websocket to the client at a high rate.
Recently we encountered an issue where the client was unable to process all the event messages from the socket.io server. The websocket messages started piling up and the client became unresponsive.In Chrome developer tools, we could see a gradual increase in the memory of the client.
Analyzing the tcpdump using wireshark shows that there are lot of retransmissions happening and the client is unable to cope up.
We are planning to have a throttling mechanism at the server side.Is there any event/callback that can be used to detect slow clients so that we can start throttling at the server side for this particular websocket?