[SOLVED] 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 HTTP traffic (HTML, CSS, JS, etc. files), but it doesn’t seem to be throttling the WebSocket traffic. It would be great if we could throttle that somehow too.


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.

Answered By – recycler

Answer Checked By – Jay B. (BugsFixing Admin)

Leave a Reply

Your email address will not be published. Required fields are marked *