在Azure上果园性能 [英] Orchard Performance on Azure
问题描述
使用<一个href=\"http://docs.orchardproject.net/Documentation/Deploying-Orchard-to-Windows-Azure\">http://docs.orchardproject.net/Documentation/Deploying-Orchard-to-Windows-Azure我已经成功地部署到果园天青。
Using http://docs.orchardproject.net/Documentation/Deploying-Orchard-to-Windows-Azure I've successfully deployed Orchard into Azure.
20分钟每左右没有活动(应用程序池回收?),它需要几分钟来渲染页面之后。我在Azure中特小实例上运行。 Webinstance,储存和SQL数据库都在同一个数据中心 - 东南亚
After every 20mins or so without activity (app pool recycle?) it takes minutes to render a page. I'm running on an Extra Small instance in Azure. Webinstance, Storage and SQL Database are all in the same datacentre - SE Asia.
有一个叫保活模块,做了常平。
There is a module called keepalive, which does a regular ping.
或<一个href=\"http://blog.smarx.com/posts/controlling-application-pool-idle-timeouts-in-windows-azure\">http://blog.smarx.com/posts/controlling-application-pool-idle-timeouts-in-windows-azure
也被关闭调试(!),并把在充分信任此处<一个描述href=\"http://docs.orchardproject.net/Documentation/Optimizing-Performance-of-Orchard-with-Shared-Hosting\">http://docs.orchardproject.net/Documentation/Optimizing-Performance-of-Orchard-with-Shared-Hosting
Also turned off Debug(!) and put in full trust as described here http://docs.orchardproject.net/Documentation/Optimizing-Performance-of-Orchard-with-Shared-Hosting
将实验设置/预热页面..
Will experiment with settings / warmup pages..
平似乎重手 - 我这么想
The ping seems heavy handed - am I missing something?
推荐答案
您说得对应用程序池回收 - 默认的空闲时间为20分钟。如果将此设置为0(无限),你不会看到20分钟内后暂停。
You're right about the app pool recycle - the default idle timeout is 20 minutes. If you set this to 0 (infinite), you won't see the pause after 20 minutes of inactivity.
史蒂夫马克思<一个href=\"http://blog.smarx.com/posts/controlling-application-pool-idle-timeouts-in-windows-azure\">blogged有关如何做到这一点。它涉及到一个启动任务调用一个提升的命令脚本将应用程序池超时:
Steve Marx blogged about how to do this. It involves a startup task calling an elevated command script that sets app pool timeout:
%windir%\system32\inetsrv\appcmd set config -section:applicationPools -applicationPoolDefaults.processModel.idleTimeout:00:00:00
这篇关于在Azure上果园性能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!