Overlay Networks and Overlay Multicast May 2008. 2 Definition  Network -defines addressing, routing, and service model for communication between hosts.

Slides:



Advertisements
Similar presentations
Multicasting in Mobile Ad hoc Networks By XIE Jiawei.
Advertisements

COS 461 Fall 1997 Routing COS 461 Fall 1997 Typical Structure.
Multicast in Wireless Mesh Network Xuan (William) Zhang Xun Shi.
UNIT-IV Computer Network Network Layer. Network Layer Prepared by - ROHIT KOSHTA In the seven-layer OSI model of computer networking, the network layer.
Ranveer Chandra , Kenneth P. Birman Department of Computer Science
Computer Science 1 ShapeShifter: Scalable, Adaptive End-System Multicast John Byers, Jeffrey Considine, Nicholas Eskelinen, Stanislav Rost, Dmitriy Zavin.
1 A Case For End System Multicast Yang-hua Chu, Sanjay Rao and Hui Zhang Carnegie Mellon University Largely adopted from Jonathan Shapiro’s slides at umass.
Computer Science ROMA: Reliable Overlay Multicast with Loosely Coupled TCP Connections Gu-In Kwon and John Byers Computer Science Dept. Boston University.
Opportunities and Challenges of Peer-to-Peer Internet Video Broadcast J. Liu, S. G. Rao, B. Li and H. Zhang Proc. of The IEEE, 2008 Presented by: Yan Ding.
15-441: Computer Networking Lecture 26: Networking Future.
Overlay Multicast Mechanism Student : Jia-Hui Huang Adviser : Kai-Wei Ke Date : 2006/5/9.
CS 268: Active Networks Ion Stoica May 6, 2002 (* Based on David Wheterall presentation from SOSP ’99)
Network Layer4-1 Spanning trees r Suppose you have a connected undirected graph m Connected: every node is reachable from every other node m Undirected:
Internet Indirection Infrastructure Ion Stoica UC Berkeley.
CS 268: Active Networks & Overlay Networks
Application Layer Multicast
CS 268: Project Suggestions Ion Stoica February 6, 2003.
CS 268: Overlay Networks: Introduction and Multicast Kevin Lai April 29, 2001.
1 EE 122: Multicast Ion Stoica TAs: Junda Liu, DK Moon, David Zats (Materials with thanks to Vern Paxson, Jennifer.
1 IP Multicasting. 2 IP Multicasting: Motivation Problem: Want to deliver a packet from a source to multiple receivers Applications: –Streaming of Continuous.
1 An Overlay Scheme for Streaming Media Distribution Using Minimum Spanning Tree Properties Journal of Internet Technology Volume 5(2004) No.4 Reporter.
Katz, Stoica F04 EECS 122: Introduction to Computer Networks Multicast Computer Science Division Department of Electrical Engineering and Computer Sciences.
Anonymous Gossip: Improving Multicast Reliability in Mobile Ad-Hoc Networks Ranveer Chandra (joint work with Venugopalan Ramasubramanian and Ken Birman)
CS 268: Overlay Networks: Distributed Hash Tables Kevin Lai May 1, 2001.
MULTICASTING Network Security.
A Case for End System Multicast Author: Yang-hua Chu, Sanjay G. Rao, Srinivasan Seshan and Hui Zhang.
A Scalable, Commodity Data Center Network Architecture.
Spanning Tree and Multicast. The Story So Far Switched ethernet is good – Besides switching needed to join even multiple classical ethernet networks Routing.
CSE679: Multicast and Multimedia r Basics r Addressing r Routing r Hierarchical multicast r QoS multicast.
Communication Part IV Multicast Communication* *Referred to slides by Manhyung Han at Kyung Hee University and Hitesh Ballani at Cornell University.
NUS.SOC.CS Roger Zimmermann (based in part on slides by Ooi Wei Tsang) Application-Level Multicast.
I T & S A e r o s p a c eD e f e n c e Content adaptation for gradual Quality of Service Vania Conan, Arnaud Pierre Thales
Prof. Younghee Lee 1 Computer networks u Lecture 12: Overlay network Prof. Younghee Lee u Some part of this teaching materials are prepared referencing.
Overcast: Reliable Multicasting with an Overlay Network CS294 Paul Burstein 9/15/2003.
Application-Layer Multicast -presented by William Wong.
PDNL Application Layer Multicast for Small Groups: Status and Research Direction Bobby Bhattacharjee University of Maryland John Buford Panasonic Digital.
Information-Centric Networks07a-1 Week 7 / Paper 1 Internet Indirection Infrastructure –Ion Stoica, Daniel Adkins, Shelley Zhuang, Scott Shenker, Sonesh.
Overlay Network Physical LayerR : router Overlay Layer N R R R R R N.
A Case for End System Multicast Yang-hua Chu, Sanjay G. Rao, Srinivasan Seshan and Hui Zhang Presentation by Warren Cheung Some Slides from
Higashino Lab. Maximizing User Gain in Multi-flow Multicast Streaming on Overlay Networks Y.Nakamura, H.Yamaguchi and T.Higashino Graduate School of Information.
CS 268: Overlay Networks: Introduction and Multicast Ion Stoica April 15-17, 2003.
Multicast Routing Algorithms n Multicast routing n Flooding and Spanning Tree n Forward Shortest Path algorithm n Reversed Path Forwarding (RPF) algorithms.
TOMA: A Viable Solution for Large- Scale Multicast Service Support Li Lao, Jun-Hong Cui, and Mario Gerla UCLA and University of Connecticut Networking.
Impact of Topology on Overlay Multicast Suat Mercan.
© J. Liebeherr, All rights reserved 1 Multicast Routing.
Enabling Conferencing Applications on the Internet using an Overlay Multicast Architecture Yang-hua Chu, Sanjay Rao, Srini Seshan and Hui Zhang Carnegie.
Björn Landfeldt School of Information Technologies NETS 3303 Networked Systems Multicast.
APPLICATION LAYER MULTICASTING
Application-Level Multicast Routing Michael Siegenthaler CS 614 – Cornell University November 2, 2006 A few slides are borrowed from Swati Agarwal, CS.
Network Layer4-1 Chapter 4 roadmap 4.1 Introduction and Network Service Models 4.2 Routing Principles 4.3 Hierarchical Routing 4.4 The Internet (IP) Protocol.
NUS.SOC.CS5248 Ooi Wei Tsang Course Matters. NUS.SOC.CS5248 Ooi Wei Tsang Deadlines 11 Oct: Survey Paper Due 18 Oct: Paper Reviews Due.
NUS.SOC.CS5248 Ooi Wei Tsang Application-Level Multicast.
CS 268: Project Suggestions Ion Stoica January 26, 2004.
4: Network Layer4-1 Chapter 4: Network Layer Last time: r Internet routing protocols m RIP m OSPF m IGRP m BGP r Router architectures r IPv6 Today: r IPv6.
CS 6401 Overlay Networks Outline Overlay networks overview Routing overlays Resilient Overlay Networks Content Distribution Networks.
Self-stabilizing energy-efficient multicast for MANETs.
A Case for End System Multicast 學號: 報告人:通訊所 吳瑞益 指導教授:楊峻權 日期: ACM SIGMETRICS.
1 A Case For End System Multicast Yang-hua Chu, Sanjay Rao and Hui Zhang Carnegie Mellon University.
NUS.SOC.CS Roger Zimmermann (based in part on slides by Ooi Wei Tsang) Application-Level Multicast.
EE122: Multicast Kevin Lai October 7, Internet Radio  (techno station)
Distributed Systems Lecture 7 Multicast 1. Previous lecture Global states – Cuts – Collecting state – Algorithms 2.
Multicast Outline Multicast Introduction and Motivation DVRMP.
Overlay Networking Overview.
CPE 401/601 Computer Network Systems
Lecture 6 Overlay Networks
Lecture 6 Overlay Networks
EE 122: Lecture 22 (Overlay Networks)
Other Routing Protocols
EE 122: Lecture 13 (IP Multicast Routing)
Presentation transcript:

Overlay Networks and Overlay Multicast May 2008

2 Definition  Network -defines addressing, routing, and service model for communication between hosts  Overlay network -A network built on top of one or more existing networks -adds an additional layer of indirection/virtualization -changes properties in one or more areas of underlying network  Alternative -change an existing network layer

3 A Historical Example  Internet is an overlay network -goal: connect local area networks -built on local area networks (e.g., Ethernet), phone lines -add an Internet Protocol header to all packets

4 Benefits  Do not have to deploy new equipment, or modify existing software/protocols -probably have to deploy new software on top of existing software -e.g., adding IP on top of Ethernet does not require modifying Ethernet protocol or driver -allows bootstrapping expensive to develop entirely new networking hardware/software all networks after the telephone (Ethernet) have begun as overlay networks

5 Benefits  Do not have to deploy at every node -not every node needs/wants overlay network service all the time e.g., QoS guarantees for best-effort traffic -overlay network may be too heavyweight for some nodes e.g., consumes too much memory, cycles, or bandwidth -overlay network may have unclear security properties e.g., may be used for service denial attack -overlay network may not scale (not exactly a benefit) e.g. may require n 2 state or communication

6 Costs  Adds overhead -adds a layer in networking stack additional packet headers, processing -sometimes, additional work is redundant e.g., an IP packet contains both Ethernet ( bits) and IP addresses ( bits) eliminate Ethernet addresses from Ethernet header and assume IP header(?)  Adds complexity -layering does not eliminate complexity, it only manages it -more layers of functionality  more possible unintended interaction between layers -e.g., corruption drops on wireless interpreted as congestion drops by TCP

7 Applications  Addressing: eg. IPv6 on IPv4  Routing – P2P, …  Mobility -MIPv4: pretends mobile host is in home network  Security: eg. VPN  Multicast

8 Applications: Addressing  provide more address space than underlying network  6bone -IPv6 on IPv4 -requires NAT-like gateways for IPv6-only hosts to communicate with IPv4-only hosts -main current deployment of IPv6  TRIAD, IP-NL -enhanced NAT -separate Internet into realms, each with its own IPv4 address space -use overlay network for inter-realm routing 6/4 Internet v4 6/ NAT

9 Applications: Increasing Routing Robustness  Resilient Overlay Networks [Anderson et al 2001] -overlay nodes form a complete graph -nodes probe other nodes for lowest latency -knowledge of complete graph  lower latency routing than IP, faster recovery from faults

10 Applications: Routing  Flat space -every node has a route to every other node -n 2 state and communication, constant distance  Hierarchy -every node routes through its parent -constant state and communication, log(n) distance -too much load on root  Mesh (e.g., CAN-Content Addressable Network) -every node routes through 2d other nodes -O(d) state and communication, n 1/d distance  Chord -every node routes through O(log n) other nodes -O(log n) state and communication, O(log n) distance

11 Applications: Security (VPN)  provide more security than underlying network  privacy (e.g., IPSEC) -overlay encrypts traffic between nodes -only useful when end hosts cannot be secure  anonymity (e.g., Zero Knowledge) -overlay prevents receiver from knowing which host is the sender, while still being able to reply -receiver cannot determine sender exactly without compromising every overlay node along path  service denial resistance (e.g., FreeNet) -overlay replicates content so that loss of a single node does not prevent content distribution

12 Multicast Outline

13 IP Multicast Routing  Goal: find a tree (or trees) connecting routers having local mcast group members -tree: not all paths between routers used -source-based: different tree from each sender to rcvrs -shared-tree: same tree used by all group members Shared tree Source-based trees

14 Problems with IP Multicast  Advantage: Highly efficient, Good delay  Scales poorly with number of groups -A router must maintain state for every group  Supporting higher level functionality is difficult -IP Multicast: best-effort multi-point delivery service -Reliability and congestion control for IP Multicast complicated scalable, end-to-end approach for heterogeneous receivers is very difficult hop-by-hop approach requires more state and processing in routers  Deployment is difficult and slow -ISP’s reluctant to turn on IP Multicast

15 Overlay Multicast  Provide multicast functionality above the IP layer  overlay or application level multicast  Potential Benefits over IP Multicast -Quick deployment -All multicast state in end systems -Computation at forwarding points simplifies support for higher level functionality  Challenge: do this efficiently  Narada [Yang-hua Chu et al, 2000 CMU] -Multi-source multicast -Involves only end hosts -Small group sizes <= hundreds of nodes -Typical application: chat

16 Narada: End System Multicast Stanford CMU Stan1 Stan2 Berk2 Overlay tree Gatech Berk1 Berkeley Gatech Stan1 Stan2 CMU Berk1 Berk2

17 Potential Benefits  Scalability -routers do not maintain per-group state -end systems do, but they participate in few groups  Easier to deploy -only requires adding software to end hosts  Potentially simplifies support for higher level functionality -use hop-by-hop approach, but end hosts are routers -leverage computation and storage of end systems -e.g., packet buffering, transcoding of media streams, ACK aggregation -leverage solutions for unicast congestion control and reliability

18 Performance Concerns Duplicate Packets: Bandwidth Wastage CMU Stan1 Stan2 Berk2 Gatech Berk1 Delay from CMU to Berk1 increases Stanford Berkeley Gatech Stan1 Stan2 CMU Berk1 Berk2

19 Overlay Tree  Delay between the source and receivers is small  The number of redundant packets on any physical link is low  Heuristic: -Every member in the tree has a small degree -Degree chosen to reflect bandwidth of connection to Internet Gatech “Efficient” overlay CMU Berk2 Stan1 Stan2 Berk1 High degree (unicast) Berk2 Gatech Stan2 CMU Stan1 Stan2 High latency CMU Berk2 Gatech Stan1 Berk1

20 Overlay Construction Problems  Dynamic changes in group membership -Members may join and leave dynamically -Members may die  Dynamic changes in network conditions and topology -Delay between members may vary over time due to congestion, routing changes  Knowledge of network conditions is member specific -Each member must determine network conditions for itself

21 Solution  Two step design -Build a mesh that includes all participating end-hosts what they call a mesh is just a graph members probe each other to learn network related information overlay must self-improve as more information available -Build source routed distribution trees

22 Mesh  Advantages: -Offers a richer topology  robustness; don’t need to worry too much about failures -Don’t need to worry about cycles  Desired properties -Members have low degrees -Shortest path delay between any pair of members along mesh is small Berk2 Berk1 CMU Gatech Stan1 Stan2

23 Mesh - Overlay Trees  Source routed minimum spanning tree on mesh  Desired properties -Members have low degree -Small delays from source to receivers Berk2 Gatech Berk1 Stan1 Stan2 Berk2 Berk1 CMU Gatech Stan1 Stan2 CMU

24 Narada Components/Techniques  Mesh Management: -Ensures mesh remains connected in face of membership changes  Mesh Optimization: -Distributed heuristics for ensuring shortest path delay between members along the mesh is small  Spanning tree construction: -Routing algorithms for constructing data- delivery trees -Distance vector routing, and reverse path forwarding

25 Definitions  Utility gain of adding a link based on -The number of members to which routing delay improves -How significant the improvement in delay to each member is  Cost of dropping a link based on -The number of members to which routing delay increases, for either neighbor  Add/Drop Thresholds are functions of: -Member’s estimation of group size -Current and maximum degree of member in the mesh

26 Optimizing Mesh Quality  Members periodically probe other members at random  New link added if Utility_Gain of adding link > Add_Threshold  Members periodically monitor existing links  Existing link dropped if Cost of dropping link < Drop Threshold Berk1 Stan2 CMU Gatech1 Stan1 Gatech2 A poor overlay topology: Long path from Gatech2 to CMU

27 Desirable properties of heuristics  Stability: A dropped link will not be immediately re-added  Partition avoidance: A partition of the mesh is unlikely to be caused as a result of any single link being dropped Delay improves to Stan1, CMU but marginally. Do not add link! Delay improves to CMU, Gatech1 and significantly. Add link! Berk1 Stan2 CMU Gatech1 Stan1 Gatech 2 Probe Berk1 Stan2 CMU Gatech1 Stan1 Gatech 2 Probe

28 Example Used by Berk1 to reach only Gatech2 and vice versa: Drop!! Gatech1 Berk1 Stan2 CMU Stan1 Gatech2 Gatech1 Berk1 Stan2 CMU Stan1 Gatech2

29 Simulation Results  Simulations -Group of 128 members -Delay between 90% pairs < 4 times the unicast delay -No link caries more than 9 copies  Experiments (in Internet) -Group of 13 members -Delay between 90% pairs < 1.5 times the unicast delay

30 Summary  End-system multicast (NARADA) : aimed to small-sized groups -Application example: chat  Multi source multicast model  No need for infrastructure  Properties -low performance penalty compared to IP Multicast -potential to simplify support for higher layer functionality -allows for application-specific customizations

31 Summary  Narada demonstrates the flexibility of the application level multicast -I.e., the ability to optimize the multicast distribution to the application needs  Issues -4x unicast delay could be a problem for interactive applications -reliability and congestion control for heterogeneous receivers not demonstrated -sender access control solution not demonstrated -overhead of probes is low for one group, what about for n groups on same host? -is stress really an important metric?

32 Other Projects  Overcast [Jannotti et al, Cisco, 2000] -Single source tree -Uses an infrastructure; end hosts are not part of multicast tree -Large groups ~ millions of nodes -Typical application: content distribution  Scattercast (Chawathe et al, UC Berkeley) -Emphasis on infrastructural support and proxy- based multicast -Uses a mesh like Narada, but differences in protocol details  Yoid (Paul Francis, Cornell) -Uses a shared tree among participating members -Distributed heuristics for managing and optimizing tree constructions