是否有可能减慢IIS? [英] Is it possible to slow down IIS?

查看:119
本文介绍了是否有可能减慢IIS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Win7和IIS7设置了本地开发Web服务器。

I have a local development webserver set up using Win7 and IIS7.

我经常需要使用非常慢的互联网连接测试我在所有浏览器上开发的应用程序和网站,以确定所有客户端脚本的执行方式以及图像和所有链接资源在所有浏览器上正确加载。

I often have to test the applications and websites I develop on all browsers using "very slow" internet connections to determine how all the clients scripts execute and if the images and all linked resources load properly and in order on all browsers.

现在,这涉及将项目部署到远程服务器,然后通过慢速Internet或网络连接进行测试。在我的情况下,这通常只能在项目结束时进行。很难部署项目,只是为了速度测试...

Now, this involves deploying the project to a remote server and then testing over a slow internet or network connection. In my case this is usually only possible at the end of the project. Its a pain to deploy the project every now and then only for speed testing ...

是否有可能减慢IIS的速度,使其表现得像你通过非常慢的互联网连接并以这种方式测试应用程序。这也将帮助我测试独立PC(没有PC网络)上的应用程序,例如家庭桌面上没有网络连接的互联网连接。

Is it possible to slow down IIS so it behaves like you're connected over a very slow internet connection and test the applications that way. This will also help me test the applications on a standalone PC (without a network of PCs) like on a home desktop that doesn't have a network connection only an internet connection.

对不起听起来有点新手! ...无法帮助,因为我是一个人:)

Sorry for sounding newbie-ish ! ... couldn't help because I am one :)

谢谢,
诺曼。

Thanks, Norman.

更新:几乎所有这个问题的答案都很棒,并且在不同的情况下工作....对我来说(Win7上的IIS7)选择的答案是最合适的......我相信你们我会在这里找到一个适合你的答案:)。所以感谢大家......哦......如果IIS或VS的下一个版本附带磁铁,请不要感到惊讶! :D

UPDATE: Almost all answers to this question were great and work in different situations .... for me (IIS7 on Win7) the selected answer is the most appropriate ... I'm sure you'll find an answer here that works for you :). So thanks to everyone ... oh ... and don't be surprised if the next version of IIS or VS ships with magnets ! :D

推荐答案

Fiddler 还可以选择本地节流速度这可能会更方便。

Fiddler has an option to throttle speeds locally as well which might be a bit more convenient.

这篇关于是否有可能减慢IIS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