Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

ActiveCDN on NetServ


Published on

Published in: Technology
  • Be the first to comment

ActiveCDN on NetServ

  1. 1. ActiveCDN on NetServ<br />GEC9 presentationNetServ team<br />
  2. 2. Content Distribution Networks<br />Distributes content requests from user <br />To (hopefully) nearest node in a system of nodes that can serve the content<br />Preferred method for content providers to host content<br />Content provider can build/maintain its own CDN<br />More likely: use an ASP’s CDN and host content there<br />Content requests are re-routed to the nearest server<br />
  3. 3. CDN Providers and Research<br /><ul><li>CDN service providers</li></ul>Established players: Akamai, Edgecast, Amazon CloudFront<br />New entrants: service providers (AT&T), web hosting companies (The Planet)<br />Self-hosting: YouTube (used Limelight CDN before Google acquisition)<br />Commoditized services…<br />CDN research<br />150,000+ results on CiteSeer for “content delivery network” (Oct 22, 2010)<br />In contrast: “wireless network” = 42,000 results<br />Viable research area?<br />Search results for “content delivery network”<br />Pageviews/minute handled by Akamai<br />
  4. 4. What do CDNs do today?<br />Very good at: <br />Monitoring network traffic, latency, etc.<br />Proprietary systems, maybe tie-up with network service providers<br />In 2009: Akamai was sending 5 million traceroute messages on the Internet every 5 minutes to measure latency<br />Achieving economies of scale through deploying large, homogenous nodes …<br />… at strategic locations around the world<br />“Warehouse positioning” problem: well studied<br />Detecting closest CDN nodes for incoming request<br />Re-directing user to that node<br />Through name-based redirection (DNS): Akamai, most others<br />Message-based redirection (HTTP redirect): Youtube<br />
  5. 5. Ask server on farm #1<br />Content Provider<br />(e.g. Youtube)<br />How CDNs work today<br />CDN server farm #1<br />Ask server on farm #1<br />Ask server on farm #2<br />CDN server farm #2<br />??? Might be fastest to serve directly<br />
  6. 6. ActiveCDN and NetServ<br />NetServ allows for service programmability at network core<br />ActiveCDN takes advantage of that to:<br />Allow content providers to dynamically deploy in-network CDN nodes<br />Determine optimal placement of nodes dynamically<br />
  7. 7. ActiveCDN: GEC8 and GEC9<br />GEC9: Basic idea<br />Content server sees a request<br />Checks for presence of closest NetServ node<br />If present, redirects to NetServ node<br />NetServ node streams/caches first requests; processes it<br />Subsequent requests are served the processed/cached video<br />Otherwise, content server serves first request directly<br />Triggers on-path installation of node<br />Adds instantiated node to local NetServ database of nodes<br />What we showed at GEC8: <br />On-path instantiation/redirection only<br />One NetServ node at a time; no distance metrics<br />Limited watermarking capability<br />
  8. 8. Content Provider<br />(e.g. Youtube)<br />ActiveCDN demo for GEC9<br />Service provider #1 (Utah)<br />ActiveCDN<br />Install ActiveCDN<br />Node1<br />Location1<br />Ask ActiveCDN node<br />Node2<br />Location2<br />Service provider #2 (BBN)<br />ActiveCDN<br />Install ActiveCDN<br />Ask ActiveCDN node<br />
  9. 9. Demo<br />NetServ router:<br /><ul><li>Installation of module
  10. 10. Stream/download content
  11. 11. Process content
  12. 12. Serve to end user</li></ul>Client browser<br /><ul><li>First request: served by content server
  13. 13. Second request: redirected to NetServ node
  14. 14. Third request: processed/cached content</li></li></ul><li>Some background info<br />Watermarking<br />Done using Xuggler: Java library with native hooks into FFMPEG, LAME, etc.<br />Weather information<br />Using XML feed from, which takes latitude/longitude info and returns weather information<br />Use Java’s XML library and Xpath to get relevant data from feed<br />Location “hack” for GEC9<br />All IP addresses in demo use private Ips<br />MaxMindGeoIP library is great for public IP geo-location,<br />Fails on private IPs (shouldn’t be a surprise)<br />What we do is use a “translation table”<br />A CSV file that maps private IPs with a real latitude/longitude<br />We use this information to get the weather data<br />