在 ASP.NET MVC 中提高 Web 服务器性能的最佳实践和工具?
在问题之前我们尝试测试网站的性能。我们使用 JMeter 在网站上同时模拟 80 个用户。所以,我正在研究数据库问题和其他问题。但问题之一是 Web 服务器性能不佳并且已经达到极限。
因此,我正在提高 Web 服务器的性能,并已下载Redgate 性能分析器 以及 dottrace。我本来打算开始使用这些,但在此之前我想问一下所有以前做过这件事的人,因为我是这个领域的新手,我还应该采取哪些步骤。您可以建议的任何建议或采取的步骤或任何其他工具都会有很大帮助。基本上,我只是想了解分析 asp.net mvc 应用程序时要使用的最佳实践和工具。
Before the question here is what we tried to test the performance website. We simulated 80 users simultaneously on the website using JMeter. So, I am working on database issues and other problem. But one of the problems was the web server performance was not good and it was maxing out.
So , I am in the process of improving the web server's performance and have downloaded Redgate Performance profiler and also dottrace. I was going to get into using these but I before that I thought of asking all you guyz who have done this before since I am newbie in this area what steps should I take additionally. Any advice or steps to be taken or any other tools you can suggest will be of great help. Basically I am just trying to know the best practices and tools to be used when profiling an asp.net mvc application.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
导致性能下降的原因可能有一百万个。也许只是某些方法/页面需要很长时间执行或消耗太多内存,或者您的意思是整体性能不好。也许您只需要升级硬件,谁知道呢。在运行 JMeter 时,我肯定会尝试通过在 Windows 性能监视器中运行一些计数器来定位瓶颈,包括 Web 服务器和数据库服务器上的 CPU、RAM、网络、磁盘系统。这应该会给你一些可能出错的想法。
There can be a million reasons why you're experiencing slow performance. Maybe it's just some method/page that takes long time to execute or consumes too much memory or did you mean that the overall performance is not good. Maybe you just need to upgrade your hardware, who knows. I would definitely try to locate the bottleneck by running a few counters in Windows Performance Monitor for CPU, RAM, Network, disk system on web server and db server while running JMeter. This should give you some ideas what could be wrong.