开发者

ASp.Net MVC 2 Performance

开发者 https://www.devze.com 2022-12-26 02:38 出处:网络
What is the latest data on ASP.Net MVC perf开发者_开发技巧ormance? How does it scale and perform under heavy load?

What is the latest data on ASP.Net MVC perf开发者_开发技巧ormance? How does it scale and perform under heavy load?

I have profiled my ASP.Net MVC 1 application and most of the time is wasted in System.Web.MVC assembly, so I thought it might be a concern.


"MVC uses more time than nHibernate"

This can't be true.

Even with a simple select with nHibernate your probably looking at more than 50ms for connection, query translation, query execution, and finally materialization against MSSQL.

A base MVC request against with no logic returns in < 1 ms.


In fact this site (stack overflow) is done in asp.net MVC 1. How does it seem speed wise?


We have a high traffic ASP.NET MVC website and it performs well.

Dont worry about the time spent in MVC itself. This will not be an issue.

The main issue I see for even more traffic on our site is that we can only cache complete Actions. But right now this all looks better then expected.

0

精彩评论

暂无评论...
验证码 换一张
取 消