MIDDLEWARE SYSTEMS RESEARCH GROUP Adaptive Content-based Routing In General Overlay Topologies Guoli Li, Vinod Muthusamy Hans-Arno Jacobsen Middleware.

Slides:



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

Data and Computer Communications
Efficient Event-based Resource Discovery Wei Yan*, Songlin Hu*, Vinod Muthusamy +, Hans-Arno Jacobsen +, Li Zha* * Chinese Academy of Sciences, Beijing.
Alex Cheung and Hans-Arno Jacobsen August, 14 th 2009 MIDDLEWARE SYSTEMS RESEARCH GROUP.
1 Cycle Detection in Publish/Subscribe Overlay Networks Reza Sherafat Alex Cheung Prof. Cristiana Amza ECE1747 – Course Project University of Toronto.
Cisco S3 C5 Routing Protocols. Network Design Characteristics Reliable – provides mechanisms for error detection and correction Connectivity – incorporate.
Partition-Tolerant Distributed Publish/Subscribe Systems
CSCI 465 D ata Communications and Networks Lecture 20 Martin van Bommel CSCI 465 Data Communications & Networks 1.
Small-Scale Peer-to-Peer Publish/Subscribe
Transactional Mobility in Distributed Content-Based Publish/Subscribe Systems Songlin Hu*, Vinod Muthusamy +, Guoli Li +, Hans-Arno Jacobsen + * Chinese.
MIDDLEWARE SYSTEMS RESEARCH GROUP A Taxonomy for Denial of Service Attacks in Content-based Publish/Subscribe Systems Alex Wun, Alex Cheung, Hans-Arno.
©NEC Laboratories America 1 Hui Zhang Samrat Ganguly Sudeept Bhatnagar Rauf Izmailov NEC Labs America Abhishek Sharma University of Southern California.
Carnegie Mellon University Complex queries in distributed publish- subscribe systems Ashwin R. Bharambe, Justin Weisz and Srinivasan Seshan.
CS218 – Final Project A “Small-Scale” Application- Level Multicast Tree Protocol Jason Lee, Lih Chen & Prabash Nanayakkara Tutor: Li Lao.
Hermes: A Distributed Event- Based Middleware Architecture Peter Pietzuch and Jean Bacon 1st DEBS Workshop, Vienna,
Routing.
The Delta Routing Project Low-loss Routing for Hybrid Private Networks George Porter (UCB) Minwen Ji, Ph.D. (SRC - HP Labs)
A Scalable, Commodity Data Center Network Architecture Mohammad Al-Fares, Alexander Loukissas, Amin Vahdat Presented by Gregory Peaker and Tyler Maclean.
Jennifer Rexford Princeton University MW 11:00am-12:20pm Wide-Area Traffic Management COS 597E: Software Defined Networking.
Distributed Publish/Subscribe Network Presented by: Yu-Ling Chang.
Alex King Yeung Cheung and Hans-Arno Jacobsen University of Toronto June, 24 th 2010 ICDCS 2010 MIDDLEWARE SYSTEMS RESEARCH GROUP.
Effects of Routing Computations in Content-Based Routing Networks with Mobile Data Sources Vinod Muthusamy, Milenko Petrovic, Hans-Arno Jacobsen University.
CS An Overlay Routing Scheme For Moving Large Files Su Zhang Kai Xu.
1 Computer Communication & Networks Lecture 22 Network Layer: Delivery, Forwarding, Routing (contd.)
Dynamic Routing Protocols  Function(s) of Dynamic Routing Protocols: – Dynamically share information between routers (Discover remote networks). – Automatically.
Publisher Mobility in Distributed Publish/Subscribe Systems Vinod Muthusamy, Milenko Petrovic, Dapeng Gao, Hans-Arno Jacobsen University of Toronto June.
MIDDLEWARE SYSTEMS RESEARCH GROUP Denial of Service in Content-based Publish/Subscribe Systems M.A.Sc. Candidate: Alex Wun Thesis Supervisor: Hans-Arno.
Gil EinzigerRoy Friedman Computer Science Department Technion.
Supporting Disconnected Operations in Publish/Subscribe Systems Vinod Muthusamy Joint work with Milenko Petrovic, Ioana Burcea, H.-Arno Jacobsen, Eyal.
Content-Based Routing in Mobile Ad Hoc Networks Milenko Petrovic, Vinod Muthusamy, Hans-Arno Jacobsen University of Toronto July 18, 2005 MobiQuitous 2005.
Multicast Routing Algorithms n Multicast routing n Flooding and Spanning Tree n Forward Shortest Path algorithm n Reversed Path Forwarding (RPF) algorithms.
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Chapter 5 Network Layer.
Event Processing with the PADRES Publish/Subscribe System Hans-Arno Jacobsen Bell University Laboratory Chair Middleware Systems Research Group University.
MIDDLEWARE SYSTEMS RESEARCH GROUP Middleware A Policy Management Framework for Content-based Publish/Subscribe Middleware Hans-Arno Jacobsen Department.
Dynamic Load Balancing in Distributed Content-based Publish/Subscribe Alex K. Y. Cheung & Hans-Arno Jacobsen University of Toronto November 30 th, 2006.
MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG Total Order in Content-based Publish/Subscribe Systems Joint work with: Vinod Muthusamy, Hans-Arno Jacobsen.
CSCI 465 D ata Communications and Networks Lecture 15 Martin van Bommel CSCI 465 Data Communications & Networks 1.
Distributed Automatic Service Composition in Large-Scale Systems Songlin Hu*, Vinod Muthusamy +, Guoli Li +, Hans-Arno Jacobsen + * Chinese Academy of.
Load-Balancing Routing in Multichannel Hybrid Wireless Networks With Single Network Interface So, J.; Vaidya, N. H.; Vehicular Technology, IEEE Transactions.
Historic Data Access in Publish/Subscribe Middleware System Research Group University of Toronto.
Flexible Distributed Business Process Management Vinod Muthusamy University of Toronto Thesis Defense September 23, 2011.
PhD Candidate: Alex K. Y. Cheung Supervisor: Hans-Arno Jacobsen PhD Thesis Presentation University of Toronto March 28, 2011 MIDDLEWARE SYSTEMS RESEARCH.
Data-centric Networking Through Adaptive Content-based Routing Hans-Arno Jacobsen Bell University Laboratory Chair Middleware Systems Research Group University.
MIDDLEWARE SYSTEMS RESEARCH GROUP Modelling Performance Optimizations for Content-based Publish/Subscribe Alex Wun and Hans-Arno Jacobsen Department of.
A Utility-based Approach to Scheduling Multimedia Streams in P2P Systems Fang Chen Computer Science Dept. University of California, Riverside
Intradomain Traffic Engineering By Behzad Akbari These slides are based in part upon slides of J. Rexford (Princeton university)
1 Event Processing: An Academic Perspective Hans-Arno Jacobsen Bell University Laboratory Chair Middleware Systems Research Group University of Toronto.
Minimal Broker Overlay Design for Content-Based Publish/Subscribe Systems Naweed Tajuddin Balasubramaneyam Maniymaran Hans-Arno Jacobsen University of.
ICDCS Beijing China Routing of XML and XPath Queries in Data Dissemination Networks Guoli Li, Shuang Hou Hans-Arno Jacobsen Middleware Systems Research.
Routing Networks and Protocols Prepared by: TGK First Prepared on: Last Modified on: Quality checked by: Copyright 2009 Asia Pacific Institute of Information.
Data-centric Networking Through Adaptive Content-based Routing Hans-Arno Jacobsen Bell University Laboratory Chair Middleware Systems Research Group University.
Jennifer Rexford Fall 2014 (TTh 3:00-4:20 in CS 105) COS 561: Advanced Computer Networks TCP.
Dzmitry Kliazovich University of Luxembourg, Luxembourg
Peer-to-Peer Result Dissemination in High-Volume Data Filtering Shariq Rizvi and Paul Burstein CS 294-4: Peer-to-Peer Systems.
Peter R Pietzuch and Jean Bacon Peer-to-Peer Overlay Networks in an Event-Based Middleware DEBS’03, San Diego, CA, USA,
1 State-of-the-art in Publish/Subscribe Middleware for Supporting Mobility Sumant Tambe EECS Preliminary Examination December 11, 2007 Vanderbilt University,
Distributed Automatic Service Composition in Large-Scale Systems Songlin Hu*, Vinod Muthusamy +, Guoli Li +, Hans-Arno Jacobsen + * Chinese Academy of.
MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG Distributed Ranked Data Dissemination in Social Networks Joint work with: Mo Sadoghi Vinod Muthusamy Hans-Arno.
Community Clustering in Distributed Publish/Subscribe System Wei Li 1,2,Songlin Hu 1, Jintao Li 1, Hans-Arno Jacobsen 3 1 Institute of Computing Technology,
Congestion Avoidance with Incremental Filter Aggregation in Content-Based Routing Networks Mingwen Chen 1, Songlin Hu 1, Vinod Muthusamy 2, Hans-Arno Jacobsen.
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.
William Stallings Data and Computer Communications
Architecture and Algorithms for an IEEE 802
Advanced Computer Networks
A Framework for Object-Based Event Composition in Distributed Systems
Distributed Publish/Subscribe Network
Composite Subscriptions in Content-based Pub/Sub Systems
Foundations for Highly-Available Content-based Publish/Subscribe Overlays Young Yoon, Vinod Muthusamy and Hans-Arno Jacobsen.
Small-Scale Peer-to-Peer Publish/Subscribe
Routing and the Network Layer (ref: Interconnections by Perlman
Presentation transcript:

MIDDLEWARE SYSTEMS RESEARCH GROUP Adaptive Content-based Routing In General Overlay Topologies Guoli Li, Vinod Muthusamy Hans-Arno Jacobsen Middleware Systems Research Group University of Toronto

MIDDLEWARE SYSTEMS RESEARCH GROUP Middleware Leuven, Belgium Distributed Publish/Subscribe An acyclic overlay is sensitive to: Congestion Broker failures Benefits of a general overlay: Routing around congestion and failures Handling imbalanced workloads Publisher Subscriber Subscription Publication Advertisement Subscriber Applications Business process execution e.g., BPEL Business activity monitoring Service discovery and integration …

MIDDLEWARE SYSTEMS RESEARCH GROUP Middleware Leuven, Belgium Challenges With General Overlays Subscriptions are routed in loops Brokers receive duplicate subscriptions Subscription copies exacerbate the problem Same problem for publications Adv 1 Adv 2 S X S S

MIDDLEWARE SYSTEMS RESEARCH GROUP Middleware Leuven, Belgium Agenda Content-based routing protocol for general overlays Atomic and composite subscriptions Optimal publication routing Evaluation Dynamic publication routing Adaptive composite subscription routing

MIDDLEWARE SYSTEMS RESEARCH GROUP Middleware Leuven, Belgium TID-based Approach Each advertisement is assigned to a unique tree identifier (TID) Each subscription has a TID predicate with a variable Adv 1 Adv 2 X S

MIDDLEWARE SYSTEMS RESEARCH GROUP Middleware Leuven, Belgium Subscription Routing Adv 1 Adv 2 X S: [class=stock][symbol=*] [TID=$Z ] At Broker 1: Adv1: [class=stock][symbol=IBM] [TID=Adv1] Adv2: [class=stock][symbol=HP] [TID=Adv2] S matching Adv1: [class=stock][symbol=*][TID=Adv1] S matching Adv2: [class=stock][symbol=*] [TID=Adv2] S A2 S A1 S

MIDDLEWARE SYSTEMS RESEARCH GROUP Middleware Leuven, Belgium Publication Routing Each publication is assigned the TID of its matching advertisement e.g., p [class, stock][symbol,HP][TID, adv_msg_id] Publications are routed: Fixed TID routing: a publication is routed to subscribers along its advertisement tree. Dynamic publication routing: a publication may be routed to subscribers across advertisement trees.

MIDDLEWARE SYSTEMS RESEARCH GROUP Middleware Leuven, Belgium Fixed TID Routing Property No broker receives duplicate publication messages Adv 1 Adv 2 Sub X P P

MIDDLEWARE SYSTEMS RESEARCH GROUP Middleware Leuven, Belgium Dynamic Publication Routing Publication’s TID is changeable Routing heuristic Util = R output / R sending Property Changing a publication’s TID while in transit will not change the set of notified subscribers Adv 1 Adv 2 Sub X P

MIDDLEWARE SYSTEMS RESEARCH GROUP Middleware Leuven, Belgium Advantages Retains the publish/subscribe client interface Speeds up subscription and publication matching Avoids duplicate subscriptions and publications Routes publications dynamically across multiple alternatives Enables routing around failures, congestion and load imbalances

MIDDLEWARE SYSTEMS RESEARCH GROUP Middleware Leuven, Belgium Composite Subscription AND S1S2 A composite subscription consists of atomic subscriptions linked by logical operators (e.g., AND, OR). Composite subscription routing Topology-based routing Adaptive routing e.g., CS= {[class=stock][symbol=YHOO][price>12]} AND {[class=stock][symbol=MSFT][price<20]}

MIDDLEWARE SYSTEMS RESEARCH GROUP Middleware Leuven, Belgium Topology-based CS Routing Adv 1 Adv CS={{S1 AND S2} ANDS3} CS S2 A2 S3 A3 S1 A1 CS’ Adv 3 CS’ ={S1 AND S2} Broker 4 and 8 are the joint point brokers

MIDDLEWARE SYSTEMS RESEARCH GROUP Middleware Leuven, Belgium Adaptive CS Routing CS’s joint points are determined according to potential publication traffic, bandwidth, latency, etc Adv 1 Adv 2 CS={S1 AND S2} 2 13 Adv 1 Adv 2 CS={S1 AND S2}

MIDDLEWARE SYSTEMS RESEARCH GROUP Middleware Leuven, Belgium Cost Model Routing cost of CS RC(CS)) = + + Subscription cardinality |P(S)| : The number of matching publications per unit of time. |P(S)| = |P(CS)| = |P(S l )| + |P(S r )| if op = or subscriptiondest Matching Engine Routing Table + symbol=IBM B1 symbol=HP B2 input queue output queue B1 output queue B2 Broker

