Co* Projects : CoDNS, CoDeploy, CoMon

Slides:



Advertisements
Similar presentations
Information-Centric Networks05c-1 Week 5 / Paper 3 Democratizing content publication with Coral –Michael J. Freedman, Eric Freudenthal, David Mazières.
Advertisements

W3C Workshop on Web Services Mark Nottingham
INF 123 SW ARCH, DIST SYS & INTEROP LECTURE 12 Prof. Crista Lopes.
Democratizing Content Publication with Coral Mike Freedman Eric Freudenthal David Mazières New York University NSDI 2004.
1 Content Delivery Networks iBAND2 May 24, 1999 Dave Farber CTO Sandpiper Networks, Inc.
EEC-484/584 Computer Networks Lecture 6 Wenbing Zhao
Web Caching Schemes1 A Survey of Web Caching Schemes for the Internet Jia Wang.
Hypertext Transfer Protocol Kyle Roth Mark Hoover.
An Analysis of Internet Content Delivery Systems Stefan Saroiu, Krishna P. Gommadi, Richard J. Dunn, Steven D. Gribble, and Henry M. Levy Proceedings of.
What’s a Web Cache? Why do people use them? Web cache location Web cache purpose There are two main reasons that Web cache are used:  to reduce latency.
CDNs & Replication Prof. Vern Paxson EE122 Fall 2007 TAs: Lisa Fowler, Daniel Killebrew, Jorge Ortiz.
Anycast Jennifer Rexford Advanced Computer Networks Tuesdays/Thursdays 1:30pm-2:50pm.
Squirrel: A decentralized peer- to-peer web cache Paul Burstein 10/27/2003.
Implementing ISA Server Caching. Caching Overview ISA Server supports caching as a way to improve the speed of retrieving information from the Internet.
Capacity planning for web sites. Promoting a web site Thoughts on increasing web site traffic but… Two possible scenarios…
Web Caching and CDNs March 3, Content Distribution Motivation –Network path from server to client is slow/congested –Web server is overloaded Web.
The Medusa Proxy A Tool For Exploring User- Perceived Web Performance Mimika Koletsou and Geoffrey M. Voelker University of California, San Diego Proceeding.
Content Delivery Networks (CDN) Dr. Yingwu Zhu Reverse Proxy Reverse Proxy Reverse Proxy Intranet Web Cache Architecure Browser Local ISP cache L4 Switch.
CSCI-1680 Web Performance and Content Distribution Based partly on lecture notes by Scott Shenker and John Jannotti Rodrigo Fonseca.
Information-Centric Networks05a-1 Week 5 / Paper 1 On the use and performance of content distribution networks –Balachander Krishnamurthy, Craig Wills,
Towards Understanding Modern Web Traffic
1 Content Distribution Networks. 2 Replication Issues Request distribution: how to transparently distribute requests for content among replication servers.
On the Use and Performance of Content Distribution Networks Balachander Krishnamurthy Craig Wills Yin Zhang Presenter: Wei Zhang CSE Department of Lehigh.
1 3 Web Proxies Web Protocols and Practice. 2 Topics Web Protocols and Practice WEB PROXIES  Web Proxy Definition  Three of the Most Common Intermediaries.
Infrastructure for Better Quality Internet Access & Web Publishing without Increasing Bandwidth Prof. Chi Chi Hung School of Computing, National University.
Overcast: Reliable Multicasting with an Overlay Network CS294 Paul Burstein 9/15/2003.
Protocol(TCP/IP, HTTP) 송준화 조경민 2001/03/13. Network Computing Lab.2 Layering of TCP/IP-based protocols.
Healing the Web: An Overview of CoDeeN & Related Projects Vivek Pai, Larry Peterson + many others Princeton University.
The Dark Side of the Web: An Open Proxy’s View Vivek S. Pai, Limin Wang, KyoungSoo Park, Ruoming Pang, Larry Peterson Princeton University.
Securing Web Service by Automatic Robot Detection KyoungSoo Park, Vivek S. Pai Princeton University Kang-Won Lee, Seraphin Calo IBM T.J. Watson Research.
2: Application Layer1 Chapter 2 outline r 2.1 Principles of app layer protocols r 2.2 Web and HTTP r 2.3 FTP r 2.4 Electronic Mail r 2.5 DNS r 2.6 Socket.
Bellwether: Surrogate Services for Popular Content Duane Wessels & Ted Hardie NANOG 19 June 12, 2000.
PlanetLab Applications and Federation Kiyohide NAKAUCHI NICT 23 rd ITRC Symposium 2008/05/16 Aki NAKAO Utokyo / NICT
OSDI 2002 Boston, MA 1 The Effectiveness of Request Redirection on CDN Robustness Limin Wang Vivek Pai and Larry Peterson Princeton University.
Measuring the Capacity of a Web Server USENIX Sympo. on Internet Tech. and Sys. ‘ Koo-Min Ahn.
DotSlash – or how to deal with 15 minutes of fame Weibin Zhao Henning Schulzrinne Columbia University CATT/WICAT Annual Research Review November 14, 2003.
Information-Centric Networks Section # 5.3: Content Distribution Instructor: George Xylomenos Department: Informatics.
The CoDeeN Content Distribution Network Vivek S. Pai, Limin Wang, KyoungSoo Park, Ruoming Pang, Larry Peterson Princeton University August 12, 2003.
MiddleMan: A Video Caching Proxy Server NOSSDAV 2000 Brian Smith Department of Computer Science Cornell University Ithaca, NY Soam Acharya Inktomi Corporation.
Information-Centric Networks Section # 5.1: Content Distribution Instructor: George Xylomenos Department: Informatics.
1 COMP 431 Internet Services & Protocols HTTP Persistence & Web Caching Jasleen Kaur February 11, 2016.
09/13/04 CDA 6506 Network Architecture and Client/Server Computing Peer-to-Peer Computing and Content Distribution Networks by Zornitza Genova Prodanoff.
CoDeeN,Large Files, & CoDeploy KyoungSoo Park, Vivek Pai, Larry Peterson Princeton University.
1 Evaluation of Cooperative Web Caching with Web Polygraph Ping Du and Jaspal Subhlok Department of Computer Science University of Houston presented at.
John S. Otto Mario A. Sánchez John P. Rula Fabián E. Bustamante Northwestern, EECS.
The Dark Side of the Web: An Open Proxy’s View Vivek Pai, Limin Wang, KyoungSoo Park, Ruoming Pang, and Larry Peterson Princeton University.
Squid HTTP Proxy Henrik Nordström Open Source Consultant Squid developer.
Vivek Pai, Larry Peterson, & the CoDeeN group Princeton University
BUILD SECURE PRODUCTS AND SERVICES
Wide-area Network Acceleration for the Developing World
Content Distribution Networks
Coral: A Peer-to-peer Content Distribution Network
An example of peer-to-peer application
DNS-sly: Avoiding Censorship through Network Complexity
BitTorrent Vs Gnutella.
Caching Temporary storage of frequently accessed data (duplicating original data stored somewhere else) Reduces access time/latency for clients Reduces.
Scale and Performance in the CoBlitz Large-File Distribution Service
Video Distribution on Internet
Internet Networking recitation #12
Web Statistics Statistics collected from
ECE 671 – Lecture 16 Content Distribution Networks
COS 518: Advanced Computer Systems Lecture 9 Michael Freedman
Distributed Systems CS
On the Use and Performance of Content Distribution Networks
Content Distribution Networks
AWS Cloud Computing Masaki.
Content Distribution Networks + P2P File Sharing
Content Delivery and Remote DNS services
EE 122: Lecture 22 (Overlay Networks)
Content Distribution Networks + P2P File Sharing
Presentation transcript:

Co* Projects : CoDNS, CoDeploy, CoMon KyoungSoo Park, Vivek Pai and Larry Peterson Princeton University 9/18/2018 Co* Project 1st Asian PlanetLab Workshop

Co* Project 1st Asian PlanetLab Workshop Background : CoDeeN Academic Content Distribution Network 100+ proxy servers on PlanetLab Improve web performance & reliability Running 24/7 since June 2003 Roughly 3-4 million reqs/day aggregate Highest-traffic project on PlanetLab 9/18/2018 Co* Project 1st Asian PlanetLab Workshop

Co* Project 1st Asian PlanetLab Workshop How CoDeeN works Request Cache miss Response Cache Miss Response Cache hit Cache miss CoDeeN Proxy Response Cache hit Request Each CoDeeN proxy is a forward proxy, reverse proxy, & redirector 9/18/2018 Co* Project 1st Asian PlanetLab Workshop

CoDeeN as Project Factory Deployment Issues Reliability/Security CoDNS Reliable DNS service CoDeploy Large file distribution Dynamic URL rewriting CoMon Monitoring infrastructure 9/18/2018 Co* Project 1st Asian PlanetLab Workshop

Local DNS Lookup Problems CoDeeN experiences DNS problems Local DNS lookup failures 5+ seconds delay for cached records Frequent & widely-distributed Local DNS lookups important LDNS cache hit rate: 80-90% Unpredictable service Directly affecting user-perceived latency Random delay in web browsing Critical in HTTP proxy, web crawlers and busy mail servers 9/18/2018 Co* Project 1st Asian PlanetLab Workshop

Experiment For Local Problems Local name lookup every 6 seconds “yyy.domain” on xxx.domain at Planetlab “planetlab-2.cs.princeton.edu” for planetlab-1.cs.princeton.edu Lookup should be handled locally Failure criteria 5+ seconds of latency zero answer Rolling average of the past 100 queries 9/18/2018 Co* Project 1st Asian PlanetLab Workshop

Co* Project 1st Asian PlanetLab Workshop Expected DNS Behavior planetlab3.flux.utah.edu ricepl-1.cs.rice.pl 9/18/2018 Co* Project 1st Asian PlanetLab Workshop

DNS Failure on Various Nodes planetlab1.cs.cornell.edu planetlab2.tamu.edu planetlab2.cs.uoregon.edu 9/18/2018 Co* Project 1st Asian PlanetLab Workshop

Co* Project 1st Asian PlanetLab Workshop Possible Causes Packet loss LDNS overloading Cron jobs Maintenance problems 9/18/2018 Co* Project 1st Asian PlanetLab Workshop

Co* Project 1st Asian PlanetLab Workshop Solution? CoDNS LDNS CoDNS remote queries remote answer LDNS CoDNS queries CoDNS LDNS x answer local node LDNS CoDNS 9/18/2018 Co* Project 1st Asian PlanetLab Workshop

Co* Project 1st Asian PlanetLab Workshop CoDNS Cooperative name lookup scheme If local server OK, use local server When failures, ask a peer for the lookup Selecting nearby peers Liveness/Remote nameserver’s health Send to improve cache locality Remote request timeout Dynamically adjusted to local server’s health Exponentially backed off for each remote query 9/18/2018 Co* Project 1st Asian PlanetLab Workshop

Co* Project 1st Asian PlanetLab Workshop Evaluation Live traffic for one week for CoDeeN (20k - 30k) 9/18/2018 Co* Project 1st Asian PlanetLab Workshop

Co* Project 1st Asian PlanetLab Workshop Finer-grained View Live traffic for one day Effectively flattens the spikes 9/18/2018 Co* Project 1st Asian PlanetLab Workshop

Co* Project 1st Asian PlanetLab Workshop Availability Add one ‘9’, from 99% to 99.9% 9/18/2018 Co* Project 1st Asian PlanetLab Workshop

Co* Project 1st Asian PlanetLab Workshop For More Details CoDNS: Improving DNS Performance and Reliability via Cooperative Lookups KyoungSoo Park, Vivek S. Pai, Larry Peterson and Zhe Wang [OSDI04] Non-I2 nodes CDN names lookup CoDNS vs. TCP-based DNS 9/18/2018 Co* Project 1st Asian PlanetLab Workshop

Co* Project 1st Asian PlanetLab Workshop CoDeploy How to utilize the CDN infrastructure? Large file(100’s MB) distribution No custom protocol/software Preserves HTTP semantics Dynamic URL rewriting Supports Akamai style CDN CoralCDN [NSDI04] 9/18/2018 Co* Project 1st Asian PlanetLab Workshop

Large file distribution BitTorrent Bullet [SOSP03] SplitStream [SOSP03] FastReplica [USITS03] Download managers(Windows update, Adobe download manger) 9/18/2018 Co* Project 1st Asian PlanetLab Workshop

Co* Project 1st Asian PlanetLab Workshop Drawback Availability Only BitTorrent is deployed But doesn’t really cache – peers are active downloaders Complexity Custom protocols Origin site needs special server, format Client software also custom 9/18/2018 Co* Project 1st Asian PlanetLab Workshop

Co* Project 1st Asian PlanetLab Workshop Our Approach CDN file0-1 CDN file1-2 Agent CDN CDN file file2-3 Server file3-4 file4-5 CDN CDN 9/18/2018 Co* Project 1st Asian PlanetLab Workshop

Co* Project 1st Asian PlanetLab Workshop Low-Level HTTP stuff GET name/ranges Header: blah HTTP/1.0 206 Partial Range: start-end/length GET name Range: bytes ranges Header: blah HTTP/1.0 200 OK Content-length: piece length New-header: obj length egress ingress 9/18/2018 Co* Project 1st Asian PlanetLab Workshop

Co* Project 1st Asian PlanetLab Workshop Dynamic URL Rewriting http://www.host.com/path Client Server file http://proxy:port/capability/www.host.com/path Server Client CDN file rewritten file 9/18/2018 Co* Project 1st Asian PlanetLab Workshop

Co* Project 1st Asian PlanetLab Workshop Benefit Transparently distributing the load Avoiding slashdot effect No setup at the browser Cheap way of publishing popular contents Easily customizable Capability: access control 9/18/2018 Co* Project 1st Asian PlanetLab Workshop

Co* Project 1st Asian PlanetLab Workshop CoMon PlanetLab monitoring infrastructure Node level statistics Uptime, cpu/memory usage, DNS failure rate Slice level statistics # proc, network BW, cpu/memory usage New slicestat Provides slice level resource consumption statisics e.g. curl http://localhost:3100/slicestat 9/18/2018 Co* Project 1st Asian PlanetLab Workshop

Co* Project 1st Asian PlanetLab Workshop 9/18/2018 Co* Project 1st Asian PlanetLab Workshop

Co* Project 1st Asian PlanetLab Workshop 9/18/2018 Co* Project 1st Asian PlanetLab Workshop

Co* Project 1st Asian PlanetLab Workshop 9/18/2018 Co* Project 1st Asian PlanetLab Workshop

Co* Project 1st Asian PlanetLab Workshop 9/18/2018 Co* Project 1st Asian PlanetLab Workshop

Co* Project 1st Asian PlanetLab Workshop Direction Which node is usable? sshable, DNS lookup, cpu/memory, file descriptor availability Which slice is going astray? What are the typical experiments? Automatic detection of overloading 9/18/2018 Co* Project 1st Asian PlanetLab Workshop

Co* Project 1st Asian PlanetLab Workshop More info Contact us! princeton_codeen@slices.planet-lab.org CoDeeN [USENIX04] http://codeen.cs.princeton.edu/ CoDNS [OSDI04] http://codeen.cs.princeton.edu/codns/ CoDeploy http://codeen.cs.princeton.edu/codeploy/ CoMon http://codeen.cs.princeton.edu/comon/ 9/18/2018 Co* Project 1st Asian PlanetLab Workshop