Congestion Avoidance with Incremental Filter Aggregation in Content-Based Routing Networks Mingwen Chen 1, Songlin Hu 1, Vinod Muthusamy 2, Hans-Arno Jacobsen.

Slides:



Advertisements
Similar presentations
Supporting Cooperative Caching in Disruption Tolerant Networks
Advertisements

Opportunistic Multipath Forwarding in Publish/Subscribe Systems Reza Sherafat Kazemzadeh AND Hans-Arno Jacobsen Middleware Systems Research Group University.
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.
Partition-Tolerant Distributed Publish/Subscribe Systems
MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG Hans-Arno Jacobsen June 23, 2011 Resource Allocation Algorithms for Publish/Subscribe Systems
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.
Mobile and Wireless Computing Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)
MIDDLEWARE SYSTEMS RESEARCH GROUP A Taxonomy for Denial of Service Attacks in Content-based Publish/Subscribe Systems Alex Wun, Alex Cheung, Hans-Arno.
Subscription Subsumption Evaluation for Content-Based Publish/Subscribe Systems Hojjat Jafarpour, Bijit Hore, Sharad Mehrotra, and Nalini Venkatasubramanian.
Beneficial Caching in Mobile Ad Hoc Networks Bin Tang, Samir Das, Himanshu Gupta Computer Science Department Stony Brook University.
Matching Patterns Servers assemble sequences of notifications from smaller subsequences or from single notifications.This technique requires an advertisement.
Efficient, Proximity-Aware Load Balancing for DHT-Based P2P Systems Yingwu Zhu, Yiming Hu Appeared on IEEE Trans. on Parallel and Distributed Systems,
Design and Evaluation of a Wide-Area Event Notification Service Antonio Carzaniga David S. Rosenblum Alexander L. Wolf.
CS335 Networking & Network Administration Tuesday, May 18, 2010.
Secure routing for structured peer-to-peer overlay networks (by Castro et al.) Shariq Rizvi CS 294-4: Peer-to-Peer Systems.
Achieving fast (approximate) event matching in large-scale content- based publish/subscribe networks Yaxiong Zhao and Jie Wu The speaker will be graduating.
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.
University of the Western Cape Chapter 11: Routing Aleksandar Radovanovic.
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.
Navneet Kumar Pandey 1 Stéphane Weiss 1 Roman Vitenberg 1 Kaiwen Zhang 2 Hans-Arno Jacobsen 2 2 University of Toronto 1 University of Oslo Minimizing the.
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.
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Chapter 5 Network Layer.
PRESENTED BY A. B. C. 1 User Oriented Regional Registration- Based Mobile Multicast Service Management in Mobile IP Networks Ing-Ray Chen and Ding-Chau.
MIDDLEWARE SYSTEMS RESEARCH GROUP Middleware A Policy Management Framework for Content-based Publish/Subscribe Middleware Hans-Arno Jacobsen Department.
DISTRIBUTED EVENT AGGREGATION FOR CONTENT-BASED PUBLISH/SUBSCRIBE SYSTEMS Navneet Kumar Pandey 1 Stéphane Weiss 1 Roman Vitenberg 1 Kaiwen Zhang 2 Hans-Arno.
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.
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.
Classification and Analysis of Distributed Event Filtering Algorithms Sven Bittner Dr. Annika Hinze University of Waikato New Zealand Presentation at CoopIS.
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.
MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG SDN-Like: A Network-as-a-Service Publish/Subscribe Model Collaborators: Reza Sherafat Young Yoon Hans-Arno Jacobsen.
MIDDLEWARE SYSTEMS RESEARCH GROUP Modelling Performance Optimizations for Content-based Publish/Subscribe Alex Wun and Hans-Arno Jacobsen Department of.
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.
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.
1 Computer Communication & Networks Lecture 21 Network Layer: Delivery, Forwarding, Routing Waleed.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 4: Planning and Configuring Routing and Switching.
Author: Haoyu Song, Murali Kodialam, Fang Hao and T.V. Lakshman Publisher/Conf. : IEEE International Conference on Network Protocols (ICNP), 2009 Speaker:
Peter R Pietzuch and Jean Bacon Peer-to-Peer Overlay Networks in an Event-Based Middleware DEBS’03, San Diego, CA, USA,
November 4, 2003Applied Research Laboratory, Washington University in St. Louis APOC 2003 Wuhan, China Cost Efficient Routing in Ad Hoc Mobile Wireless.
Efficient Resource Allocation for Wireless Multicast De-Nian Yang, Member, IEEE Ming-Syan Chen, Fellow, IEEE IEEE Transactions on Mobile Computing, April.
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,
Spring 2000CS 4611 Routing Outline Algorithms Scalability.
Authors: Ing-Ray Chen and Ding-Chau Wang Presented by Chaitanya,Geetanjali and Bavani Modeling and Analysis of Regional Registration Based Mobile Service.
1 On the Aggregatability of Router Forwarding Tables Author: Xin Zhao, Yaoqing Liu, Lan Wang and Beichuan Zhang Publisher: IEEE INFOCOM 2010 Presenter:
Spring Routing: Part I Section 4.2 Outline Algorithms Scalability.
Improving Fault Tolerance in AODV Matthew J. Miller Jungmin So.
17 th -21 st July nd APAN Meeting in Singapore ’06 Forwarding State Reduction for One-to-Many Group Communications Sahar A. Al-Talib (PhD. Candidate)
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.
Cooperative Caching in Wireless P2P Networks: Design, Implementation And Evaluation.
Miklós Zoltán Technical University of Vienna Distributed Systems Group
Data Center Network Architectures
Optimizing Parallel Algorithms for All Pairs Similarity Search
Advanced Computer Networks
Navneet Kumar Pandey1 Stéphane Weiss1 Roman Vitenberg1
Project Demo Mehdi Sadri Jamshid Esmaelnezhad Spring 2012
Totally Disjoint Multipath Routing in Multihop Wireless Networks Sonia Waharte and Raoef Boutaba Presented by: Anthony Calce.
Foundations for Highly-Available Content-based Publish/Subscribe Overlays Young Yoon, Vinod Muthusamy and Hans-Arno Jacobsen.
Small-Scale Peer-to-Peer Publish/Subscribe
Lu Tang , Qun Huang, Patrick P. C. Lee
Presentation transcript:

