You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When sending and receiving messages at high rates the receiver quickly starts having trouble receiving the messages.
I've made a minimum reproduction repo to showcase this problem: https://github.com/LuisMayo/laminar-testing-latency
If you launch a "server" with cargo run and a client with cargo run -- --client a server and a client will run. The client sending messages each 16ms and both of them printing how much time has passed since last sent/received message
If you run them for a while you'll see how the "server" starts outputting higher time differences
Using --release mode doesn't seem to be of any help.
Even if the test uses 16ms. First time I encountered the problem was in fact at a much lower frequency as I was running some tests for a game, each 333ms.
I have encountered similar issue. My case is that I was trying to send multiple images (single image 70kb), it could no longer received any packet right after around 5 images sent.
When sending and receiving messages at high rates the receiver quickly starts having trouble receiving the messages.
I've made a minimum reproduction repo to showcase this problem: https://github.com/LuisMayo/laminar-testing-latency
If you launch a "server" with
cargo run
and a client withcargo run -- --client
a server and a client will run. The client sending messages each 16ms and both of them printing how much time has passed since last sent/received messageIf you run them for a while you'll see how the "server" starts outputting higher time differences
Using --release mode doesn't seem to be of any help.
Even if the test uses 16ms. First time I encountered the problem was in fact at a much lower frequency as I was running some tests for a game, each 333ms.
My machine information as output by neofetch
The text was updated successfully, but these errors were encountered: