问题描述
当我在Azure上运行一个辅助角色的实例,它是在一个共享的主机(如EC2)上运行一个完整的虚拟机?或者是在共享系统中运行(如Heroku的)?
例如,如果我的应用程序启动申请100 GB的内存会发生什么?将它都会自动杀死对违反限制(点菜谷歌App引擎),否则会累坏的虚拟机,从而使Azure结构重新启动呢?
不要在同一个系统中两个角色永远跑?
这是一个整体的虚拟机,以及分配是在VM的大小选择,从1.75GB(小)到14GB(XL)直接基于资源,与1-8内核。还有一个额外的小实例与768MB RAM和共享核心。整个VM的大小细节 href=\"http://msdn.microsoft.com/en-us/library/windowsazure/ee814754.aspx\">。
通过Windows Azure,你的虚拟机分配一个物理服务器上,它的发现这样的服务器,以合理分配所有的Web或辅助角色实例的织物的责任。如果你有多个实例,这意味着在整个分配这些虚拟机的故障域的
通过你的虚拟机,你不用担心,如果你试图在资源分配dep't太被杀害了:它就像有一台机器,你不能超越那里的东西。 p>
在同一系统上运行至于两个角色:每个角色都有实例,并与多个实例,正如我上面提到的,你的情况主要分为故障域。比如说,如果你有4个实例和2个故障域,这是可能的,你可能对同一个机架两个实例(或者同一台服务器)。
When I run a worker role instance on Azure, is it a complete VM running in a shared host (like EC2)? Or is it running in a shared system (like Heroku)?
For example, what happens if my application starts requesting 100 GB of memory? Will it get killed off automatically for violation of limits (á la Google App Engine), or will it just exhaust the VM, so that the Azure fabric restarts it?
Do two roles ever run in the same system?
It's a whole VM, and the resources allocated are based directly on the size of VM you choose, from 1.75GB (Small) to 14GB (XL), with 1-8 cores. There's also an Extra Small instance with 768MB RAM and shared core. Full VM size details are here.
With Windows Azure, your VM is allocated on a physical server, and it's the fabric's responsibility of finding such servers to properly allocate all of your web or worker role instances. If you have multiple instances, this means allocating these VMs across fault domains.
With your VM, you don't have to worry about being killed off if you try allocating too much in the resource dep't: it's just like having a machine, and you can't go beyond what's there.
As far as two roles running on the same system: Each role has instances, and with multiple instances, as I mentioned above, your instances are divided into fault domains. If, say, you had 4 instances and 2 fault domains, it's possible that you may have two instances on the same rack (or maybe same server).
这篇关于是的Windows Azure工作者角色实例的整个虚拟机?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!