Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 245
eonil Avatar asked Mar 17 '11 06:03

eonil


1 Answers

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.

like image 186
Mark Seemann Avatar answered Sep 23 '22 16:09

Mark Seemann