Thread Thread
blocks
Waiting…
Thread Thread
Context
Hosted Compute
Blob
StorageHosted Compute
http://blog.smarx.com/posts/shared-access-signatures-are-easy-these-days
Hosted Compute
X
Non-public blob
(e.g. paid or ad-
funded content)
1. “I am Bob & I want X”
2. Service prepares a
Shared Access Signature
(SAS) to X using the
securely stored storage
account key
3. Service returns SAS (signed HTTPS URL)
4. Bob uses SAS to access X directly
from Blob Storage for reduced
latency & compute load
X
Public container
CDN
X
Blob header determines
time-to-live at the edge
Closest Point of Presence
DNS name resolves to
closest POP
http://azXXXX.vo.msecnd.net/images/myimage.png
http://myacct.blob.core.windows.net/images/myimage.png
http://blog.smarx.com/posts/using-the-new-windows-azure-cdn-with-a-
custom-domain
http://blog.smarx.com/posts/smooth-streaming-with-windows-azure-blobs-
and-cdn
logo.2010-08-01.png
logo.2010-10-29.png
logo.2010-08-01.png
… <img
src="http://azXXXX.vo.msecnd
.net/images/logo.2010-08-
01.png" />…
… <img
src="http://azXXXX.vo.msecnd.net/ima
ges/logo.2010-10-29.png" />…
logo.2010-10-29.png
Hosted Compute
Table
Storage
SQL Azure
Table
Storage
SQL Azure
Unified Cache View
Multiple role
instances may be
cache clients
Clients access the
cache as if it was a
single large
namespace
Cache layer
distributes data
across the various
cache instances
http://code.msdn.microsoft.com/winazurememcached
On-Premises App Windows Azure App
AppFabric
CacheAPIs
Windows
Server
AppFabric
Cache
AppFabric
CacheAPIs
Windows Azure
AppFabric
Caching
<configuration>
<dataCacheClient deployment= Simple >
<hosts>
<host name= <your URI> cachePort= 22233 />
</hosts>
<securityProperties mode= Message >
<messageSecurity authorizationInfo= <your authentication token> >
</securityProperties>
</dataCacheClient>
</configuration>
<configuration>
<system.web>
<sessionState mode="Custom" customProvider="DistributedSessionProvider"
compressionEnabled="false">
<providers>
<add name= DistributedSessionProvider
type= Microsoft.Web.DistributedCache.DistributedCacheSessionStateStoreProvider,
Microsoft.Web.DistributedCache cacheName= default applicationName= Contoso
useBlobMode= false />
</providers>
</sessionState>
</system.web>
</configuration>
<system.web>
<caching>
<outputCache defaultProvider= DistributedCache >
<providers>
<add name= DistributedCache
type= Microsoft.Web.DistributedCache.DistributedCacheOutputCacheProvider,Micros
oft.Web.DistributedCache cacheName= default applicationName= Contoso />
</providers>
</outputCache>
</caching>
</system.web>
Hosted Compute
A-M
N-Z
A-Z
http://www.iis.net/download/ApplicationWarmUp
Asynchronous Hosted
Compute
Synchronous Hosted
Compute
Private
PublicCDN
Public
Table
Storage
SQL
Azure
Table
Storage
SQL Azure
SQL Azure
Tuning
Building High Performance Web Applications with the Windows Azure Platform

Building High Performance Web Applications with the Windows Azure Platform