我想直观地评估网页的几个互联网连接类型的响应时间(DSL,电缆,T1,拨号等),而我的浏览器和网络服务器是在同一局域网,甚至在同一台机器上。是否有任何简单的网络工具或浏览器插件来降低网络带宽,以模拟不同的现实连接场景。

对此我很感激。


当前回答

我已经成功地使用TMnetSim(页面底部,在“其他工具”下-链接显示类似于“ZIP: TMnetSim网络模拟器2.4 32位(600KB)”

它不仅仅适用于网站——你可以减慢任何TCP端口的连接。我用它来模拟一个缓慢的SQL Server(端口1433)。

其他回答

如果你使用Apache,你可以使用mod_bandwith。

请参阅这里的配置参数。

在Linux上,请参阅netem:内核已经包含了对流量整形的支持,并且可以模拟高延迟、低带宽、数据包丢失和所有其他不利条件,甚至在环回设备上(因此您不需要一个真实的物理网络进行测试)。

You can use dummynet ofcourse, There is extension of dummynet called KauNet. which can provide even more precise control of network conditions. It can drop/delay/re-order specific packets (that way you can perform more in-depth analysis of dropping key packets like TCP handshake to see how your web pages digest it). It also works in time domain. Usually most the emulators are tuned to work in data domain. In time domain you can specify from what time to what time you can alter the network conditions.

我的作品使用了这个工具,看起来还不错: http://www.dallaway.com/sloppy/

祝你好运。

试试微软的NEWT吧,它非常适合我。它提供了定制的延迟,数据包丢弃技术和更多:)

http://blog.mrpol.nl/2010/01/14/network-emulator-toolkit/

更新1:

这是一个很好的NEWT -视频教程 网络仿真器For Windows Toolkit教程(credit to Jimmery)