问题描述
我的Azure云服务,在缩放下来说,从3比2的情况下,我的网站没有响应几分钟?
My azure cloud service, when it scales down say from 3 to 2 instances, my site becomes unresponsive for a few minutes?
我是IM pression下,我可能是错的,我的现有实例会被原封不动(除了那些正在被删除),我的网站将继续作为正常?
I was under the impression, and I may be wrong that my existing instances would be left intact (except those that are being removed) and my site would continue to function as normal?
这是正常的行为?
推荐答案
-
当你从2实例缩小为1,你是在SLA支持的世界不再这是正常现象。
This is expected behavior when you scale down from 2 instances to 1 as you are no longer in the SLA-backed world.
如果您WebRole的RoleEnvironmentChanging事件设置其缩放事件期间强制实例重启e.Cancel为true这也是预期的行为。
This is also expected behavior if the RoleEnvironmentChanging event of your WebRole sets e.Cancel to "true" which forces instance-reboots during a scaling event.
否则,按比例缩小的操作应该不会导致中断您的网站
Otherwise, scale-down actions should not cause interruptions to your site
这篇关于实例被删除时,Azure云服务变得反应迟钝?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!