MIDDLEWARE SYSTEMS RESEARCH GROUP Middleware Leuven, Belgium Adaptive CS Routing Adv 1 Adv CS={{S1 AND S2} ANDS3} CS S2 A2 S3 A3 S1 A1 CS’ Adv 3 CS’ ={S1 AND S2} CS’

MIDDLEWARE SYSTEMS RESEARCH GROUP Middleware Leuven, Belgium Evaluation Setup Overlays of 32 brokers with different connection degrees Cluster (each node:1.86GHz, 4G) and PlanetLab Workloads: Yahoo!Finance stock quote traces Metrics End to end notification delay Network traffic

MIDDLEWARE SYSTEMS RESEARCH GROUP Middleware Leuven, Belgium Dense vs. Sparser Topologies 20% 4% Note: The benefit is not proportional to the connection degree.

MIDDLEWARE SYSTEMS RESEARCH GROUP Middleware Leuven, Belgium Higher Publication Rate stabilized

MIDDLEWARE SYSTEMS RESEARCH GROUP Middleware Leuven, Belgium Publication Burst Burst

MIDDLEWARE SYSTEMS RESEARCH GROUP Middleware Leuven, Belgium With Broker Failures 1 st failure 2 nd failure

MIDDLEWARE SYSTEMS RESEARCH GROUP Middleware Leuven, Belgium CS Routing Traffic

MIDDLEWARE SYSTEMS RESEARCH GROUP Middleware Leuven, Belgium Conclusions Enables routing around failures, congestion and load imbalances Allows publications routing across alternative paths Improves the notification delay by 20% Enables flexible CS routing Reduces 80% publication traffic Improves the notification delay by 55% Simplifies solutions for failure recovery and load balancing

MIDDLEWARE SYSTEMS RESEARCH GROUP Middleware Leuven, Belgium Questions? A D R E S P

MIDDLEWARE SYSTEMS RESEARCH GROUP Middleware Leuven, Belgium More Publishers

MIDDLEWARE SYSTEMS RESEARCH GROUP Middleware Leuven, Belgium Effect of Subscriber Distance DistanceFixed(ms)Dynamic(ms)Improvement 6 Hops % 10 Hops % 12 Hops % Max Diff57.65%27.39%

MIDDLEWARE SYSTEMS RESEARCH GROUP Middleware Leuven, Belgium On PlanetLab

MIDDLEWARE SYSTEMS RESEARCH GROUP Middleware Leuven, Belgium CS Delay

MIDDLEWARE SYSTEMS RESEARCH GROUP Middleware Leuven, Belgium Faster Matching with TIDs Subscriptions are augmented with TIDs only once at the first broker. Other brokers can route the subscription based on the TID alone. Similar argument applies to publication routing.

MIDDLEWARE SYSTEMS RESEARCH GROUP Middleware Leuven, Belgium Advertisement Routing Each advertisement forms a spanning advertisement tree Duplicated advertisements are discarded by brokers Each advertisement is assigned a unique tree identifier (TID) e.g., a [class,eq,stock]……[TID,eq,adv_msg_id] Subscription Routing Table (SRT) A set of [advertisement, last hop]

MIDDLEWARE SYSTEMS RESEARCH GROUP Middleware Leuven, Belgium Subscription Routing Each subscription has a TID predicate with a variable. e.g., s [class,eq,stock]……[TID,eq,$X] The variable is bound to the TID of a matching advertisement Publication Routing Table (PRT) A set of [subscription, {TID, last hop of subscription }]