Worker Role

A worker role is a background processing service. A worker role may communicate with storage services and with other Internet-based services. It does not expose any external endpoints. A worker role can read requests from a queue defined in the Queue storage service.

Worker roles can be thought of as background services on the server that have a main execution loop that never ends. With the currently available APIs, a worker role must always be running and polling for new work, it cannot be activated from a web role.

New threads can be spawned within a worker role to handle any required asynchronous processing.

In the CTP, worker roles are limited to 2 instances.


External Links