如何在IIS 7中使用多个应用程序池来克服缓慢加载的应用程序?

时间:2022-10-02 22:53:29

How can I overcome a slow loading application with several app pools in IIS 7 ? And not have requests wait for the server to load (in case of recycling) and create a queue. But have the server loaded while hitting recycle condition before the first requests arrives. Thanks, Oshrat.

如何在IIS 7中使用多个应用程序池来克服缓慢加载的应用程序?并且没有请求等待服务器加载(在回收的情况下)并创建队列。但是在第一个请求到达之前,在达到回收条件时加载服务器。谢谢,奥什拉特。

1 个解决方案

#1


Are you sure the slow load isn't a result of waiting for the original pool to complete? This can happen if the app pool has the "Disable Overlapped Recycle" setting turned on.

您确定缓慢加载不是等待原始池完成的结果吗?如果应用程序池启用了“禁用重叠回收”设置,则会发生这种情况。

Applications will load their initial state when the get the first request. Hence you could consider having a little tool whose job it is to ping the application to get it to start before a real user attempts to use it.

应用程序将在获取第一个请求时加载其初始状态。因此,你可以考虑使用一个小工具,它的工作是ping应用程序,以便在真实用户尝试使用它之前启动它。

#1


Are you sure the slow load isn't a result of waiting for the original pool to complete? This can happen if the app pool has the "Disable Overlapped Recycle" setting turned on.

您确定缓慢加载不是等待原始池完成的结果吗?如果应用程序池启用了“禁用重叠回收”设置,则会发生这种情况。

Applications will load their initial state when the get the first request. Hence you could consider having a little tool whose job it is to ping the application to get it to start before a real user attempts to use it.

应用程序将在获取第一个请求时加载其初始状态。因此,你可以考虑使用一个小工具,它的工作是ping应用程序,以便在真实用户尝试使用它之前启动它。