DOC PREVIEW
Berkeley ELENG 122 - Overlay Networks, CDNs, and P2P Networks

This preview shows page 1-2-3-4-30-31-32-33-34-62-63-64-65 out of 65 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 65 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 65 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 65 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 65 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 65 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 65 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 65 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 65 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 65 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 65 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 65 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 65 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 65 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 65 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

EECS 122: Introduction to Computer Networks Overlay Networks, CDNs, and P2P NetworksOverlay Networks: MotivationsMotivations (cont’d)GoalsSolutionExamplesMotivation Example: Internet RadioThis approach does not scale…Multicast Service ModelInstead build treesMulticast PrimerSource Specific TreesSlide 13Shared TreeIP Multicast ProblemsOverlay ApproachNarada [Yang-hua et al, 2000]Narada: End System MulticastPerformance ConcernsSlide 20PropertiesSlide 22Content Distribution Networks“Base-line”Reverse CachesForward ProxiesContent Distribution Networks (CDNs)CDNs (cont’d)Example: AkamaiSlide 30Slide 31How Did it Start?ModelMain ChallengeOther ChallengesNapsterNapster: ExampleGnutellaGnutella: ExampleTwo-Level HierarchySkypeDetour: NAT (1/3)Detour: NAT (2/3)Detour: NAT (3/3)BitTorrent (1/2)BitTorrent (2/2)Distributed Hash TablesContent Addressable Network (CAN)CAN Example: Two Dimensional SpaceSlide 50Slide 51Slide 52Slide 53Slide 54CAN: Query ExampleChordData StructureChord ExampleSlide 59Slide 60Chord ExamplesQueryDiscussionSlide 64Slide 65Katz, Stoica F04EECS 122: Introduction to Computer Networks Overlay Networks, CDNs, and P2P NetworksComputer Science DivisionDepartment of Electrical Engineering and Computer SciencesUniversity of California, BerkeleyBerkeley, CA 94720-17762Katz, Stoica F04Overlay Networks: MotivationsChanges in the network happen very slowlyWhy?-Internet network is a shared infrastructure; need to achieve consensus (IETF)-Many of proposals require to change a large number of routers (e.g., IP Multicast, QoS); otherwise end-users won’t benefit Proposed changes that haven’t happened yet on large scale:-Congestion (RED ‘93); More Addresses (IPv6 ‘91)-Security (IPSEC ‘93); Multicast (IP multicast ‘90)3Katz, Stoica F04Motivations (cont’d)One size does not fit allApplications need different levels of-Reliability-Performance (latency)-Security -Access control (e.g., who is allowed to join a multicast group)-…4Katz, Stoica F04GoalsMake it easy to deploy new functionalities in the network  accelerate the pace of innovation Allow users to customize their service5Katz, Stoica F04SolutionDeploy processing in the networkHave packets processed as they traverse the networkAS-1IPAS-1Overlay Network(over IP)6Katz, Stoica F04ExamplesOverlay multicastContent Distribution Networks (CDNs)Peer-to-peer systems7Katz, Stoica F04Motivation Example: Internet Radiowww.digitallyimported.com (techno station)-Sends out 128Kb/s MP3 music streams-Peak usage ~9000 simultaneous streams•Only 5 unique streams (trance, hard trance, hard house, eurodance, classical)-Consumes ~1.1Gb/s•Bandwidth costs are large fraction of their expenditures (maybe 50%?)-If 1000 people are getting their groove on in Berkeley, 1000 unicast streams are sent from NYC to Berkeley8Katz, Stoica F04This approach does not scale…BackboneISPBroadcastCenter9Katz, Stoica F04Multicast Service ModelReceivers join a multicast group which is identified by a multicast address (e.g. G)Sender(s) send data to address GNetwork routes data to each of the receiversSR0R1...R0 joins GR1 joins GRn-1 joins G[R0, data][R1, data][Rn-1, data][R0, data][R1, data][Rn-1, data]UnicastRn-1NetSR0R1...[G, data][G, data][G, data][G, data]MulticastRn-1Net10Katz, Stoica F04Instead build treesBackboneISPBroadcastCenterCopy data at routersAt most one copy of a data packet per link•Routers keep track of groups in real-time•“Path” computation is Tree computation•LANs implement layer 2 multicast by broadcasting11Katz, Stoica F04Multicast PrimerType of trees-Source Specific Trees-Shared TreesExamples-Distance Vector Routing Multicast Protocol (DVRMP) – Source specific trees-Core Based Tree (CBT) – Shared trees-Protocol Independent Multicast (PIM)•Sparse mode  Shared trees•Dense mode  Single source trees12Katz, Stoica F04Source Specific Trees6785431212101311Each source is the route of its own tree13Katz, Stoica F04Source Specific Trees6785431212101311Each source is the route of its own tree. One tree for each sourceCan pick “good” trees but lots of state at the routers!14Katz, Stoica F04Shared Tree6785431212101311One tree used by all Can’t pick “good” trees but minimal state at the routers15Katz, Stoica F04IP Multicast ProblemsFifteen years of research, but still not widely deployedPoor scalability-Routers need to maintain per-group or even per-group and per-sender state!-Aggregation of multicast addresses is complicatedSupporting higher level functionality is difficult-IP Multicast: best-effort multi-point delivery service-Reliability and congestion control for IP Multicast complicated•Need to deal with heterogeneous receiver  negotiation hardNo support for access control-Nor restriction on who can send  very easy to mount Denial of Service (Dos) attacks!16Katz, Stoica F04Overlay ApproachProvide IP multicast functionality above the IP layer  application level multicastChallenge: do this efficientlyProjects:-Narada-Overcast-Scattercast-Yoid-…17Katz, Stoica F04Narada [Yang-hua et al, 2000]Source Speific TreesInvolves only end hostsSmall group sizes <= hundreds of nodesTypical application: chat18Katz, Stoica F04Narada: End System MulticastStanfordCMUStan1Stan2Berk2Overlay TreeGatechBerk1BerkeleyGatechStan1Stan2CMUBerk1Berk219Katz, Stoica F04Performance ConcernsStretch-Ratio of latency in the overlay to latency in the underlying networkStress-Number of duplicate packets sent over the same physical link20Katz, Stoica F04Performance ConcernsDuplicate Packets:Bandwidth WastageCMUStan1Stan2Berk2GatechBerk1Delay from CMU to Berk1 increasesStanfordBerkeleyGatechStan1Stan2CMUBerk1Berk221Katz, Stoica F04PropertiesEasier to deploy than IP Multicast-Don’t have to modify every router on pathEasier to implement reliability than IP Multicast-Use hop-by-hop retransmissionsCan consume more bandwidth than IP MulticastCan have higher latency than IP MulticastNot clear how well it scales-Neither has been used for a group with 1M receivers or 1M groupsCan use IP Multicast where available to optimize performance22Katz, Stoica F04ExamplesOverlay MulticastContent Distribution Networks (CDNs)Peer-to-peer systems23Katz, Stoica F04Content Distribution NetworksProblem: You are a web content provider -How do you handle millions of web clients?-How do you ensure that all clients experience


View Full Document

Berkeley ELENG 122 - Overlay Networks, CDNs, and P2P Networks

Documents in this Course
Lecture 6

Lecture 6

22 pages

Wireless

Wireless

16 pages

Links

Links

21 pages

Ethernet

Ethernet

10 pages

routing

routing

11 pages

Links

Links

7 pages

Switches

Switches

30 pages

Multicast

Multicast

36 pages

Switches

Switches

18 pages

Security

Security

16 pages

Switches

Switches

18 pages

Lecture 1

Lecture 1

56 pages

OPNET

OPNET

5 pages

Lecture 4

Lecture 4

16 pages

Ethernet

Ethernet

65 pages

Models

Models

30 pages

TCP

TCP

16 pages

Wireless

Wireless

48 pages

Load more
Download Overlay Networks, CDNs, and P2P Networks
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Overlay Networks, CDNs, and P2P Networks and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Overlay Networks, CDNs, and P2P Networks 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?