1. How to build CDN for your
website
Martin Kulov
Microsoft Regional Director, VS ALM MVP
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.
4.
5. 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
11. 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
20. 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
23. 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
24. Setting up Azure CDN
Azure Subscription
Storage account
Blob container
Custom domain name
25. 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