Adding Scale to ASP.NET Applications in the Cloud

| by Jenni Konrad Follow 0 Followers on Jun 23, 2011. Estimated reading time: 1 minute |

In a recent Microsoft webinar, Brian Prince, Senior Architect Evangelist, and Nathan Totten, Technical Evangelist, presented several options for scaling ASP.NET applications hosted on Windows Azure.

The presenters noted that these options can be used in any combination to scale applications either up or down. They fall under a few broad categories: caching, traffic distribution, asynchronous work processing, and storage. Prince and Totten recommend using some combination of the following for scaling up an ASP.NET application:

Increase the number of Azure instances
Like adding virtual servers, this is the simplest way to distribute load.

Add Table or Blob Storage
Table Storage is schema-less and non-relational, but more scalable than SQL Azure. According to Totten, Table Storage can handle about 500 requests per second per partition. Blob Storage is a non-structured option, and can be useful for larger files.

Add AppFabric Caching
AppFabric is used for in-memory caching of frequently-accessed data, and can also serve as a session state provider. 

Use an asynchronous work process
The Azure Queue sends messages to background processes known as 'worker roles'. This would be an appropriate setup for handling shopping carts or file uploads; the business logic is processed in the background to improve performance on the front-end. Queues are limited in size, but can be combined with Table and Blob Storage.

Offload static or semi-static content to the Azure Content Delivery Network
According to the presenters, Windows Azure Content Delivery Network (CDN) currently has 26 nodes worldwide, and more are being added regularly. Distributing static data (or data that’s refreshed less often) to the CDN could improve performance for the user, since it will be delivered from the nearest datacenter.

Take advantage of Traffic Manager
The Windows Azure Traffic Manager is similar to the CDN, but rather than storing content, it hosts the entire application in multiple locations for better availability worldwide. The Traffic Manager can also be used in a failover system in case the primary instance isn’t available.

Prince and Totten note that solid initial application design will always be the key to good performance, but that Windows Azure's aim is to make it possible to scale applications up and down easily as an organization’s needs dictate.


Rate this Article

Adoption Stage

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread


Login to InfoQ to interact with what matters most to you.

Recover your password...


Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.


More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.


Stay up-to-date

Set up your notifications and don't miss out on content that matters to you