-
Notifications
You must be signed in to change notification settings - Fork 438
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
Chat should not poll the server but use events with the standalone signaling server #624
Comments
Hmm the chat backend is not settled yet as far as I understood. |
No functional changes yet, but this will allow later to use the standalone signaling backend to notify clients about new chat messages without having to poll (see #624). Signed-off-by: Joachim Bauch <[email protected]>
No functional changes yet, but this will allow later to use the standalone signaling backend to notify clients about new chat messages without having to poll (see #624). Signed-off-by: Joachim Bauch <[email protected]>
No functional changes yet, but this will allow later to use the standalone signaling backend to notify clients about new chat messages without having to poll (see #624). Signed-off-by: Joachim Bauch <[email protected]>
From my POV we basically listen to the event for new chat/system messages, add a "pull for messages please" message to the signaling and remove the chat polling. |
The standalone signaling server "pings" connected clients internally, so this shouldn't be a problem. |
Just noticed this happening and was wondering why we still poll. I didn't see any signaling events for message sending, so I guess it's not implemented yet in the signaling server ? |
It's not implemented in the signaling backend in talks php. |
Is this still valid? What blocks this? |
Allocating time on all clients. |
|
The chat currently polls for new messages. When using the standalone signaling server, this should be changed to be event based to reduce the server/database load and improve latency.
The text was updated successfully, but these errors were encountered: