Simulate network latency to debug connection timeouts
On a Linux box, you can easily simulate network latency with tc
To slow down all requests to VirtualBox VMs, use
sudo tc qdisc add dev vboxnet1 root netem delay 1500ms
Written by Michael Lex
Related protips
1 Response
For HTTP you can also use Charles Proxy and it's throttling feature. On iOS and OSX there is the network link conditioner which allows configuring this via UI.
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Debug
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#