ASP.NET MVC Web 应用程序在 IIS 8 上允许 1000 多个并发用户

Allow 1000+ concurrent users on IIS 8 for ASP.NET MVC web application

我们已经构建了 ASP.NET MVC4 应用程序并部署在 IIS8.5 上 我们为 QueueLength = 5000 更新了 Appication 池中的设置,并在框架的 ASP.NET.config 文件中更新了相同设置 (C:\Windows\Microsoft.NET\Framework64\v4.0.30319)Appication pool setting upate

ASP.NET Config file change

仍然,一次最多允许 100 个用户,其余的正在排队。 服务器配置为 4 核处理器、8 GB Ram 和 64 位OS。

需要帮助解决我的问题。非常感谢提前。 所有配置的附加图像。

我们更新了 QueueLength = 5000 的 Appication 池中的设置,并且还在框架的 ASP.NET.config 文件中更新了相同的设置 (C:\Windows\Microsoft.NET\Framework64\v4.0.30319)

允许并发登录和支持的最大用户数。SServer Configuration

Need help to fix my problem. many many thanks in Advance. Attached image of all configuration.

我建议您可以 运行 下面的命令来修改服务器 运行 时间 applicationhost.config 文件中的 appConcurrentRequestLimit。

 c:\windows\system32\inetsrv\appcmd.exe set config /section:serverRuntime /appConcurrentRequestLimit:100000

However,I would like a recommendation from you regarding two options we have. 1 We can Update my existing server from 4 Core 8gb RAM to 6 core 16 GB RAM or 2 We can Keep separate servers i.e One for IIS and One for SQL Server. Server Config will be same for both(4 Core 8GB RAM). Which option would be preferable?

在我看来,这应该根据您的应用程序性能。我认为你应该分析 sql 的性能,如果你发现 sql 需要大量服务器资源来处理 sql 查询或其他导致你的 IIS 花费这么长时间的东西回复的时间,我建议你可以保留单独的服务器。

如果你发现sql服务器只占用一点服务器资源,我建议你可以只使用一个服务器。