如何确认Application Warm-Up插件是否有效? [英] How do I confirm whether Application Warm-Up plugin works?

查看:144
本文介绍了如何确认Application Warm-Up插件是否有效?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用WCF服务的Web应用程序。 IIS重置或应用程序池回收后,两者的预热都很慢。因此,作为一种可行的解决方案,我为IIS 7.5安装了Application Warm-Up,并为网站和wcf服务进行了设置。
我担心的是,它似乎没有任何区别 - 我第一次访问网站时仍需要很长时间才能启动它。我检查了事件日志,没有错误。所以我想知道是否需要为该模块做任何特殊工作。

I have a web application that's consuming a WCF service. Both are slow on warmup after IIS reset or app pool recycle. So, as a possiible solution I installed Application Warm-Up for IIS 7.5 and set it up for both web site and wcf service. My concern is, it doesn't seem to make any difference - first time I hit the site it still takes long time to bring it up. I checked event logs, there are no errors. So I'm wondering if anything special needs to be done for that module to work.

推荐答案

在IIS管理器中,当你走进入网站,然后进入应用程序预热,右侧有一个操作窗格。我认为您需要以下两件事:

In IIS manager, when you go into the site, then into Application Warm-Up, the right-hand side has an "Actions" pane. I think you need the following two things:


  1. 点击添加请求并添加至少一个网址,例如: /YourService.svc

  1. Click Add Request and add at least one URL, e.g. /YourService.svc

点击设置,并在服务开始时选中启动应用程序池'你的游泳池

Click Settings, and check "Start Application Pool 'your pool' when service started"

你有这两个吗?如果您没有选中第二个设置,那么我认为在用户访问网站之前不会进行预热(这可能会违反您的情况下的预热模块的目的)。

Do you have both of these? If you don't have the second setting checked, then I think the warmup won't happen until a user hits the site (which probably defeats the purpose of the warmup module in your case).

这篇关于如何确认Application Warm-Up插件是否有效?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