与IIS 6扩展名的URL ASP.net MVC的性能 [英] ASP.net MVC performance with extensionless url on IIS 6

查看:165
本文介绍了与IIS 6扩展名的URL ASP.net MVC的性能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在准备做IIS 6的ASP.net MVC应用程序的初始部署的Windows Server 2003上运行,我们一直在阅读有关涉及使用extenionless网址在MVC应用程序特别的情况下的性能问题去除从URL的控制器部分的'的.aspx'扩展。

We are getting ready to do a an initial deployment of an ASP.net MVC app on IIS 6 running on Windows Server 2003. We've been reading about performance issues involving the use of extenionless urls in MVC applications specifically in the case of removing the '.aspx' extension from the controller portion of the url.

拥有谁在过去已经部署了一个MVC应用程序任何人都经历这方面的任何性能下降?是不是明显的,并且是值得它具有清洁的网址吗?我们的应用程序很少需要处理超过1000个左右的并发用户。

Has anyone who has deployed an MVC app in the past experienced any performance degradation in this area? Was it noticeable, and was it worth it for having the cleaner URLs? Our application will rarely have to deal with more than 1000 or so concurrent users.

编辑:感谢所有的响应,它的工作相当出色,虽然也有经历像有些人提到了一些奇怪的要求,我想我们能解决这些使用这里提到的建议

Thanks for all the responses, it's working quite well, although there are a few strange requests going through as some people mentioned, I think we can work around these using the suggestions mentioned here.

推荐答案

我们最近部署了大约收到一个应用程序。超过3个月增长20万的页面浏览量使用IIS 6通配符映射设置,也没有性能问题。我们做了最主机我们的形象在CDN,但其他静态内容直接从网站上提供。

We recently deployed an app that received approx. 20 million page views over a 3 month period using the IIS 6 wildcard mapping setup and had no performance issues. We did host most of our images on a CDN, but other static content was served directly from the site.

有关它的价值,IIRC,在asp.net处理程序将通过进行处理的默认处理程序通过对静态文件类型回到IIS的请求。唯一的实用性能命中是在此过程中,一个工作线程被占用识别和传送请求的时间。但在所有的最极端的情况下,这是太微不足道的事。

For what it's worth, IIRC, the asp.net handler will pass requests for static file types back to IIS through a default handler for processing. The only practical performance hit is the time during that process that a worker thread is occupied identifying and transferring the request. In all but the most extreme scenarios, this is too trivial to matter.

作为一个额外的说明中,我们负荷测试之前去住我提到的,发现它可以每秒处理近2000个静态请求和每秒约700请求,涉及数据库活动的网页应用程序。该网站托管于4 IIS 6服务器之后了1GB的互联网管道ZXTM负载平衡器。

As an extra note, we load tested the application I mentioned prior to going live and found that it could handle nearly 2000 static requests per second and around 700 requests per second for pages that involved database activity. The site was hosted on 4 IIS 6 servers behind a ZXTM load balancer with a 1GB internet pipe.

下面是对整个静态文件处理业务一些好的建议的链接:

Here's a link with some good advice on the whole static file handling business:

<一个href=\"http://msmvps.com/blogs/omar/archive/2008/06/30/deploy-asp-net-mvc-on-iis-6-solve-404-com$p$pssion-and-performance-problems.aspx\" rel=\"nofollow\">http://msmvps.com/blogs/omar/archive/2008/06/30/deploy-asp-net-mvc-on-iis-6-solve-404-com$p$pssion-and-performance-problems.aspx

这篇关于与IIS 6扩展名的URL ASP.net MVC的性能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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