Streaming in Peer-to-peer Networks 2002/1/2. Outline The problem Assumption Network model / Node Construction –Flood-broadcast –Tail-broadcast –Leave-broadcast.

Slides:



Advertisements
Similar presentations
Chapter 5: Tree Constructions
Advertisements

Chapter 13 Leader Election. Breaking the symmetry in system Similar to distributed mutual exclusion problems, the first process to enter the CS can be.
Exact Inference. Inference Basic task for inference: – Compute a posterior distribution for some query variables given some observed evidence – Sum out.
Communication Networks Recitation 3 Bridges & Spanning trees.
Distributed Computing 1. Lower bound for leader election on a complete graph Shmuel Zaks ©
Fundamentals of Computer Networks ECE 478/578 Lecture #13: Packet Switching (2) Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.
Chapter 15 Basic Asynchronous Network Algorithms
A Distributed Algorithm for the Dead End Problem of Location Based Routing in Sensor Networks Le Zou, Mi Lu, Zixiang Xiong, Department of Electrical Engineering,
Algorithms in sensor networks By: Raghavendra kyatham.
Ranveer Chandra , Kenneth P. Birman Department of Computer Science
CS4231 Parallel and Distributed Algorithms AY 2006/2007 Semester 2 Lecture 7 Instructor: Haifeng YU.
Gossip Scheduling for Periodic Streams in Ad-hoc WSNs Ercan Ucan, Nathanael Thompson, Indranil Gupta Department of Computer Science University of Illinois.
Information Dissemination in Highly Dynamic Graphs Regina O’Dell Roger Wattenhofer.
Scribe: A Large-Scale and Decentralized Application-Level Multicast Infrastructure Miguel Castro, Peter Druschel, Anne-Marie Kermarrec, and Antony L. T.
1 Quick Convergecast in ZigBee/IEEE Tree-Based Wireless Sensor Networks Yu-Chee Tseng and Meng-Shiung Pan Department of Computer Science National.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Mobile Ad Hoc Networks Theory of Interferences, Trade-Offs between.
On the Construction of Energy- Efficient Broadcast Tree with Hitch-hiking in Wireless Networks Source: 2004 International Performance Computing and Communications.
Wireless Networks Lab – A Simple Tree Network 2007/11/14 Chia-Hung Tsai.
MQ : An Integrated Mechanism for Multimedia Multicasting De-Nian Yang, Wanjiun Liao, Member, IEEE, and Yen-Ting Lin IEEE TRANSACTIONS ON MULTIMEDIA VOL.
Robust and Efficient Path Diversity in Application-Layer Multicast for Video Streaming Ruixiong Tian, Qian Zhang, Senior Member, IEEE, Zhe Xiang, Yongqiang.
Distributed Algorithms for Guiding Navigation across a Sensor Network Qun Li, Michael DeRosa, and Daniela Rus Dartmouth College MOBICOM 2003.
Dynamic Medial Axis Based Motion Planning in Sensor Networks Lan Lin and Hyunyoung Lee Department of Computer Science University of Denver
1CS 6401 Peer-to-Peer Networks Outline Overview Gnutella Structured Overlays BitTorrent.
1 The Orphan Problem in ZigBee- based Wireless Sensor Networks IEEE Trans. on Mobile Computing (also in MSWiM 2007) Meng-Shiuan Pan and Yu-Chee Tseng Department.
Efficient and Reliable Broadcast in ZigBee Networks Purdue University, Mitsubishi Electric Lab. To appear in SECON 2005.
A Node-Centric Load Balancing Algorithm for Wireless Sensor Networks Hui Dai, Richar Han Department of Computer Science University of Colorado at Boulder.
Broadcast & Convergecast Downcast & Upcast
“Intra-Network Routing Scheme using Mobile Agents” by Ajay L. Thakur.
7.1 and 7.2: Spanning Trees. A network is a graph that is connected –The network must be a sub-graph of the original graph (its edges must come from the.
Structuring P2P networks for efficient searching Rishi Kant and Abderrahim Laabid Abderrahim Laabid.
Network and Communications Ju Wang Chapter 5 Routing Algorithm Adopted from Choi’s notes Virginia Commonwealth University.
Chapter 22 Network Layer: Delivery, Forwarding, and Routing Part 5 Multicasting protocol.
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Chapter 5 Network Layer.
Solution to HW1. Problem 1 Need to find shortest path from a single source s to a single destination d. Have a condition in the Dijkstra algo loop which.
WEAR: A Balanced, Fault-Tolerant, Energy-Aware Routing Protocol for Wireless Sensor Networks Kewei Sha, Junzhao Du, and Weisong Shi Wayne State University.
A Survey of Geocast Routing Protocols 指導教授:許子衡 教授 報告學生:馬敏修 指導教授:許子衡 教授 報告學生:馬敏修.
The Influence of Network Topology on the Efficiency of QoS Multicast Heuristic Algorithms Maciej Piechowiak Piotr Zwierzykowski Poznan University of Technology,
1 Shape Segmentation and Applications in Sensor Networks Xianjin Xhu, Rik Sarkar, Jie Gao Department of CS, Stony Brook University INFOCOM 2007.
A correction The definition of knot in page 147 is not correct. The correct definition is: A knot in a directed graph is a subgraph with the property that.
Tarry vs Awerbuchs Shawn Biesan. Background Tarry’s Transversal Algorithm – Initiator forwards token to one of neighbors, each neighbor forwards token.
Void Traversal for Guaranteed Delivery in Geometric Routing
Trees : Part 1 Section 4.1 (1) Theory and Terminology (2) Preorder, Postorder and Levelorder Traversals.
On Reducing Mesh Delay for Peer- to-Peer Live Streaming Dongni Ren, Y.-T. Hillman Li, S.-H. Gary Chan Department of Computer Science and Engineering The.
RELIABLE APPLICATION LAYER MULTICAST OVER COMBINED WIRED AND WIRELESS NETWORKS AUTHORS - MASAHIRO KOBAYASHI, MEMBER, IEEE, HIDEHISA NAKAYAMA, MEMBER, IEEE,
Tree Constructions Distributed Algorithms for Multi-Agent Networks Instructor: K. Sinan YILDIRIM.
Comparison of Tarry’s Algorithm and Awerbuch’s Algorithm CS 6/73201 Advanced Operating System Presentation by: Sanjitkumar Patel.
LOCALIZED MINIMUM - ENERGY BROADCASTING IN AD - HOC NETWORKS Paper By : Julien Cartigny, David Simplot, And Ivan Stojmenovic Instructor : Dr Yingshu Li.
A Dynamic Query-tree Energy Balancing Protocol for Sensor Networks H. Yang, F. Ye, and B. Sikdar Department of Electrical, Computer and systems Engineering.
A Framework for Reliable Routing in Mobile Ad Hoc Networks Zhenqiang Ye Srikanth V. Krishnamurthy Satish K. Tripathi.
Christopher M. Bishop, Pattern Recognition and Machine Learning 1.
Community structure in graphs Santo Fortunato. More links “inside” than “outside” Graphs are “sparse” “Communities”
Graph Algorithms Why graph algorithms ? It is not a “graph theory” course! Many problems in networks can be modeled as graph problems. Note that -The topology.
CS440 Computer Networks 1 Link State Routing and OSPF Neil Tang 10/31/2008.
Example Apply hierarchical clustering with d min to below data where c=3. Nearest neighbor clustering d min d max will form elongated clusters!
03/19/02Scalab Seminar Series1 Finding Good Peers in Peer-to-Peer Networks Ramaswamy N.Vadivelu Scalab, ASU.
CS 6401 Intra-domain Routing Outline Introduction to Routing Distance Vector Algorithm.
1 Trees : Part 1 Reading: Section 4.1 Theory and Terminology Preorder, Postorder and Levelorder Traversals.
ROUTING ON THE INTERNET COSC Jun-16. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
Efficient distribution of An infrastructure Cluster network under constraints Ben Gurion University, Communication System Engineering Department, Faculty.
THE NETWORK LAYER.
Intra-Domain Routing Jacob Strauss September 14, 2006.
Graphs All tree structures are hierarchical. This means that each node can only have one parent node. Trees can be used to store data which has a definite.
Intradomain Routing Outline Introduction to Routing
Raymond Exclusive Algorithm
Trees.
Introduction Wireless Ad-Hoc Network
Connections Johan Lukkien
Lecture 12 CSE 331 Sep 22, 2014.
Nature does nothing uselessly.
Heaps Chapter 6 Section 6.9.
Presentation transcript:

Streaming in Peer-to-peer Networks 2002/1/2

Outline The problem Assumption Network model / Node Construction –Flood-broadcast –Tail-broadcast –Leave-broadcast Simulation Future work

The Problem Given a graph G = (V,E) with order- vertexes and a distinguished source vertex s, we find a way to connect all the vertexes without violating the order, which means we have to connect the smaller order vertexes before the larger ones. Constraints: –Minimize the maximum of order-difference –Minimize the sum of order-difference –Minimize the construction cost

An Example Step 1Step 2Step 3Step 4 MAX : 2 SUM : Order-difference: ID – Max(Children’s ID)

Assumption Without messages, all nodes knows nothing about other nodes’ condition except the paths to connect to its neighbor nodes. Only in-stream nodes can actively tell other nodes to join the stream. If a node receives a message, it can directly response the message or forward the message to its neighbors according to the message’s TTL attribute.

Network Model Distributing n nodes across a Cartesian coordinate grid. The edge probability function is,where d(u,v) is the Euclidean distance, L is the maximum possible distance between two nodes.

A Graph Example

Node A node has following attributes: –(x,y) –Neighbor nodes’ ID –ID (also used as joined order) –Stream parent ID –Stream child IDs (order-difference) –Message parent ID –Message TTL –The sent messages number

Construction The ways to connect all the nodes: –Flood-broadcast –Tail-broadcast –Leave-broadcast

Flood-broadcast Every node in the stream can broadcast messages to all its neighbor nodes

Tail-broadcast Only the lastly in-stream nodes can broadcast messages Tail-1 case Tail-2 case

Leaves-broadcast Only the non-child nodes can broadcast messages

Leaves-broadcast Vs. Tail-broadcast (1) Tail-broadcast has local problem and does not spread well. Leaves-broadcast has a trend to result in a tree graph but at the same time occurs larger maximum and sum of order-difference.

Leaves-broadcast Vs. Tail-broadcast (2) 1n-1n … i j n+1 Tail-broadcast 1n-1n … i j n+1 Leave-broadcast

How to Simulation (1) Main loop : for i = 1 to NUM_OF_NODES do ResetMessageParent() SetBroadcastNodes(BROADCASTWAY) SetInStream()

How to Simulation (2) ResetMessageParent() : –Reset every node’s message server to null (clear history) –To avoid broadcasting messages back

How to Simulation (3) SetBroadcastNodes(BROADCASTWAY) : –To setup which nodes to broadcast messages to others. –BROADCASTWAY: Flood-broadcast Leaves-broadcast Tail-broadcast

How to Simulation (4) SetInStream() : –To set the node which wants to join the movie into the chaining stream –Select a parent node to join

How to Simulation (5) Node’s function : –BroadcastMessage() –ReceiveMessage() –ResponseMessage()

How to Simulation (6) BroadcastMessage() : –If the node is set to broadcast message, the node call this function to broadcast messages to all its neighbor nodes.

How to Simulation (7) ReceiveMessage() : –If a node receive a message, it first store the message server’s ID, and see if it want to join the movie. –If a node want to join the movie, it stores the stream parent ID. –If not, it looks the TTL field and compare the value received last time to determine if it need to broadcast messages forward.

How to Simulation (8) ResponseMessage() : –A node can determine which movie server to connect with if it had received messages before.

Simulation Result (1) Flood-broadcast

Simulation Result (2) Leaves-broadcast

Simulation Result (3) Tail-3-broadcast

Simulation Result (4) In-stream node number (total 100 nodes) TTL1234 Flood Leaves Tail Messages cost TTL1234 Flood19,478273,9413,094,24927,166,605 Leaves9567,80127,260148,592 Tail-32,63420,51858,193108,506 Max/Sum of order-difference TTL1234 Flood19/25619/28319/2879/171 Leaves1/91/249/6419/262 Tail-33/243/6514/13012/139

Future Work Other construction ways Different graph, ex: hierarchical graph History messages