-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Notify web-socket event listeners independently #8042
Comments
some things to read up |
Websockets definitely limit throughput of events pipeline. Solutions: "Slow" RTT usually mitigated by batching. (Breaking change) I mostly focused on the "substantial" part. Tried to send events to different clients in parallel. The fact that they are "unreliable" is probably the worst, can only be dealt with timeout fine-tunings |
|
I tested network outage (cable unplug): in blocking mode jetty keeps reporting messages sent, so from jetty point of view "transmitted" actually means "network layer accepted packets". |
a new discussion about websocket async behavior in jetty just started jetty/jetty.project#4824 |
|
Currently websokets use RemoteEndpoint.Basic (blocking ) sendText and iterate over all clients.
First improvement we can make is to send events in parallel independently to all web-socket clients - so we don't sum up waiting time.
Also need to look at all possible timeout settings for websokets.
The text was updated successfully, but these errors were encountered: