How to build CDN for your website

5,266 views
4,935 views

Published on

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

No Downloads
Views
Total views
5,266
On SlideShare
0
From Embeds
0
Number of Embeds
30
Actions
Shares
0
Downloads
44
Comments
0
Likes
4
Embeds 0
No embeds

No notes for slide
  • http://www.azuresupport.com/2010/08/windows-azure-cdn-locations/
  • How to build CDN for your website

    1. 1. How to build CDN for yourwebsiteMartin KulovMicrosoft Regional Director, VS ALM MVP
    2. 2. State of WWW today Average page size is 25% bigger From avg 626kB up to 784kB For just one year! Almost 1MB by the end of this year!
    3. 3. Website Users Many have broadband network Many of them do not Mobile users are increasing Tablets are going strong All users expect page to load in ~2sec
    4. 4. US mobile data traffic
    5. 5. Page Load Time for Mobile
    6. 6. Typical web app today… Loads in 10sec Have ~80 resources (img, css, js) Have just one web server
    7. 7. Webpage Waterfall – Fail
    8. 8. Connection View – Fail
    9. 9. What can you do today? Get content closer to users Load resources in parallel Use Content Delivery Network (CDN) aka Edge Caching Network (ECN) Or built similar one by yourself
    10. 10. Webpage Waterfall – OK
    11. 11. Connection View – OK
    12. 12. Benefits Increased Speed Price Optimization Load Balancing
    13. 13. Existing CDN Microsoft Ajax CDN http://www.asp.net/ajaxlibrary/cdn.ashx Google Libraries http://code.google.com/apis/libraries/ Telerik Extensions CDN http://www.telerik.com/help/aspnet-mvc/web-assets- telerik-cdn-support.html
    14. 14. Using On Premise CDN
    15. 15. How web works DNS Host Web Server IP Home.aspx Browser HTML gif, jpg, css, js ~ x80 ...
    16. 16. How web works with CDN Web Server DNS Host Home.aspx IP HTML Browser ... gif, jpg, css, js Edge Servers
    17. 17. DNSgeoDNSNetmask orderingRound robin
    18. 18. IIS URL rewrite – response HTML Caching – output, kernel Static server To blob or not to blob – MS Research http://tinyurl.com/m5v3wc Application Request Routing
    19. 19. DEMO: UrlRewrite and ARR
    20. 20. Using Cloud CDN
    21. 21. Windows Azure CDN Move the content closest to clients 99.9% monthly SLA Used by Windows Update, Bing Maps… Deliver static content Deliver streaming media 22 locations in US, Europe, Asia, Australia, and South
    22. 22. Setting up Azure CDN Azure Subscription Storage account Blob container Custom domain name
    23. 23. Pricing $0.12/GB from Europe and North America $0.19/GB from other locations $0.01/10,000 transactions 304 requests also generate traffic Not enabled by default in IIS
    24. 24. DEMO: Window Azure CDN
    25. 25. Не забравяйте да нидадете обратна връзка и даспечелите смартфон Nokiaи електронен четец Kindle!

    ×