有没有办法减少 Azure 部署开始和调用角色 OnStart() 代码之间的时间? [英] Is there a way to reduce time between Azure deployment start and role OnStart() code being invoked?

查看:15
本文介绍了有没有办法减少 Azure 部署开始和调用角色 OnStart() 代码之间的时间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前,当我使用 Windows Azure 管理门户创建部署时,我的角色 OnStart() 中的代码需要大约 9(九!)分钟才能运行.我觉得那里有些不对劲 - 九分钟太长了.

Currently when I create a deployment using Windows Azure Management Portal it takes about 9 (nine!) minutes to have the code in my role OnStart() being run. I feel something is wrong there - nine minutes is ridiculously long.

我有一个小的启动任务,我希望在几秒钟内完成(并且在 Compute Emulator 下运行时它在几秒钟内完成),所以看起来 Azure 基础架构正在做一些大事一直以来.

I have a small startup task that I expect to finish in few seconds (and it finishes in few seconds when run under Compute Emulator), so looks like the Azure infrastructure is doing something big in there all that time.

有没有办法加快进程?

推荐答案

Windows Azure 通常需要 5-15 分钟来部署.它正在做的是启动服务器、虚拟机、启动 Windows 等.随着时间的推移,它变得越来越快,但 9 分钟肯定不是不寻常的.

Windows Azure generally takes 5-15 minutes to deploy. What it's doing is spinning up servers, VMs, booting Windows, etc. It's getting faster over time, but nine minutes is certainly not out of the ordinary.

这篇关于有没有办法减少 Azure 部署开始和调用角色 OnStart() 代码之间的时间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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