What's the concept of *worker role* in Windows Azure cloud?

≯℡__Kan透↙ 提交于 2019-12-07 07:27:06

问题


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


回答1:


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).

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

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



来源:https://stackoverflow.com/questions/5335789/whats-the-concept-of-worker-role-in-windows-azure-cloud

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!