Simulating Slow Internet Connection

前端 未结 16 1689
深忆病人
深忆病人 2020-11-27 09:30

I know this is kind of an odd question. Since I usually develop applications based on the \"assumption\" that all users have a slow internet connection. But, does anybody th

16条回答
  •  一生所求
    2020-11-27 10:11

    For Linux, the following list of papers might be useful:

    • A Comparative Study of Network Link Emulators (2009)
    • KauNet: A Versatile and Flexible Emulation System (2009)
    • Dummynet Revisited (2010)
    • Measuring Accuracy and Performance of Network Emulators (2015)

    Personally, whilst Dummynet is good, I find NetEm to be the most versatile for my use-cases; I'm usually interested in the effect of delays, rather than bandwidth (i.e. WiFi connection issues), and it's super-easy to emulate random packet loss/corruption, etc. It's also very accessible, and free (unlike the hardware-based Linktropy).

    On a side-note, for Windows, Clumsy is awesome. I would also like to add that (regarding websites) browser throttling is not an accurate method for emulating real-life network issues (I think "TKK" commented on a few of the reasons why above).

    Hope this helps someone!

提交回复
热议问题