Nystrom desk atlas online
- you can add artificial latency using tc on linux. I have tested it using a local nodejs server, and adding an artificial delay to my localhost interface with the following command: sudo tc qdisc add dev lo root netem delay 222ms You can later remove the delay with the command: sudo tc qdisc del dev lo root
- tc, the traffic control tool, is used to configure the Linux kernel to accomplish the shaping, scheduling, policing, and dropping of packets. Each interface by default has a root qdisc. By default, it uses pfifo_fast algorhythm (in our case, it will be configured to use HTB). Think of the root qdisc as the main container that everything resides.
- The classless Qdisc does not contain another Qdisc so there is only one level of queuing. The classless Qdisc only determines whether the packet is classied, delayed or dropped.