-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Describe the bug
When multiple clients send messages, the server broadcasts them in a random order.
This is especially tragic, since a client may receive a message, and reply, while another has yet to receive the first.
Then getting rescheduled
It seems the websocket handler, may be called asyncronously. This may also be a problem with the clients
To Reproduce
Have many connected clients
and reply as soon as you get a message
observe different ordering on clients.
Expected behavior
The order in which the server receives the messages should be the order in which they are relayed
Please complete the following information:
- OS: NixOS
- Java version: openJDK 11
Additional context
Observed in local testing environment. May also be due to clients reording server messages.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels