1 Cycle Detection in Publish/Subscribe Overlay Networks Reza Sherafat Alex Cheung Prof. Cristiana Amza ECE1747 – Course Project University of Toronto.

Slides:



Advertisements
Similar presentations
Opportunistic Multipath Forwarding in Publish/Subscribe Systems Reza Sherafat Kazemzadeh AND Hans-Arno Jacobsen Middleware Systems Research Group University.
Advertisements

Alex Cheung and Hans-Arno Jacobsen August, 14 th 2009 MIDDLEWARE SYSTEMS RESEARCH GROUP.
Introduction to Computer Networks Spanning Tree 1.
Packet Switching COM1337/3501 Textbook: Computer Networks: A Systems Approach, L. Peterson, B. Davie, Morgan Kaufmann Chapter 3.
Partition-Tolerant Distributed Publish/Subscribe Systems
Wi-Fi Neighborcast: Enabling communication among nearby clients
EIGRP routing protocol Omer ben-shalom Omer Ben-Shalom: Must show how EIGRP is dealing with count to infinity problem Omer Ben-Shalom: Must.
CSE331: Introduction to Networks and Security Lecture 9 Fall 2002.
Dissemination protocols for large sensor networks Fan Ye, Haiyun Luo, Songwu Lu and Lixia Zhang Department of Computer Science UCLA Chien Kang Wu.
1 Enhanced IGRP (EIGRP). 2 Agenda EIGRP Features and Operation Using EIGRP to Support Large Networks Verifying EIGRP.
ITIS 6010/8010 Wireless Network Security Dr. Weichao Wang.
Hermes: A Distributed Event- Based Middleware Architecture Peter Pietzuch and Jean Bacon 1st DEBS Workshop, Vienna,
Lecture Week 3 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts.
Distributed Publish/Subscribe Network Presented by: Yu-Ling Chang.
Ad Hoc Wireless Routing COS 461: Computer Networks
Alex King Yeung Cheung and Hans-Arno Jacobsen University of Toronto June, 24 th 2010 ICDCS 2010 MIDDLEWARE SYSTEMS RESEARCH GROUP.
Itrat Rasool Quadri ST ID COE-543 Wireless and Mobile Networks
Routing Protocols RIP, OSPF, BGP. A Routing Protocol’s Job Is to Find a “Best” Path between Any Pair of Nodes Routers in a network exchange their routing.
Publisher Mobility in Distributed Publish/Subscribe Systems Vinod Muthusamy, Milenko Petrovic, Dapeng Gao, Hans-Arno Jacobsen University of Toronto June.
Mobile Routing protocols MANET
Scalable Routing Protocols for Mobile Ad Hoc Networks Xiaoyan Hong, Kaixin Xu, and Mario Gerla at UCLA.
“Intra-Network Routing Scheme using Mobile Agents” by Ajay L. Thakur.
Gil EinzigerRoy Friedman Computer Science Department Technion.
Quasar A Probabilistic Publish-Subscribe System for Social Networks over P2P Kademlia network David Arinzon Supervisor: Gil Einziger April
Content-Based Routing in Mobile Ad Hoc Networks Milenko Petrovic, Vinod Muthusamy, Hans-Arno Jacobsen University of Toronto July 18, 2005 MobiQuitous 2005.
© Wiley Inc All Rights Reserved. CCNA: Cisco Certified Network Associate Study Guide CHAPTER 5: IP Routing.
Routing/Routed Protocols Part I. Routed Protocol Definition: Routed Protocol – used to transmit user data (packets) through an internetwork. Routed protocols.
MIDDLEWARE SYSTEMS RESEARCH GROUP Middleware A Policy Management Framework for Content-based Publish/Subscribe Middleware Hans-Arno Jacobsen Department.
Dynamic Source Routing in ad hoc wireless networks Alexander Stojanovic IST Lisabon 1.
The Destination Sequenced Distance Vector (DSDV) protocol
MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG Total Order in Content-based Publish/Subscribe Systems Joint work with: Vinod Muthusamy, Hans-Arno Jacobsen.
Distributed Automatic Service Composition in Large-Scale Systems Songlin Hu*, Vinod Muthusamy +, Guoli Li +, Hans-Arno Jacobsen + * Chinese Academy of.
PhD Candidate: Alex K. Y. Cheung Supervisor: Hans-Arno Jacobsen PhD Thesis Presentation University of Toronto March 28, 2011 MIDDLEWARE SYSTEMS RESEARCH.
WEAR: A Balanced, Fault-Tolerant, Energy-Aware Routing Protocol for Wireless Sensor Networks Kewei Sha, Junzhao Du, and Weisong Shi Wayne State University.
SRL: A Bidirectional Abstraction for Unidirectional Ad Hoc Networks. Venugopalan Ramasubramanian Ranveer Chandra Daniel Mosse.
MIDDLEWARE SYSTEMS RESEARCH GROUP Adaptive Content-based Routing In General Overlay Topologies Guoli Li, Vinod Muthusamy Hans-Arno Jacobsen Middleware.
Lecture 17 November 8Intra-domain routing November 13Internet routing 1 November 15Internet routing 2 November 20End-to-end protocols 1 November 22End-to-end.
Minimal Broker Overlay Design for Content-Based Publish/Subscribe Systems Naweed Tajuddin Balasubramaneyam Maniymaran Hans-Arno Jacobsen University of.
Information-Centric Networks10b-1 Week 10 / Paper 2 Hermes: a distributed event-based middleware architecture –P.R. Pietzuch, J.M. Bacon –ICDCS 2002 Workshops.
Intro DSR AODV OLSR TRBPF Comp Concl 4/12/03 Jon KolstadAndreas Lundin CS Ad-Hoc Routing in Wireless Mobile Networks DSR AODV OLSR TBRPF.
1 7-Jan-16 S Ward Abingdon and Witney College Dynamic Routing CCNA Exploration Semester 2 Chapter 3.
Information-Centric Networks Section # 10.2: Publish/Subscribe Instructor: George Xylomenos Department: Informatics.
CO5023 EIGRP. Features of EIGRP EIGRP is a highly advanced distanced vector routing protocol Uses Protocol dependent modules to route different packets.
CS 6401 Overlay Networks Outline Overlay networks overview Routing overlays Resilient Overlay Networks Content Distribution Networks.
Peter R Pietzuch and Jean Bacon Peer-to-Peer Overlay Networks in an Event-Based Middleware DEBS’03, San Diego, CA, USA,
Distributed Automatic Service Composition in Large-Scale Systems Songlin Hu*, Vinod Muthusamy +, Guoli Li +, Hans-Arno Jacobsen + * Chinese Academy of.
Spring 2000CS 4611 Routing Outline Algorithms Scalability.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—7-1 Optimizing BGP Scalability Improving BGP Convergence.
Ad Hoc On-Demand Distance Vector Routing (AODV) ietf
CCNA2 v3 Module 7 v3 CCNA 2 Module 7 JEOPARDY K. Martin.
Improving Fault Tolerance in AODV Matthew J. Miller Jungmin So.
CHAPTER 6: STATIC ROUTING Static Routing 2 nd semester
AMSA TO 4 Advanced Technology for Sensor Clouds 09 May 2012 Anabas Inc. Indiana University.
1 Towards Scalable Pub/Sub Systems Shuping Ji 1, Chunyang Ye 2, Jun Wei 1 and Arno Jacobsen 3 1 Chinese Academy of Sciences 2 Hainan University 3 Middleware.
Instructor Materials Chapter 5: Dynamic Routing
Routing/Routed Protocols
Chapter 5: Dynamic Routing
Chapter 3: Dynamic Routing
by Saltanat Mashirova & Afshin Mahini
Static Routing 1st semester
COS 561: Advanced Computer Networks
Scaling Service Provider Networks
Distributed Publish/Subscribe Network
Foundations for Highly-Available Content-based Publish/Subscribe Overlays Young Yoon, Vinod Muthusamy and Hans-Arno Jacobsen.
Indirect Communication Paradigms (or Messaging Methods)
Routing.
Indirect Communication Paradigms (or Messaging Methods)
Team 6: Ali Nickparsa, Yoshimichi Nakatsuka, Yuya Shiraki
Static Routing 2nd semester
Presentation transcript:

1 Cycle Detection in Publish/Subscribe Overlay Networks Reza Sherafat Alex Cheung Prof. Cristiana Amza ECE1747 – Course Project University of Toronto

2 Overview of Publish/Subscribe Systems Network consists of - Clients: Publisher, subscriber - Routing brokers Overlay may be cyclic, non-cyclic Publisher Subscriber 1. Advertise 2. Subscribe 3. Publish

3 Cyclic Overlay Networks Supporting cycles is good: Load balancing Hard to avoid Failure recovery Routing through cycles is challenging: Duplicates waste bandwidth Infinite loops Advertisement Tree 1 Advertisement Tree Duplicate Messages S S S S S

4 Outline Routing in cyclic overlay Cycle detection algorithm Implementation Future work

5 Routing Through Cycles Preparation: Detect cycles Let brokers know that they are on cycles Keep cycle information updated Routing: Route advertisements in a cycle-free manner Route subscriptions in a cycle-free manner Keep track of brokers downstream Route publications in a cycle-free manner Use cycle information and source routing to exploit cycles

6 Cycles Large cycles are bad candidates for re-routing Alternative paths may be too long We focus on cycles smaller than a configurable size s. Better choices for our purposes Easier to detect Cycles detection algorithm, detects such small cycles.

7 Cycle Detection Algorithm We want to detect all cycles smaller than s+1 Based on Asynchronous Breath-First Search Starting from a Heart broker propagate special messages Append broker’s id to the message and send it to neighbors When a duplicate is received, there is a cycle Compare broker id lists to find members Inform all members of the cycle Delays in message delivery are problem some

8 Cycle Detection Algorithm Ad1: b1 Ad1:b1,b2 Ad1:b1,b2,b3 Ad1:b1,b2,b3,b4 Ad1:b1,b5 s=5 L=4 Ad1:b1,b2,b3,b4,b5 Propagate b1b5 b1,b5 b1b5 b1,b2,b3,b4,b5 Compare

9 Cycle Detection Algorithm By limiting the size of cycles we lower the overhead Broker id list will be at most s-1 Problem when the “small” cycle is far away from the Heart Because broker id list is too short Hearts must not be far away Hearts roughly partition the network into local areas …… Heart A small cycle is not discovered We have to limit the depth d that messages are propagated.

10 Cycle Detection Algorithm Roughly speaking we propagate Heart’s messages to double the cycle size (2s) in order to detect whether a broker within distance s (local) is on a cycle. Hence s brokers in each direction away have a local broker’s id s-1 is sufficient for broker id lists Zones: Full discovery zone Partial discovery zone Full Discovery zone (local) Partial discovery zone Distance from Heart

11 Cycle Detection Algorithm Scalability Heart messages are propagated limited # of hops away Broker id lists have at most s-1 ids Each Heart locally detects cycles We need to place hearts side by side (Future work)

12 Implementation Based on pub/sub semantics Message class LOOP_DETECTOR Command attribute: control, path, loop Loop detection module An add-on to brokers Process LOOP_DETECTOR publications using separate queues Extensions to the pub/sub semantics Source routing Distance-aware

13 Implementation Path information is part of publication’s payload Brokers subscribe to LOOP_DETECTOR messages Received messages are put into the loopdetector’s queue Major new classes: LoopDetector LoopDetectorManager

14 Future Work Heart placement We need to place hearts side by side Implement routing algorithm With load balancing Implement fault recovery algorithm By using alternative paths formed in cycles