什么是的*工作者角色*在Windows Azure云概念? [英] What's the concept of *worker role* in Windows Azure cloud?

查看:126
本文介绍了什么是的*工作者角色*在Windows Azure云概念?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的理解,它长时间运行的服务器进程。它可以覆盖如在线游戏服务器长时间运行的程序实例?

As I understood, it's long running process in server. Can it cover long-running program instance like online game server?

推荐答案

您能想到的作为Windows服务或Unix的守护辅助角色。这是,如你所说,一个永远执行的进程(尽管它可能是在时间的很大一部分观望状态,但是这是你来决定)。

You can think of a worker role as a Windows Service or a Unix Daemon. It is, as you say, a perpetually executing process (although it may be in a wait state for a large portion of the time, but that's for you to decide).

本质上,它可以运行任何code你想写。

Essentially it can run any code you'd like to write.

它可以对外界刺激的反应,例如从Azure的队列服务查询,同时还可以开放的沟通渠道,查询数据库等。

It can react to outside stimuli e.g. by polling from the Azure Queue service, but can also open communication channels, query databases, etc.

这篇关于什么是的*工作者角色*在Windows Azure云概念?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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