简体   繁体   English

什么是asp.net mvc网站的正常内存使用情况?

[英]What is normal memory usage of an asp.net mvc website?

I have really tried to Google it but only articles about how to troubleshoot memory issues come up. 我真的试过谷歌它,但只有关于如何解决内存问题的文章出现。 Before I start to troubleshoot, I would like to know if my web site's memory usage is really abnormal or not. 在我开始排除故障之前,我想知道我的网站的内存使用情况是否真的异常。

So it is an asp.net mvc 2 website that runs on IIS 7.5 in production. 所以它是一个asp.net mvc 2网站,在IIS 7.5上运行。 I guess normal memory usage depends upon traffic, so here are the numbers of an average day: 我猜正常的内存使用量取决于流量,所以这里是平均天数:

  • 300 unique visitor 300位独特的访客
  • 400 visits 400次访问
  • 3000 page views 3000页面访问量

I would be really happy to get some idea how much is the normal memory usage for this traffic. 我很高兴知道这个流量的正常内存使用量是多少。 Also I would be curious to know how memory usage normally increases with traffic growth. 此外,我很想知道内存使用情况通常会随着流量增长而增加。

Thanks a lot 非常感谢

It's pretty imposible to define "normal memory usage" for anything without a more complete specification. 在没有更完整规范的情况下为任何事物定义“正常内存使用”是非常不可能的。

For example, if you cache large quantities of data in memory, that will affect the "normal memory usage" of your application. 例如,如果在内存中缓存大量数据,则会影响应用程序的“正常内存使用”。 One thing that can particularly skew this is if the data is cached in response to a user action. 可能特别倾向于这一点的一件事是,如果数据被缓存以响应用户操作。 There could be a scenario that users trigger on one in a thousand visits to your site that causes 75Mb of additional data to be cached, which might (depending on the usual dataset) cause what appears to be a significant difference. 可能存在一种情况,即用户在对您的站点的一千次访问中触发,导致75Mb的附加数据被缓存,这可能(取决于通常的数据集)导致看起来有显着差异。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM