Building High Performance Web Applications with the Windows Azure Platform

4,561 views
4,442 views

Published on

The Windows Azure Platform enables developers to build dynamically scalable web applications easily. Come and learn how services like the Content Delivery Network (CDN) and Windows Azure AppFabric Caching can help you build high-performance web applications in Windows Azure. In this session we’ll share some tips & tricks to improve performance when using web & worker roles in Azure, and to optimize your overall application for maximum performance.

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
4,561
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
60
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Building High Performance Web Applications with the Windows Azure Platform

  1. 1. Thread Thread blocks Waiting…
  2. 2. Thread Thread Context
  3. 3. Hosted Compute Blob StorageHosted Compute
  4. 4. 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
  5. 5. X Public container CDN X Blob header determines time-to-live at the edge Closest Point of Presence DNS name resolves to closest POP
  6. 6. 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
  7. 7. 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
  8. 8. Hosted Compute Table Storage SQL Azure Table Storage SQL Azure
  9. 9. 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
  10. 10. http://code.msdn.microsoft.com/winazurememcached
  11. 11. On-Premises App Windows Azure App AppFabric CacheAPIs Windows Server AppFabric Cache AppFabric CacheAPIs Windows Azure AppFabric Caching
  12. 12. <configuration> <dataCacheClient deployment= Simple > <hosts> <host name= <your URI> cachePort= 22233 /> </hosts> <securityProperties mode= Message > <messageSecurity authorizationInfo= <your authentication token> > </securityProperties> </dataCacheClient> </configuration>
  13. 13. <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>
  14. 14. <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>
  15. 15. Hosted Compute A-M N-Z A-Z
  16. 16. http://www.iis.net/download/ApplicationWarmUp
  17. 17. Asynchronous Hosted Compute Synchronous Hosted Compute Private PublicCDN Public Table Storage SQL Azure Table Storage SQL Azure SQL Azure Tuning

×