Windows Azure网站加载时间 [英] windows azure website load time

查看:52
本文介绍了Windows Azure网站加载时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有时,当我访问Windows Azure网站时,初始响应时间很慢.第一页加载后,网站运行很快.一些背景:该网站目前并不经常访问.此外,我正在使用一个keepalivecontroller来保持网站运行并且网站以共享模式运行.我想知道:是否在Windows Azure中从内存中删除了那些没有被激活的网站?还是Windows Azure的操作级别上的后台任务有时会干扰?对我来说,发生的事情并不透明,所以Windows Azure网站会有一些东西吗?

Sometimes when I access my windows azure website, the initial response time is very slow. After the first page load the website is fast. Some background: The website is not that often visited at the moment. Further, I am using a keepalivecontroller to keep the website running and the website is running in shared mode. I am wondering: are websites that are not that active removed from memory in windows azure? Or is it just that background tasks on the operational level of windows azure are interfering sometimes? It is not transparent for me what is happening, so is there some sla of something for windows azure websites?

推荐答案

现在,Windows Azure网站以保留"模式提供了一项新功能,该功能可以使您的网站保持温暖.现在,您可以在Azure网站的配置"选项卡下打开"始终在线".如

There is now a new feature available for Windows Azure Websites in 'Reserved' mode that will keep your website warm. You can now turn on "Always-on" under the "Configuration"-tab on your Azure Website. As explained in this blog post:

在站点上启用新的始终在线"功能时,"Windows Azure将定期自动ping您的网站,以确保 该网站始终处于活跃状态,并且处于温暖/运行状态." 写道. 这对于确保网站始终保持响应状态很有用. (并且由于 缺少外部HTTP请求).

When the new "Always On" feature is is enabled on a site, "Windows Azure will automatically ping your website regularly to ensure that the website is always active and in a warm/running state," Guthrie writes. "This is useful to ensure that a site is always responsive (and that the app domain or worker process has not paged out due to lack of external HTTP requests)."

这篇关于Windows Azure网站加载时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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