Simulating Slow Internet Connection

前端 未结 16 1731
深忆病人
深忆病人 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:04

    If you're running windows, fiddler is a great tool. It has a setting to simulate modem speed, and for someone who wants more control has a plugin to add latency to each request.

    I prefer using a tool like this to putting latency code in my application as it is a much more realistic simulation, as well as not making me design or code the actual bits. The best code is code I don't have to write.

    ADDED: This article at Pavel Donchev's blog on Software Technologies shows how to create custom simulated speeds: Limiting your Internet connection speed with Fiddler.

提交回复
热议问题