MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG Total Order in Content-based Publish/Subscribe Systems Joint work with: Vinod Muthusamy, Hans-Arno Jacobsen.

Slides:



Advertisements
Similar presentations
Cristian Lumezanu Neil Spring Bobby Bhattacharjee Decentralized Message Ordering for Publish/Subscribe Systems.
Advertisements

Utility Optimization for Event-Driven Distributed Infrastructures Cristian Lumezanu University of Maryland, College Park Sumeer BholaMark Astley IBM T.J.
Supporting Cooperative Caching in Disruption Tolerant Networks
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.
1 Cycle Detection in Publish/Subscribe Overlay Networks Reza Sherafat Alex Cheung Prof. Cristiana Amza ECE1747 – Course Project University of Toronto.
Multicast in Wireless Mesh Network Xuan (William) Zhang Xun Shi.
Partition-Tolerant Distributed Publish/Subscribe Systems
Cognitive Publish/Subscribe for Heterogeneous Clouds Šarūnas Girdzijauskas, Swedish Institute of Computer Science (SICS) Joint work with:
MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG Hans-Arno Jacobsen June 23, 2011 Resource Allocation Algorithms for Publish/Subscribe Systems
Computer Science 1 CSC 774 Advanced Network Security Enhancing Source-Location Privacy in Sensor Network Routing (ICDCS ’05) Brian Rogers Nov. 21, 2005.
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.
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.
Peter R Pietzuch and Sumeer Bhola IBM T J Watson Research Center Congestion Control in a Reliable Scalable.
Design and Evaluation of a Wide-Area Event Notification Service Antonio Carzaniga David S. Rosenblum Alexander L. Wolf.
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,
Fuego Event Service: Towards Modularity in Event Routing Sasu Tarkoma Rutgers-Helsinki Workshop
Background Notification services in LAN Provides Notification Selection Notification Delivery Done on a centralized server (hence not scalable) Challenge.
Distributed Publish/Subscribe Network Presented by: Yu-Ling Chang.
UNCLASSIFIED – APPROVED FOR PUBLIC RELEASEUNCLASSIFIED Architectures for Mobile Wireless Publish/Subscribe Networks David S. Rosenblum Chief Technology.
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.
MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG MADES - A Multi-Layered, Adaptive, Distributed Event Store Tilmann Rabl Mohammad Sadoghi Kaiwen Zhang Hans-Arno.
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.
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.
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.
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.
Congestion Control in CSMA-Based Networks with Inconsistent Channel State V. Gambiroza and E. Knightly Rice Networks Group
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 Predictive Publish/Subscribe Matching Joint work with Vinod Muthusamy & Haifeng Liu University of Toronto P-ToPSS.
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.
Data-centric Networking Through Adaptive Content-based Routing Hans-Arno Jacobsen Bell University Laboratory Chair Middleware Systems Research Group University.
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.
PhD Candidate: Alex K. Y. Cheung Supervisor: Hans-Arno Jacobsen PhD Thesis Presentation University of Toronto March 28, 2011 MIDDLEWARE SYSTEMS RESEARCH.
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.
András Belokosztolszki, David M Eyers, Peter R Pietzuch, Jean Bacon and Ken Moody Role-Based Access Control for Publish/Subscribe.
Data-centric Networking Through Adaptive Content-based Routing Hans-Arno Jacobsen Bell University Laboratory Chair Middleware Systems Research Group University.
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.
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.
Securing Broker-Less Publish/Subscribe Systems Using Identity-Based Encryption.
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.
Navneet Kumar Pandey1 Stéphane Weiss1 Roman Vitenberg1
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
Indirect Communication Paradigms (or Messaging Methods)
Indirect Communication Paradigms (or Messaging Methods)
Presentation transcript:

MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG Total Order in Content-based Publish/Subscribe Systems Joint work with: Vinod Muthusamy, Hans-Arno Jacobsen University of Toronto ICDCS 2012, June 19 th 2012 Kaiwen Zhang

MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG Kaiwen Zhang, Vinod Muthusamy, Hans-Arno Jacobsen 2 Outline Background: publish/subscribe Total order semantics Related work: sequencers Natural pairwise total order Our two-phase solution Performance evaluation Comparison with Group communication systems

MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG Kaiwen Zhang, Vinod Muthusamy, Hans-Arno Jacobsen 3 Advertisement-Based Pub/Sub 3 broker match & forward Advertisement path Subscription path Publication path publisher name = `IBM’ price = $40 subscriber name = `IBM’ price > $20 subscriber name = `IBM’ price > $30 name = ‘IBM’

MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG Kaiwen Zhang, Vinod Muthusamy, Hans-Arno Jacobsen 4 Pairwise Total Order (PTO) for Pub/Sub

MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG Kaiwen Zhang, Vinod Muthusamy, Hans-Arno Jacobsen 5 Application Scenarios Little work on total order in pub/sub so far  Subscriber decoupling  Minimize overhead External communication between peers  Comparing event streams Consistency  Online games (non-commutative operations)  Monitoring (stream ordering) Fairness  Stock quote (detecting event patterns)

MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG Kaiwen Zhang, Vinod Muthusamy, Hans-Arno Jacobsen 6 Drawbacks of Sequencers Sequencer networks [Lumezanu 2006] Topic-based Global knowledge Sequencing overhead applied to all pubs and subs

MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG Kaiwen Zhang, Vinod Muthusamy, Hans-Arno Jacobsen 7 Per-Publisher Ordering using FIFO Links Per-Publisher TO  Maintaining order per publisher (i.e. FIFO order) Per-Publisher TO is maintained using FIFO links between overlay neighbours  Requires unique paths to each sub!

MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG Kaiwen Zhang, Vinod Muthusamy, Hans-Arno Jacobsen 8 Natural Pairwise TO (N-PTO) Using FIFO links, a common broker for all publisher/subscriber pairs provides N-PTO.  Consider that broker as a “super-publisher” Per-publisher TO is then enforced from that broker on Consider P1 and P2 as internal to the publisher B0

MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG Kaiwen Zhang, Vinod Muthusamy, Hans-Arno Jacobsen 9 Our Solution Uses FIFO links  N-PTO provided by a common broker Two phases:  Conflict detection Identify pairs of disjoint publisher/subscriber paths  Resolution Defer delivery only to affected subscribers Lightweight solution for content-based P/S  Uses local ads/subs broker knowledge (next-hops)

MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG Kaiwen Zhang, Vinod Muthusamy, Hans-Arno Jacobsen 10 No Conflict P2 doesn't match S4 No conflict S1-S3 share same next-hop as P2 No conflicts detected at B1 S1-S3 have different next hop from P2: B3 is a common broker

MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG Kaiwen Zhang, Vinod Muthusamy, Hans-Arno Jacobsen 11 Conflict Resolution S4 forwarded immediately S1 has a different next-hop from S2-3 and P2: Their paths are disjoint! Defer delivery to S1, wait for ack Conflict for S3, defer until ack Detects that P2 and S2 have different next-hops: Send ack back

MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG Kaiwen Zhang, Vinod Muthusamy, Hans-Arno Jacobsen 12 Properties of the Solution System model:  Acyclic topology  FIFO links  Advertisement-based Solution is safe under crash failures  Theorem: “Pairwise total order is impossible in publish/subscribe systems under the presence of failures.” Optimizations:  Progressive delivery  Faster detection

MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG Kaiwen Zhang, Vinod Muthusamy, Hans-Arno Jacobsen 13 Evaluation Implementation using PADRES in Java  Modular; requires only few changes to the core Workload  Overlapping subscriptions; stress test  High conflict rates: % Topology  24 to 96 brokers  800 subscribers, 240 publishers

MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG Kaiwen Zhang, Vinod Muthusamy, Hans-Arno Jacobsen 14 Low Detection Overhead Overall, still small impact to non-conflict subs Overhead increases with less conflict

MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG Kaiwen Zhang, Vinod Muthusamy, Hans-Arno Jacobsen 15 Scalability over Baseline Central sequencer Our solution No total order Throughput saturated for central sequencer

MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG Kaiwen Zhang, Vinod Muthusamy, Hans-Arno Jacobsen 16 Performance over Spread (Group Communication Systems) Our solution Spread w/o ord. Outperformed after a certain size Spread w/ TO (token algorithm) Overhead due to TO

MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG Kaiwen Zhang, Vinod Muthusamy, Hans-Arno Jacobsen 17 Conclusions & Future Work Lightweight solution for content-based p/s  Local broker knowledge  Contained resolution overhead Extension for cyclic topologies  Adjust routing paths Pub/sub clustering and client mobility  Maximize natural ordering

MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG Kaiwen Zhang, Vinod Muthusamy, Hans-Arno Jacobsen 18 Thank you!