Minimal Broker Overlay Design for Content-Based Publish/Subscribe Systems Naweed Tajuddin Balasubramaneyam Maniymaran Hans-Arno Jacobsen University of.

Slides:



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

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.
Partition-Tolerant Distributed Publish/Subscribe Systems
1 Advancing Supercomputer Performance Through Interconnection Topology Synthesis Yi Zhu, Michael Taylor, Scott B. Baden and Chung-Kuan Cheng Department.
MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG Hans-Arno Jacobsen June 23, 2011 Resource Allocation Algorithms for Publish/Subscribe Systems
1 EL736 Communications Networks II: Design and Algorithms Class8: Networks with Shortest-Path Routing Yong Liu 10/31/2007.
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.
1 Network Coding: Theory and Practice Apirath Limmanee Jacobs University.
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.
©NEC Laboratories America 1 Hui Zhang Samrat Ganguly Sudeept Bhatnagar Rauf Izmailov NEC Labs America Abhishek Sharma University of Southern California.
Traffic Engineering With Traditional IP Routing Protocols
Matching Patterns Servers assemble sequences of notifications from smaller subsequences or from single notifications.This technique requires an advertisement.
Matching Data Dissemination Algorithms to Application Requirements John Heidermann, Fabio Silva, Deborah Estrin Presented by Cuong Le (CPSC538A)
Darmstadt University of Technology CoopIS 2001, TrentoGero Mühl Generic Constraints for Content-Based Publish/Subscribe Gero Mühl PhD Program “Enabling.
Hermes: A Distributed Event- Based Middleware Architecture Peter Pietzuch and Jean Bacon 1st DEBS Workshop, Vienna,
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.
Home Automation Console Publish/Subscribe Server for interoperability and reduction of complexity at end devices.
Publisher Mobility in Distributed Publish/Subscribe Systems Vinod Muthusamy, Milenko Petrovic, Dapeng Gao, Hans-Arno Jacobsen University of Toronto June.
Network Aware Resource Allocation in Distributed Clouds.
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.
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.
A Distributed Framework for Correlated Data Gathering in Sensor Networks Kevin Yuen, Ben Liang, Baochun Li IEEE Transactions on Vehicular Technology 2008.
Planning the Transformation of Network Topologies Young Yoon 1, Nathan Robinson 2, Vinod Muthusamy 3, Sheila McIlraith 2, Hans-Arno Jacobsen 2 1 Samsung.
Supporting Disconnected Operations in Publish/Subscribe Systems Vinod Muthusamy Joint work with Milenko Petrovic, Ioana Burcea, H.-Arno Jacobsen, Eyal.
Rate-based Data Propagation in Sensor Networks Gurdip Singh and Sandeep Pujar Computing and Information Sciences Sanjoy Das Electrical and Computer Engineering.
An Efficient Approach for Content Delivery in Overlay Networks Mohammad Malli Chadi Barakat, Walid Dabbous Planete Project To appear in proceedings of.
Content-Based Routing in Mobile Ad Hoc Networks Milenko Petrovic, Vinod Muthusamy, Hans-Arno Jacobsen University of Toronto July 18, 2005 MobiQuitous 2005.
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.
Historic Data Access in Publish/Subscribe Middleware System Research Group University of Toronto.
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.
1 Shape Segmentation and Applications in Sensor Networks Xianjin Xhu, Rik Sarkar, Jie Gao Department of CS, Stony Brook University INFOCOM 2007.
Parallel Event Processing for Content-Based Publish/Subscribe Systems Amer Farroukh Department of Electrical and Computer Engineering University of Toronto.
MIDDLEWARE SYSTEMS RESEARCH GROUP Adaptive Content-based Routing In General Overlay Topologies Guoli Li, Vinod Muthusamy Hans-Arno Jacobsen Middleware.
Intradomain Traffic Engineering By Behzad Akbari These slides are based in part upon slides of J. Rexford (Princeton university)
PhD Candidate: Alex K. Y. Cheung Supervisor: Hans-Arno Jacobsen PhD Thesis Presentation University of Toronto March 28, 2011 MIDDLEWARE SYSTEMS RESEARCH.
ICDCS Beijing China Routing of XML and XPath Queries in Data Dissemination Networks Guoli Li, Shuang Hou Hans-Arno Jacobsen Middleware Systems Research.
Analysis and algorithms of the construction of the minimum cost content-based publish/subscribe overlay Yaxiong Zhao and Jie Wu
Information-Centric Networks10b-1 Week 10 / Paper 2 Hermes: a distributed event-based middleware architecture –P.R. Pietzuch, J.M. Bacon –ICDCS 2002 Workshops.
Information-Centric Networks Section # 10.2: Publish/Subscribe Instructor: George Xylomenos Department: Informatics.
1 Slides by Yong Liu 1, Deep Medhi 2, and Michał Pióro 3 1 Polytechnic University, New York, USA 2 University of Missouri-Kansas City, USA 3 Warsaw University.
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,
Stefanos Antaris Distributed Publish/Subscribe Notification System for Online Social Networks Stefanos Antaris *, Sarunas Girdzijauskas † George Pallis.
On the Placement of Web Server Replicas Yu Cai. Paper On the Placement of Web Server Replicas Lili Qiu, Venkata N. Padmanabhan, Geoffrey M. Voelker Infocom.
Stream SQL, Rules, Subscriptions: It’s All The Same Hans-Arno Jacobsen Bell University Laboratory Chair Middleware Systems Research Group University of.
1 Traffic Engineering By Kavitha Ganapa. 2 Introduction Traffic engineering is concerned with the issue of performance evaluation and optimization of.
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.
A Framework for Object-Based Event Composition in Distributed Systems
Navneet Kumar Pandey1 Stéphane Weiss1 Roman Vitenberg1
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
Storing and Replication in Topic-Based Pub/Sub Networks
Presentation transcript:

