Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 10 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(10)
如果您尝试进行 HTTP 限制,Charles Web Proxy 绝对非常适合此操作。 请务必看一下。
If you are trying to do HTTP throttling Charles Web Proxy is absolutely great for this. Please do have a look at it.
Clumsy 似乎是一种很有前途的新工具,用于测试网络性能下降的情况。
Clumsy seems to be a promising new tools for testing with degraded network performance.
你说得对。 dummynet 仅在 FreeBSD 中工作,它实际上内置于内核中。
当我使用它时,我所做的就是拿起一台没人再使用的旧电脑并安装 FreeBSD分布。
You're right. dummynet works only in FreeBSD, it's actually built into the kernel.
What I did when I used it was grab an older PC nobody used anymore and install the FreeBSD distribution.
Fiddler 是一个(另一个)网络代理,可用于降低您的连接性能。
Fiddler is a(nother) web proxy that can be used to degrade your connection.
Dummynet 是最佳选择,特别是如果您想模拟复杂的场景,例如 ADSL 连接(上行链路和下行链路不对称)、“慢速连接”(长延迟)、有损链路等。正如 Christian 所说,您可以找到一些备用的旧网络PC 并安装 FreeBSD。 您也可以使用 VMware,但我不推荐这样做。
Dummynet is the way to go, especially if you want to simulate complex scenarios such as ADSL connections (asymmetric uplink and downlink), "Slow connection" (long latency), lossy links, etc. As Christian said, you can find some spare old PCs and install FreeBSD. You can also use VMware but I wouldn't recommand that.
这个工具怎么样(网络流量生成器)?
How about this tool (network Traffic Generator) ?
什么样的网络流量? 如果是 HTTP,这将适合您:
http://www.charlesproxy.com/
What kind of network traffic? If it's HTTP this will work for you:
http://www.charlesproxy.com/
我在工作时在 XP 开发盒上使用了 Traffic Shaper XP。 它似乎可以处理任何连接(不仅仅是 HTTP)。 它并不完美,但对于我所做的测试来说已经足够好了。 如果您使用的是 Windows,也许它对您来说已经足够了。
I've used Traffic Shaper XP on my XP dev box at work. It seems to handle any connection (not just HTTP). It wasn't perfect, but worked well enough for the tests I was doing. If you're on Windows maybe it'll do enough for you.
尝试dummynet。
您可以在网络上找到大量资源,包括本教程。
Try dummynet.
You will find lots of resources on the web, including this tutorial.
吞吐量、延迟、抖动和数据包丢失都会影响用户体验。 在主机(或虚拟机)上运行的多种软件解决方案允许拉动这些“杠杆”。
上次我研究时发现了一些可能性:
Wanem
dummyet(链接1)
dummynet (link2)
nistnet
shunra (link1)< /a>
shunra (link2)
tmnetsim
tmnetsim
Cisco WAN 桥(需要 CCO 登录)
如果您想要基于客户端的东西,可以尝试 shunra,如果您想要基础设施中的东西,wanem 非常简单,因为它们是可用的 VMWare 设备。
Throughput, latency, jitter, and packet loss can all impact user experience. Several software solutions that run on a host (or VM) allow these "levers" to be pulled.
Last time I researched I found a few possibilities:
Wanem
dummyet (link1)
dummynet (link2)
nistnet
shunra (link1)
shunra (link2)
tmnetsim
tmnetsim
Cisco WAN-Bridge (CCO Login Required)
If you want something client based maybe try shunra, and if you want something in the infrastructure wanem is pretty easy since their is a VMWare appliance available.