A guide to network throttling methods
![](https://s3.amazonaws.com/media-p.slid.es/uploads/98145/images/6744785/dbb-head-with-padding.png)
DebugBear
Matt Zeunert
![](https://s3.amazonaws.com/media-p.slid.es/uploads/98145/images/6744844/overview-tab.png)
![](https://s3.amazonaws.com/media-p.slid.es/uploads/98145/images/6744785/dbb-head-with-padding.png)
DebugBear
Why?
Match connection speed of real users
Consistent connection speed
Throttling methods
Browser-level
Packet-level
Simulated
![](https://s3.amazonaws.com/media-p.slid.es/uploads/98145/images/6755245/Screenshot_2019-11-10_at_17.05.24.png)
HTTP request latency
High-latency connection
Browser-level
![](https://s3.amazonaws.com/media-p.slid.es/uploads/98145/images/6744938/Screenshot_2019-11-07_at_12.07.40.png)
150ms round-trip time
1.6Mbps bandwidth
![](https://s3.amazonaws.com/media-p.slid.es/uploads/98145/images/6762886/Screenshot_2019-11-12_at_11.50.23.png)
Minimum HTTP duration: 562ms
Response held back for 562ms - 200ms - 20ms = 342ms
![](https://s3.amazonaws.com/media-p.slid.es/uploads/98145/images/6751658/Screenshot_2019-11-08_at_21.18.35.png)
HTTP roundtrip with 563ms throttling
Packet-level
![](https://s3.amazonaws.com/media-p.slid.es/uploads/98145/images/6757016/Screenshot_2019-11-11_at_09.28.10.png)
comcast --device=eth0 --latency=150 --target-bw=1638
tc (traffic control) is the user-space utility program used to configure the Linux kernel packet scheduler.
sudo tc qdisc add dev eth0 root netem delay 75ms rate 1638kbit
Usability
Applies to all applications
Requires admin access
Commands are system-dependent
Simulated Throttling
![](https://s3.amazonaws.com/media-p.slid.es/uploads/98145/images/6745080/Screenshot_2019-11-07_at_12.36.16.png)
![](https://s3.amazonaws.com/media-p.slid.es/uploads/98145/images/6745074/Screenshot_2019-11-07_at_12.33.54.png)
![](https://s3.amazonaws.com/media-p.slid.es/uploads/98145/images/6762493/Screenshot_2019-11-12_at_09.58.20.png)
![](https://s3.amazonaws.com/media-p.slid.es/uploads/98145/images/6755071/Screenshot_2019-11-10_at_15.38.38.png)
Advantages
Fast
Low variability
Server response time test
![](https://s3.amazonaws.com/media-p.slid.es/uploads/98145/images/6754870/Screenshot_2019-11-10_at_13.21.54.png)
![](https://s3.amazonaws.com/media-p.slid.es/uploads/98145/images/6754871/Screenshot_2019-11-10_at_13.22.08.png)
Server response time test
7 Ajax requests
4 respond after 0.2s
3 respond after 10s
Median server response for the origin: 0.2s
![](https://s3.amazonaws.com/media-p.slid.es/uploads/98145/images/6757230/Screenshot_2019-11-11_at_10.26.42.png)
![](https://s3.amazonaws.com/media-p.slid.es/uploads/98145/images/6755107/bandwidth.png)
![](https://s3.amazonaws.com/media-p.slid.es/uploads/98145/images/6758529/Screenshot_2019-11-11_at_15.02.23.png)
![](https://s3.amazonaws.com/media-p.slid.es/uploads/98145/images/6758531/Screenshot_2019-11-11_at_15.01.04.png)
![](https://s3.amazonaws.com/media-p.slid.es/uploads/98145/images/6758543/Screenshot_2019-11-11_at_15.04.17.png)
![](https://s3.amazonaws.com/media-p.slid.es/uploads/98145/images/6758591/Screenshot_2019-11-11_at_15.12.59.png)
Network throttling method
By Matt Zeunert
Network throttling method
- 658