no more than 3 seconds* ! • CDNs improved website performance by caching static site content ! • The beauty of the virtual network approach: - it works over the existing Internet as is - requires no client software - can easily be adapted to future requirements as the Internet evolves ! * A 2009 Forrester Consulting survey
traffic volumes grew and grew. This: ! 1. Concentrated load on popular servers ! 2. Led to congested networks and need to provision more bandwidth ! 3. Gave a poor user experience ! • Idea: – Place popular content near clients – Helps with all three issues above
using page speed as a ranking factor ! • Faster experience for users means happier users who buy more things and click more ads ! • The explosion of tablet and mobile users who depend on speed more so than desktop users who have stabler internet connections ! Some of the more known and reputable CDN companies: • Cloudflare (has free option) • Fastly • Amazon CloudFront • MaxCDN • Akamai • Cachefly
web traffic, generally the base HTML -Big deal because it’s blocking -And sometimes a large object —>longer download ! Could be other things too -Ajax calls -API calls
Short TTL for HTML content via Cache-control - not really reliable ex: news stories ! ESI (Edge Side Includes) - Partial caching - hard and onerous ! Fastly solution(not everything is dynamic)
perception of the users is important, google speed ranking too • Distribute the content around the globe => reduce the propagation time • Dynamic content can be handled by CDNs too
• Rajkumar Buyya · Mukaddim Pathan · Athena Vakali (Eds.)Content Delivery Networks. Springer. • Hooman Beheshti talk: Caching the uncachable, at Velocityconf Europe 2014 • Erik Nygren, Ramesh K. Sitaraman, and Jennifer Sun. "The Akamai Network: A Platform for High-Performance Internet Applications, ACM SIGOPS Operating Systems Review, vol. 44, no. 3, July 2010.”. • Computer Networks Course from the University of Washington by David Wetherall, Arvind Krishnamurthy, John Zahorjan. - https://class.coursera.org/comnetworks-002 • A Beginner's Guide to HTTP Cache Headers- http://www.mobify.com/blog/beginners-guide-to-http-cache-headers/ • Content Delivery Networks - http://www.feedthebot.com/pagespeed/content-delivery-networks.html • Intro to caching and CDNs -https://docs.fastly.com/guides/how-fastly-services-work/intro-to-caching-and-cdns • Leveraging Your CDN to Cache Dynamic Content - http://www.fastly.com/blog/caching-dynamic-content/ • Gang Peng Department of Computer Science,State University of New York at Stony Brook, Stony Brook, NY 11794-4400. CDN: Content Distribution Network