André Haupt February 2016

Throttling network speed for WebSockets

We are doing performance testing on our WebSockets web app. As our app is used in Africa, we need to also test it on very slow connection speeds.

Chrome's network throttling feature works great for HTML, CSS, and JS, but it doesn't seem to be throttling the WebSocket traffic. It would be great if we could throttle that somehow too.

Answers


recycler February 2016

If you are using Linux, have a look on traffic shaping using "tc" command. You can also use it to slow a connection down. Doing it in network low level stack is better than doing it in server. You can also use random drops etc. with tc.

Post Status

Asked in February 2016
Viewed 1,652 times
Voted 7
Answered 1 times

Search




Leave an answer