Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to test a site for low bandwidth?

I'm developing a web application for mobile browsers. Right now most of development is done on local machines (with local apache) and I'd like to test how it behaves in low bandwidth and even high latency environments. I don't need to use apache as there is little server side things for the moment. Do you know any good tool?

like image 222
gotch4 Avatar asked Aug 03 '10 12:08

gotch4


People also ask

How do I know if I have low bandwidth?

If your videos suddenly start buffering or web pages take longer than usual to load, chances are you've got low bandwidth.


1 Answers

You may want to give Sloppy a try.

UPDATE: @SamSaffron posted a cool gist: https://gist.github.com/2132065 to inject 300ms latency into the network stack

#!/bin/sh
ipfw -q -f flush

ipfw add pipe 1 in
ipfw add pipe 2 out
ipfw pipe 1 config bw 512Kbit/s queue 30 delay 150ms
ipfw pipe 2 config bw 2Mbit/s queue 10 delay 150ms
ipfw -q add allow all from any to any
like image 111
Gregory Pakosz Avatar answered Sep 20 '22 09:09

Gregory Pakosz