Minimal Broker Overlay Design for Content-Based Publish/Subscribe Systems Naweed Tajuddin Balasubramaneyam Maniymaran Hans-Arno Jacobsen University of Toronto November 18, 2013, CASCON 2013 MSRG.ORG

MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG 2 Nov. 18, Introduction to Publish/Subscribe Messaging platform that decouples information sources and sinks GooPS – Google P/S –AdSense, Docs, YouTube Yahoo Message Broker (within PNUTs) –Data replication for Web Apps –Eventual consistency

MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG 3 Nov. 18, Advertise 2. Subscribe 3. Publish Content-Based Publish/Subscribe S P

MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG 4 Nov. 18, 2013 Challenges for Content-Based Publish/Subscribe B5B6 B2 B3 B7 S1 B8B9 P1 P2 B1 B4 Let me know when HP book < $15 Sale! HP: $14.99 Sale! MW: $15.99 Sale! OED: $24.99 Amazon.ca Chapters.ca

MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG 5 Nov. 18, 2013 Problem Statement Given a set of publishers and subscribers, how can we design a pub/sub overlay that maximizes performance (delivery latency) and minimizes cost (number of brokers). INPUT Brokers available for deployment (processing capacities) Publishers (advertisements) Subscribers (subscriptions) Publication rates per advertisement OUTPUT Set of deployed brokers Client-broker allocation Overlay topology CONSTRAINT Broker processing capacities not exceeded

MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG 6 Nov. 18, 2013 Content Space price volume sub: [price in (2,10)][volume in (2,7)] pub: [price = 3][volume = 5]

MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG 7 Nov. 18, 2013 Similarity Model: Interest Publisher-subscriber similarity Likelihood that a publication will match a subscription Geometric intersection between advertisement and subscription over advertisement size I = α 12 / |a 1 | α 12 a1a1 s2s att1 att2

MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG 8 Nov. 18, 2013 Similarity Model: Commonality Subscriber-subscriber similarity Likelihood that publications matching one subscription will match another subscription Geometric intersection over subscription size C = α 12 2 / |s 1 ||s 2 | α 12 s1s1 s2s att1 att2

MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG 9 Estimating Load Impact Publishers –Publication rate Subscriber –Σ pub (Interest * pub rate) Brokers –Sum of load impact of local publishers and subscribers –Load compensation factor: reserve broker capacity to account for pure forwarding traffic S1 P1 P2 10 msgs/s 8 msgs/s

MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG 10 Nov. 18, 2013 Solution Overview Two-phase Algorithm 1.Allocate clients across minimal set of brokers 2.Cluster brokers with high similarity to form good overlay topology Both problems are NP-complete, see paper for proof

MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG 11 Nov. 18, 2013 B2 B1 B3 B4 B5 Client 1Client 2Client 3Client 4Client 5 Brokers Ranked by Capacity Clients Ranked by Client Ranking Function B1 Client 1Client 2 Most similar broker Client 3 B2 Client 3Client 4 B1 Client 4 Client Allocation Client-Broker Allocation Algorithm

MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG 12 Nov. 18, 2013 Client Ranking Function Determines the order in which clients are deployed –Impacts how broker capacities are consumed #1 Greatest load impact (GLI) –Clients ranked by load imposed on broker #2 Greatest interest (GI) –Groups consisting of single publisher-subscriber-pair ranked by interest #3 Greatest interest per group (GIg) –Groups consisting of single publisher and all subscribers with non-zero interest, ranked by greatest interest #4 Baseline –Clients ranked and allocated in random order

MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG 13 Nov. 18, 2013 Overlay Topology Construction 1.Assign weight to every link equal to commonality of broker pair 2.Compute max spanning tree to get overlay topology a1a2 a3a4 s4s5 s6s7 s3 s1s2 AB CD

MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG 14 Nov. 18, 2013 Evaluation Overview / Experiment Steps Algorithms implemented in Java and simulated using JiST discrete event simulator 1.Execute algorithms to compute overlay design 2.Configure pub/sub system simulator overlay according to overlay design 3.Run experiment and record statistics

MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG 15 Nov. 18, 2013 Overlay Performance Message count: number of messages generated per publication (or number of broker hops publication must travel to reach all interested subscribers)

MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG 16 Nov. 18, 2013 Conclusions Optimization framework for pub/sub overlay construction Similarity framework: Interest and commonality –Tools for overlay construction –Leverage existing semantics of content-based pub/sub Load modeling framework –Broker congestion significantly reduced Client allocation and overlay topology construction algorithms –Low latency overlay topologies at reduced cost Future work –Support additional constraints and incorporate network congestion –Account for physical network and broker capacity model

Thank You! Questions?

** Extra Slides **

MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG 19 Nov. 18, Similarity Model: Commonality Subscriber-subscriber similarity Likelihood that publications matching one subscription will match another subscription Geometric intersection over subscription size C = α 12 2 / |s 1 ||s 2 | 7 α 34 s3s3 s4s4 α 12 s1s1 s2s att1 att2 att1 att2 class = “sale”

MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG 20 Nov. 18, 2013 Evaluation Overview Algorithms implemented in Java Pub/Sub system built using JiST discrete event simulator Workload details – publishers – subscribers – pubs –Pub rates: 1-10 msgs/s –Broker capacity: 1000 msg/s # of Advs # of Subs # of Pubs

MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG 21 Nov. 18, 2013 Overlay Cost

MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG 22 Nov. 18, Maximum Peak Load

MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG 23 Nov. 18, 2013 Load and Congestion Effects

MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG 24 Nov. 18, 2013 LCF Cost–Performance Tradeoff

MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG 25 Nov. 18, Overlay Design – Related Work B5B6 B2 B3 B7 S1 B8B9 P1 P2 B1 B4 B5B6 B2 B3 B7 S1 B8 P1 P2 B1 B4 B9 Rewire overlay [Baldoni et al., 2007] [Yoon et al., 2013] Move publishers [Cheung et al., 2010]

MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG 26 Nov. 18, 2013 Estimating Load Impact of Clients S1 P1 P2 Publisher –Publication Rate Subscriber –Σ(Interest * pub rate) s S1 a P1 a P2 i1i1 i2i2 i S1-P1 = 0.15i S1-P2 = msgs/s 8 msgs/s Load impact (S1) = 8(0.15) + 4(0.2) = 2 msgs/s

MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG 27 Nov. 18, 2013 Estimating Broker Load S1 P1 P2 10 msgs/s 8 msgs/s Sum of load impact of local publishers and subscriber Pure forwarding traffic Load compensation factor: reserve broker capacity by factor for pure forwarding traffic