I want to create an Azure application which does the following:
- User is presented with a MVC 4 website (web role) which shows a list of commands.
- When the user selects a command, it is broadcast to all worker roles.
- Worker roles process the task, store the results and notify web role
- Web role displays the combined results of the worker roles
From what I've been reading there seem to be two ways of doing this: the Windows Azure Service Bus or using Queues. Each worker role also stores the results in the database.
The Service Bus seems more appropriate with its publish/subscribe model, so all worker roles would get the same command and roughly the same time. Queues seem easier to use though.
Can the service bus be used locally with the emulator when developing? I am using a free trial and cannot keep the application constantly whilst still developing. Also, when using queues how can you notify the web role that processing is complete?