是否使用辅助角色或Web角色:Windows Azure的 [英] Whether to use a worker role or a web role : Windows Azure

查看:130
本文介绍了是否使用辅助角色或Web角色:Windows Azure的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的BLOB文件写一个小程序的计算与很多读操作的......我是否应该去为工人角色或Web角色....

I am writing a small computation program with lot of read operations on blob files... Should I have to go for worker role or a web role....

推荐答案

Web角色和辅助角色之间的唯一区别是,在Web角色,IIS(实际上是托管Web核心)得到启动,并在您的应用程序的数据指出目录。你仍然可以把code在WebRole.cs,它完全一样的东西,你会在你的Worker角色做的,所以决定要真正做到你想IIS?如果是这样,使用网络的作用。如果没有,用一个辅助角色。

The only difference between a web role and a worker role is that in the web role, IIS (actually Hosted Web Core) gets started and pointed at your app data directory. You can still put code in WebRole.cs that does exactly the same thing as you would do in your worker role, so the decision should really be "Do you want IIS?" If so, use a web role. If not, use a worker role.

这篇关于是否使用辅助角色或Web角色:Windows Azure的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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