message-io icon indicating copy to clipboard operation
message-io copied to clipboard

Windows Websocket latency optimizatión

Open lemunozm opened this issue 3 years ago • 0 comments

There is an existing optimization for WebSocket here: https://github.com/lemunozm/message-io/pull/73 in order to avoid an extra call to read_message() from tungstenite. This optimization means a reduction of 40% in the latency.

It works fine in Linux and MacOS but in Windows seems like after the peek() the stream is no longer waked from the poll.

Search the way to get it working in Windows if possible

lemunozm avatar Apr 13 '21 14:04 lemunozm