-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Add prepareMessage and sendPrepared functions #182
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
Comments
Describe what the feature does or link to an explanation of the feature. |
For e.g. a message X has to be sent to N number fo clients. By default, it would do same work (Framing, compression etc) N times. prepareMessage: Prepare message to be sent, this would do framing, compression etc. http://autobahn.ws/python/reference/autobahn.websocket.html#autobahn.websocket.interfaces.IWebSocketChannel.sendPreparedMessage https://github.com/uWebSockets/uWebSockets/issues/136 |
I understand. Is there any way we could improve performance when we are sending high throughput identical messages to over multiple clients? |
Fixed by 804cb60. |
We could improve performance in pub-sub or broadcast cases if functions such as prepareMessage and sendPrepared are added (especially in case of compression)
https://github.com/uWebSockets/uWebSockets/issues/141
http://autobahn.ws/python/_modules/autobahn/websocket/interfaces.html#IWebSocketChannel.sendPreparedMessage
The text was updated successfully, but these errors were encountered: