Communication (II) Chapter 4

Slides:



Advertisements
Similar presentations
Ranveer Chandra Ramasubramanian Venugopalan Ken Birman
Advertisements

Multicasting in Mobile Ad hoc Networks By XIE Jiawei.
Computer Networking A Top-Down Approach Chapter 4.7.
Introduction 1 Lecture 22 Network Layer (Broadcast and Multicast) slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer Science.
Gossip Algorithms and Implementing a Cluster/Grid Information service MsSys Course Amar Lior and Barak Amnon.
Lecture 7 Data distribution Epidemic protocols. EECE 411: Design of Distributed Software Applications Epidemic algorithms: Basic Idea Idea Update operations.
Reliable Group Communication Quanzeng You & Haoliang Wang.
Multicast Fundamentals n The communication ways of the hosts n IP multicast n Application level multicast.
Gossip Scheduling for Periodic Streams in Ad-hoc WSNs Ercan Ucan, Nathanael Thompson, Indranil Gupta Department of Computer Science University of Illinois.
Unstructured overlays: construction, optimization, applications Anne-Marie Kermarrec Joint work with Laurent Massoulié and Ayalvadi Ganesh.
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.
1 Internet Networking Spring 2004 Tutorial 7 Multicast Routing Protocols.
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:
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 22 Introduction to Computer Networks.
Slide Set 15: IP Multicast. In this set What is multicasting ? Issues related to IP Multicast Section 4.4.
Application Layer Multicast
Computer Networking Lecture 24 – Multicast.
Internet Networking Spring 2002
1 IP Multicasting. 2 IP Multicasting: Motivation Problem: Want to deliver a packet from a source to multiple receivers Applications: –Streaming of Continuous.
Application Layer Multicast for Earthquake Early Warning Systems Valentina Bonsi - April 22, 2008.
Epidemic Techniques Chiu Wah So (Kelvin). Database Replication Why do we replicate database? – Low latency – High availability To achieve strong (sequential)
MULTICASTING Network Security.
A Case for End System Multicast Author: Yang-hua Chu, Sanjay G. Rao, Srinivasan Seshan and Hui Zhang.
Multicast Security CS239 Advanced Network Security April 16 th, 2003 Yuken Goto.
An Active Reliable Multicast Framework for the Grids M. Maimour & C. Pham ICCS 2002, Amsterdam Network Support and Services for Computational Grids Sunday,
Multicast Communication Multicast is the delivery of a message to a group of receivers simultaneously in a single transmission from the source – The source.
CSE679: Multicast and Multimedia r Basics r Addressing r Routing r Hierarchical multicast r QoS multicast.
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
1 6.4 Distribution Protocols Different ways of propagating/distributing updates to replicas, independent of the consistency model. First design issue.
Chapter 22 Network Layer: Delivery, Forwarding, and Routing
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Multicast routing.
22.1 Chapter 22 Network Layer: Delivery, Forwarding, and Routing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Multicast Routing Protocols NETE0514 Presented by Dr.Apichan Kanjanavapastit.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Network Layer4-1 R1 R2 R3R4 source duplication R1 R2 R3R4 in-network duplication duplicate creation/transmission duplicate Broadcast Routing r Deliver.
Network Layer introduction 4.2 virtual circuit and datagram networks 4.3 what’s inside a router 4.4 IP: Internet Protocol  datagram format  IPv4.
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
Application-Layer Multicast -presented by William Wong.
Multicasting. References r Note: Some slides come from the slides associated with this book: “Mastering Computer Networks: An Internet Lab Manual”, J.
CSC 600 Internetworking with TCP/IP Unit 8: IP Multicasting (Ch. 17) Dr. Cheer-Sun Yang Spring 2001.
Higashino Lab. Maximizing User Gain in Multi-flow Multicast Streaming on Overlay Networks Y.Nakamura, H.Yamaguchi and T.Higashino Graduate School of Information.
Chapter 22 Network Layer: Delivery, Forwarding, and Routing Part 5 Multicasting protocol.
TOMA: A Viable Solution for Large- Scale Multicast Service Support Li Lao, Jun-Hong Cui, and Mario Gerla UCLA and University of Connecticut Networking.
CSE 486/586, Spring 2013 CSE 486/586 Distributed Systems Gossiping Steve Ko Computer Sciences and Engineering University at Buffalo.
© J. Liebeherr, All rights reserved 1 Multicast Routing.
IP Multicast COSC Addressing Class D address Ethernet broadcast address (all 1’s) IP multicast using –Link-layer (Ethernet) broadcast –Link-layer.
Pilot: Probabilistic Lightweight Group Communication System for Ad Hoc Networks Authored by Luo, Eugster, and Hubaux Presented by Jin-Hee Cho.
 Communication Distributed Systems IT332. Outline  Fundamentals  Layered network communication protocols  Types of communication  Remote Procedure.
1 Spring Semester 2009, Dept. of Computer Science, Technion Internet Networking recitation #7 DVMRP.
1 Computer Communication & Networks Lecture 21 Network Layer: Delivery, Forwarding, Routing Waleed.
Information-Centric Networks10b-1 Week 10 / Paper 2 Hermes: a distributed event-based middleware architecture –P.R. Pietzuch, J.M. Bacon –ICDCS 2002 Workshops.
ECE 544 Project3 Group 9 Brien Range Sidhika Varshney Sanhitha Rao Puskuru.
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.
Multicast Communications
Communication Chapter 2.
Chapter 25 Internet Routing. Static Routing manually configured routes that do not change Used by hosts whose routing table contains one static route.
1 Roie Melamed, Technion AT&T Labs Araneola: A Scalable Reliable Multicast System for Dynamic Wide Area Environments Roie Melamed, Idit Keidar Technion.
Communication Networks Recitation 11. Multicast & QoS Routing.
22.1 Network Layer Delivery, Forwarding, and Routing.
1 Group Communications: Host Group and IGMP Dr. Rocky K. C. Chang 19 March, 2002.
CSE 486/586 Distributed Systems Gossiping
CMPE 252A: Computer Networks
Gossip-based Data Dissemination
Host Multicast: A Framework for Delivering Multicast to End Users
湖南大学-信息科学与工程学院-计算机与科学系
Overlay Networking Overview.
IP Multicast COSC /5/2019.
EE 122: Lecture 13 (IP Multicast Routing)
Optional Read Slides: Network Multicast
Presentation transcript:

Communication (II) Chapter 4 4/21/2017

Topics Fundamentals Stream Multicast Overlay (application layer multicast) Application layer MC vs IP layer MC Epidemic and gossip 4/21/2017

Multicast Multicast: a source sends a message to the subset of network nodes (say a multicast group) Applications: Video conferences, network games, database A source could send through many unicast However, sender may not know individual receivers and efficiency issue Unicast and Broadcast 4/21/2017

Network multicast A “join” protocol (so to send or receive from) multicast group - Internet Group Management Protocol (IGMP) Routers forward mcast-addressed datagrams to hosts that have “joined” that multicast group Multicast Routing protocols -- different trees for diff groups Group-shared tree Source-based trees 4/21/2017

Overlay multicast An application forms their own multicast network - overlay network A network that has only hosts who wants to join the MC application -- “routers” are hosts! Network links are TCP connections. The network can be a tree or a mesh or … 4/21/2017

Overlay Construction The relation between links in an overlay and actual network-level routes. 4/21/2017

Overlay multicast metrics Problem: logical links vs physical links Metrics: Link stress (per link): how often a packet crosses the same link Closer to 1, the better Stretch or relative delay penalty (RDP): Measures the ratio in the delay between two nodes in the overlay, and the delay that those two nodes connecting in the underlying network. Smaller the ratio (minimum be 1), the better Tree cost: minimum spanning tree. 4/21/2017

Application architectures Rendezvous node Well know node, keep the tree members For a single source based applicaiton Find a best parent node Direct to the source (the stretch is 1 !)... Disadvantage? Consider nodes’ load (degree), e.g., k neighbor. 4/21/2017

Topics Fundamentals Stream Multicast Overlay (application layer multicast) Epidemic and gossip 4/21/2017

Data Dissemination Simple techniques for spreading information in very large-scale distributed systems. Want efficiency, robustness, speed, scale Tree distribution is efficient, but fragile (plus configuration is difficult) Flooding is robust, but inefficient No central control Gossip is both efficient and robust, but has relatively high latency Or epidemic. 4/21/2017

Probabilistic multicast Distributed local information (local view) Loose or no synchronization Scalable Reliable Probabilistic guarantees on full delivery No delay upper bound Graceful degradation in the presence of failure Delete message Replication, fault-tolerant 4/21/2017

Gossip-based Protocols Anti-entropy propagation model Node P picks another node Q at random Subsequently exchanges updates with Q Differ by the number of time they gossip the same message or the number of gossip targets they select each time. Some “epidemic” related terms: Infected – holds the data and willing to spread further Susceptible – not seen the data yet. Removed – has the date but will not send to others. 4/21/2017

Push and Pull Approaches to exchanging updates P only pushes its own updates to Q P only pulls in new updates from Q P and Q send updates to each other (1) when many are infected, push may induce long delay for spreading Pull is better: a susceptible asks around, high chance to hit a infected. (2) when data entries are big, send a “digest” (instead of the data directly) of the state, and the recipient can request anything it doesn’t already have. Apply to push, pull and push-pull. 4/21/2017

Centralized algorithm Round: picking node, picking a piece of data log2(n), for n nodes. 4/21/2017

Gossip-based protocol: k fanout 4 3 5 1 2 9 One of gossip-based algorithms works as follow. A node receiving a multicast, select randomly among the group members k (k is called the fanout, 3 in this example) others nodes to gossip to. And so on and so forth. Eventually the message reach everybody with a certain probability. Note that this algorithm have a bimodal behavior either the fanout is too low and the algorithm dies very quickly with reaching almost nobody or it reaches almost evrybody. In a previous work, we actually showed that the probability of fanout can be related to the fanout. Log(N) id usually a good value Fanout = k Probability of reliable delivery : P = exp(-exp(-s)) If k = log n + s 8 7 6 4/21/2017

Analysis Probability of infection n nodes, k member infected, Anybody can infect anyone else with equal probability. What is the probability Pinfect(k, n) that a particular uninfected member is infected in a round if k are already infected? 4/21/2017

Analysis For simple epidemic Gossip propagation time Expected number of rounds Expected # of rounds # rounds 4/21/2017

Analysis s: fraction of nodes remain uninfected: 1/k: probability of stopping infecting others. 4/21/2017

Further design issues How to know the n? Or , scalable membership protocol? Paper, [SCAMP: lightweight membership service for gossip-based protocols] Removing data: Early deletion cause restore old data keep record - Death certificates Repeat spreading Death certificates When to clean up? 4/21/2017

Applications Reputation and trust in distributed systems Paper [EBAY]: R. Zhou and K. Hwang, "PowerTrust: A Robust and Scalable Reputation System for Trusted Peer-toPeer Computing," Information aggregation Paper: textbook Jelasity, 2005b. pg 649, “Gossip based aggregation in large dynamic networks”  paper [Kempe]: "Gossip-Based Computation of Aggregate Information" 4/21/2017