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

对此我很感激。


当前回答

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

请参阅这里的配置参数。

其他回答

虚拟网

试试这个基于FreeBSD的VMWare映像。它还有一个很好的操作指南,完全免费,20分钟就能站起来。

更新:DummyNet现在也支持Linux, OSX和Windows

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.

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

请参阅这里的配置参数。

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

祝你好运。

你也可以尝试WANem,这是一个开源的广域网模拟器。您可以下载映像(ISO、Knoppix live CD)或VMWare虚拟设备。