Scalability is the ultimate goal of a cloud-based, operating expenditure based application. Not only is it important to be able to scale up quickly to meet increasing demand but it is also important to be able to scale down when demand decreases. The reason for this is that you are paying for active instances of your application even when there is no work actually being done by the application.
Brian Hitney’s screencast cover how to architect an application to minimize costs by scaling up and down appropriately.
In this short screencast, Brian demos how to get the most out of a web or worker role by multithreading.
By using a simple but robust threading framework, each role instance can do more. This approach saves on hosting costs by consolidating resources.