# Limiting bandwidth for testing

## 2013-10-24

Oftentimes I find myself developing for mobile or potentially low-bandwidth situations while connected to gigabit ethernet. Conservative use of libraries and minification techniques are important defensive programming measures in this situation, but nothing beats being able to test things at the intended bandwidth. trickle provides a nice way userspace way of simulating a low-bandwidth environment.

# Step 1: Install Trickle

sudo apt-get install trickle


# Step 2: Use Trickle

trickle -s -d 50 -u 50 -w 100 firefox