Congestion Avoidance with Incremental Filter Aggregation in Content-Based Routing Networks Mingwen Chen 1, Songlin Hu 1, Vinod Muthusamy 2, Hans-Arno Jacobsen 3 1 Chinese Academy of Sciences 2 IBM T.J. Watson Research Center, 3 University of Toronto July 2, 2015, ICDCS MIDDLEWARE SYSTEMS RESEARCH GROUP

Content-based routing S1S1 Subscriber EDCBA P1P1 Publisher S2S2 S3S3 FG

Subscription covering S1S1 Subscriber EDCBA P1P1 Publisher S2S2 S3S3 S1S1 S2S2 S3S3 FG Fewer subscription messages Smaller routing tables Faster matching

Problem with unsubscription Bursty traffic Network congestion High broker load Compare with aggregation in IP networks  Relatively static hierarchical addresses S1S1 Subscriber EDCBA P1P1 Publisher S2S2 S3S3 S1S1 S2S2 S3S3 FG

How bad is the problem? 5

Tradeoff: covering vs. filtering Suppose we retain covering subscription even after unsubscribe  Avoids bursty subscription traffic  May lead to false positives Amount depends on similarity between subscriptions Can we selectively retain portions of subscription tree? S1S1 Subscriber EDCBA P1P1 Publisher S2S2 S3S3 S1S1 S2S2 S3S3

Agenda Incremental filter aggregation algorithm  Record statistics of publications  Compute effective similarity among subscriptions  Selectively prune portions of subscription tree Quantitative evaluation  Compare with traditional covering algorithm  Incremental filter aggregation reduces congestion Also reduces routing table size and processing time

8 Incremental filter aggregation algorithm

Example: benefits of selectively pruning subscription tree It is possible to eliminate subscriptions triggered by unsubscription of S 1 and avoid false positives To tradeoff subscription bursts and false positives, we need to consider similarity among subscriptions S1S1 Subscriber EDCBA P1P1 Publisher S2S2 S3S3 S1S1 S2S2 S3S3

Subscription similarity ICDCS 2015 Congestion Avoidance 10 S: unsubscription R: other (intersecting) subs S: covered (triggered) subs |S ∩ ( S U R )| |S| Ø =

Selective pruning S P P P P P P Ø(B 1 ) Ø(B 2 ) Ø(B 4 ) Remove subscription if  Similarity (Ø) is low  Number of triggered subs is low How to compute similarity?  Computing mergers of covered subs is expensive  Need to compute at every hop?

Subscription similarity ICDCS 2015 Congestion Avoidance 12 P(S): publications that match unsubscription P(R): publications that match other (intersecting) subs P(S): publications that match covered (triggered) subs |P(S) ∩ (P( S )UP( R ))| |P(S)| Ø = = |P(S)| |P*(S)|

Recording publication statistics Publications annotated with  Distance from SHB to nearest broker with another matching sub  Count of matching subscriptions Distance and count init to 0 S1S1 Subscriber EDCBA P1P1 Publisher S2S2 S3S3 S1S1 S2S2 S3S3 When publication matches multiple subscriptions  Increment count  Reset distance Otherwise  Increment distance D = 0 C = 0 D = 0 C = 1 D = 1 C = 1 D = 0 C = 2 D = 1 C = 3 FG

Example: publication statistics S1S1 Subscriber EDCBA P1P1 Publisher S2S2 S3S3 S1S1 S2S2 S3S3 FG Statistics at Broker A NotificationMatchesSubPublisherDistanceCount N1S1, S2, S3S1P113 N2S1 P141 N3S1, S3S1P132 N4S1, S2S1P112 N5S1, S2S1P112 N6S1, S2S1P112

Interpretation of statistics S1S1 EDCBA P1P1 S2S2 S3S3 S1S1 S2S2 S3S3 FG Statistics at Broker A NotifMatchSubPubrDistCnt N1S1, S2, S3S1P113 N2S1 P141 N3S1, S3S1P132 N4S1, S2S1P112 N5S1, S2S1P112 N6S1, S2S1P112 Portions of sub’s tree … ... >= D hops away can be kept without false positives  … < D hops will incur false positives if kept For given D, broker can calculate false positive rate  D = 1  2/6 false positives  D = 3  1/6 false postiives

When to perform unsubscription Unsubscription of covered subscription S 2 does not trigger a subscription burst  Always perform unsubscription immediately Unsubscription of covering subscription S 1 can trigger a subscription burst  Compute similarity between subscriptions to determine if unsub of S 1 should be forwarded another hop S1S1 S2S2 S3S3

Selective subscription tree pruning S1S1 EDCBA P1P1 S2S2 S3S3 FG Statistics at Broker A NotifMatchSubPubrDistCnt N1S1, S2, S3S1P113 N2S1 P141 N3S1, S3S1P132 N4S1, S2S1P112 N5S1, S2S1P112 N6S1, S2S1P112 Include following along with unsub message for each (publisher, distance) pair  Publications and false positives Count total pubs that match sub  Add the publication counts in the list Count false positives if sub is not removed  If the list entry’s host broker is further than D hops, all pubs are false positives Included with unsub of S 1 PubrDistPubsFalseExamined by Broker Similarity: (pubs - false) / pubs P1066A0/6 P1162B4/6 P1262C4/6 P1361D5/6 P1461E5/6 If similarity threshold = 4/6  Prune up to B If similarity threshold = 5/6  Prune up to D

Result of selective pruning S P P P P P P Certain subtrees of the original subscription tree are preserved Can compute similarity in a distributed manner  With little overhead (up to 24 MB in experiments) False positive rate decreases (similarity increases) downstream  See paper for proof  Justifies preserving contiguous subtrees

19 Evaluations

Experimental setup Implemented in PADRES pub/sub system 49 brokers subs distributed across edges 20 unsubs Algorithms  Active covering  Lazy covering  Subscription packing  Incremental unsubscription Metrics  Broker input queue length  Broker routing table size  Publication processing time

Why bother with covering? ICDCS 2015 Congestion Avoidance 21 Active coveringLazy coveringNo covering Sub matching Sub covering12270 Unsub1.400 Pub Average message processing time in milliseconds Covering is worthwhile Covering dominates the subscription processing pipeline

Publications experience severe delays (large and long-lived) Queue lengths follow similar trends (see paper) 22 avg delay: 1000 s avg delay: 0.4 s

Increased covering causes the excessive queue lengths and publication delays ICDCS 2015 Congestion Avoidance covered subs1400 covered subs2100 covered subs

Unexpected incidental benefit: incremental algorithm also reduces routing table size Scenario: mobile subscribers Workload from Siena paper [1]  200k subs  Some subs cover ~2000 subs 24 [1] A. Carzaniga and A. L. Wolf, “Forwarding in a content-based network,” in Proceedings of ACM SIGCOMM, 2003.

Conclusions Common filter aggregation techniques expose a vulnerability in content-based routing networks  Removal of a covering subscription can trigger burst of subscriptions and cause congestion Proposed solution selectively maintains portions of a subscription tree  Avoid triggered congestion and control false positives  Compute “effective” similarity among subscriptions for a given workload Evaluations show congestion is virtually eliminated with incremental aggregation algorithm  Also, proposed algorithm reduces routing table size and publication processing time Future work  Incrementally prune subscription tree over time  Consider more dynamic environments with mobile publishers and subscribers, and changing workloads  More precisely control tradeoff between subscription traffic congestion and false positive publication traffic

26 Congestion Avoidance with Incremental Filter Aggregation in Content-Based Routing Networks padres.msrg.toronto.edu Q&A