Search code examples
azureazure-worker-rolesazure-web-roles

Which do I choose: Web Role with Worker Threads, or Worker Role with HWC?


I want to combine the features and function of the Azure Web Role and Worker Role into one. My driving reason for this is because I only need one of each, but the SLA is forcing me to get two instances of each role.

Since 4 * $0.12 / hour is more than what I want to spend out of pocket, I want to combine purposes into two highly available roles.

What factors do I need to take into account, and how would I decide between using a Web Role with Worker Threads versus a Worker Role with HWC?


Solution

  • See my reply on that thread... I'd use a web role and just put code in WebRole.cs like you would in WorkerRole.cs.