Design and Evaluation of a Wide-Area Event Notification Service Antonio Carzaniga David S. Rosenblum Alexander L. Wolf.

Slides:



Advertisements
Similar presentations
Efficient Event-based Resource Discovery Wei Yan*, Songlin Hu*, Vinod Muthusamy +, Hans-Arno Jacobsen +, Li Zha* * Chinese Academy of Sciences, Beijing.
Advertisements

Alex Cheung and Hans-Arno Jacobsen August, 14 th 2009 MIDDLEWARE SYSTEMS RESEARCH GROUP.
Computer Networking A Top-Down Approach Chapter 4.7.
Some Open Problems in Publish/Subscribe Networking David S. Rosenblum Chief Technology Officer PreCache Inc.
Multicast in Wireless Mesh Network Xuan (William) Zhang Xun Shi.
Network Layer Routing Issues (I). Infrastructure vs. multi-hop Infrastructure networks: Infrastructure networks: ◦ One or several Access-Points (AP) connected.
SplitStream: High- Bandwidth Multicast in Cooperative Environments Monica Tudora.
Improving TCP Performance over Mobile Ad Hoc Networks by Exploiting Cross- Layer Information Awareness Xin Yu Department Of Computer Science New York University,
Self-Organizing Hierarchical Routing for Scalable Ad Hoc Networking David B. Johnson Department of Computer Science Rice University Monarch.
CSCE 715 Ankur Jain 11/16/2010. Introduction Design Goals Framework SDT Protocol Achievements of Goals Overhead of SDT Conclusion.
Web Caching Schemes1 A Survey of Web Caching Schemes for the Internet Jia Wang.
1 Internet Networking Spring 2004 Tutorial 7 Multicast Routing Protocols.
1 Internet Networking Spring 2006 Tutorial 7 DVMRP.
NCKU CSIE CIAL1 Principles and Protocols for Power Control in Wireless Ad Hoc Networks Authors: Vikas Kawadia and P. R. Kumar Publisher: IEEE JOURNAL ON.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 22 Introduction to Computer Networks.
Matching Patterns Servers assemble sequences of notifications from smaller subsequences or from single notifications.This technique requires an advertisement.
1 AINA 2006 Wien, April th 2006 DiVES: A DISTRIBUTED SUPPORT FOR NETWORKED VIRTUAL ENVIRONMENTS The IEEE 20th International Conference on Advanced.
IP Multicast Channels: EXPRESS Support for Large-scale Single-source Applications Authors: Hugh W. Holbrook and David R. Cheriton Presenter: Mridul Sharma.
Internet Networking Spring 2002
Introspective Replica Management Yan Chen, Hakim Weatherspoon, and Dennis Geels Our project developed and evaluated a replica management algorithm suitable.
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,
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.
Mobile and Wireless Computing Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)
Architectural Design Establishing the overall structure of a software system Objectives To introduce architectural design and to discuss its importance.
Distributed Publish/Subscribe Network Presented by: Yu-Ling Chang.
Multicast Communication Multicast is the delivery of a message to a group of receivers simultaneously in a single transmission from the source – The source.
Design, Implementation and Evaluation of an Event Service by Kiran Anna Temitope Alo CDA 5937 Spring 2002.
Distributed Quality-of-Service Routing of Best Constrained Shortest Paths. Abdelhamid MELLOUK, Said HOCEINI, Farid BAGUENINE, Mustapha CHEURFA Computers.
Effects of Routing Computations in Content-Based Routing Networks with Mobile Data Sources Vinod Muthusamy, Milenko Petrovic, Hans-Arno Jacobsen University.
IMS 4212: Distributed Databases 1 Dr. Lawrence West, Management Dept., University of Central Florida Distributed Databases Business needs.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Multicast routing.
Probabilistic Broadcast Presented by Keren Censor 1.
1 Pertemuan 20 Teknik Routing Matakuliah: H0174/Jaringan Komputer Tahun: 2006 Versi: 1/0.
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.
CH2 System models.
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.
BitTorrent enabled Ad Hoc Group 1  Garvit Singh( )  Nitin Sharma( )  Aashna Goyal( )  Radhika Medury( )
Classification and Analysis of Distributed Event Filtering Algorithms Sven Bittner Dr. Annika Hinze University of Waikato New Zealand Presentation at CoopIS.
1 Spring Semester 2009, Dept. of Computer Science, Technion Internet Networking recitation #7 DVMRP.
Multicasting Ju Seong-ho Previous work behind main one.
Mobile and Wireless Computing Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)
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.
Information-Centric Networks Section # 10.2: Publish/Subscribe Instructor: George Xylomenos Department: Informatics.
ECE 544 Project3 Group 9 Brien Range Sidhika Varshney Sanhitha Rao Puskuru.
Routing in the Inernet Outcomes: –What are routing protocols used for Intra-ASs Routing in the Internet? –The Working Principle of RIP and OSPF –What is.
Peter R Pietzuch and Jean Bacon Peer-to-Peer Overlay Networks in an Event-Based Middleware DEBS’03, San Diego, CA, USA,
Efficient Resource Allocation for Wireless Multicast De-Nian Yang, Member, IEEE Ming-Syan Chen, Fellow, IEEE IEEE Transactions on Mobile Computing, April.
A Bandwidth Scheduling Algorithm Based on Minimum Interference Traffic in Mesh Mode Xu-Yajing, Li-ZhiTao, Zhong-XiuFang and Xu-HuiMin International Conference.
Improving Fault Tolerance in AODV Matthew J. Miller Jungmin So.
1 Group Communications: Reverse Path Multicast Dr. Rocky K. C. Chang 19 March, 2002.
Performance Comparison of Ad Hoc Network Routing Protocols Presented by Venkata Suresh Tamminiedi Computer Science Department Georgia State University.
Network Topologies for Scalable Multi-User Virtual Environments Lingrui Liang.
MZR: A Multicast Protocol based on Zone Routing
Introduction to Wireless Sensor Networks
(How the routers’ tables are filled in)
Wireless Sensor Network Architectures
Sensor Network Routing
Project Demo Mehdi Sadri Jamshid Esmaelnezhad Spring 2012
Kevin Lee & Adam Piechowicz 10/10/2009
Distributed Publish/Subscribe Network
Data-Centric Networking
Indirect Communication Paradigms (or Messaging Methods)
Indirect Communication Paradigms (or Messaging Methods)
SIENA: Wide-Area Event Notification Service
Presentation transcript:

Design and Evaluation of a Wide-Area Event Notification Service Antonio Carzaniga David S. Rosenblum Alexander L. Wolf

Overview  Introduction  Critical design issues  Topologies  Routing Strategies  Evaluation  Simulation studies  Future Challenges

Introduction (1)  Distributed event notification service

Introduction (2)  Key activities of an event notification service –Notification selection –Notification delivery  Challenges in a wide-area setting –Maximize expressiveness in the selection mechanism –Maintain scalability in the delivery mechanism

Critical Design Issues  Interconnection topology –Hierarchy, adopted by JEDI –General graph, adopted by SIENA  Routing algorithm –Broadcast notifications –Broadcast subscriptions –Broadcast advertisements  Processing strategy –Pruning – A server propagates a subscription only if it defines new notifications that are not covered by previously propagated subscriptions.

API and Semantics (1)  Interfaces of SIENA –publish (notification n) –subscribe (string identity, pattern expression) –unsubscribe (string identity, pattern expression) –advertise (string identity, filter expression) –unadvertise (string identity, filter expression)  Notification – a set of typed attributes –Each attribute has a type, a name, and a value.

API and Semantics (2)  Filters -- specify a set of attributes and constraints on the values of those attributes  Patterns – a sequence of filters matched by a temporally ordered sequence of notifications, each one matching the corresponding filter

API and Semantics (3)  Two variants of the semantics of SIENA –Subscription-based semantics  A notification n is delivered to an interested party X  X submitted at least one subscription s such that n matches s. –Advertisement-based semantics  A notification n published by object Y is delivered to interested party X  Y advertised a filter a that covers n and X registered a subscription s that covers n.

Architectures (1)  Hierarchical client/server architecture  Acyclic peer-to-peer architecture

Architectures (2)  General peer-to-peer architecture  Hybrid architectures

Routing Strategies used in SIENA  To ensure delivery of notifications to interested parties that subscribe for them.  Employs principles found in multicast routing protocols.  Main Idea – Send Notification only towards event servers that have interested clients, possibly using shortest path.

Routing Strategies : Generic principles 1. Downstream Replication

Routing Strategies: Generic Principles (2) 2. Upstream Evaluation

Two Classes of Routing Algorithms  Subscription forwarding : Subscriptions set the path for notificationsSubscriptions set the path for notifications Subscriptions are broadcast throughout the networkSubscriptions are broadcast throughout the network Forms a spanning tree that connects subscribers to all servers in the networkForms a spanning tree that connects subscribers to all servers in the network No advertisements usedNo advertisements used

Two classes of Routing Algorithms (2)  Advertisement forwarding : Advertisements set the path for Subscriptions Advertisements set the path for Subscriptions And Subscriptions set the path for NotificationsAnd Subscriptions set the path for Notifications Advertisements are broadcast throughout the network thereby forming treeAdvertisements are broadcast throughout the network thereby forming tree Subscriptions are sent only to advertisers that submitted relevant advertisementsSubscriptions are sent only to advertisers that submitted relevant advertisements

Optimizations in SIENA  Exploit commonalities among subscriptions and advertisements  Prune propagation trees by propagating only along paths not covered by previous requests  Unsubscriptions and unadvertisements are handled similarly

The Filters Poset  This data structure represents a partially ordered set of filters.  Partial order is defined by covering relations for subscription filters & advertisement filters.  Event server maintains this data structure that keeps track of :  previous requests  their relationships  their source  where they are forwarded

The Filters Poset (2)  Poset extends vertically -> subscriptions very much inter- dependent -> few subscriptions summarize all others.  Poset extends horizontally -> few similarities among subscriptions -> few opportunities to reduce traffic

Algorithms for Hierarchical Architecture  Hierarchical server maintains : –Subscriptions in a poset s. –Subscribers(s) – set contains identities of subscribers of subscription. –Variable master – contains identity of master server.

Algorithms for Hierarchical Architecture (2) : Subscriptions  Upon receiving subscribe (X,f), –if server E finds subscription f’ in poset Ps such that f’ covers f and contains X in it’s subscriber’s set, no action taken. –If f already exists in Ps, insert X in it’s subscriber’s set. –Otherwise, if f’ or f not found, f is inserted with empty immediate successor and predecessor. –ONLY if f is inserted as root subscription, does the server forward subscribe (E,f) to master. –If immediate predecessor is NOT null, server removes X from subscriber’s set of all subscriptions covered by f.

Algorithms for Hierarchical Architecture (3) : Notifications  Upon receiving a Notification n: –The server determines all the subscriptions that cover n. –The server sends a copy of n to all the subscribers of the subscriptions. –The server sends copy of n to master server, if master was not sender of n.

Algorithms for Hierarchical Architecture (4) : Unsubscriptions  Single unsubscription might cancel one or more previous subscriptions  If root subscription is canceled, the server must forward unsubscription to master AND must forward new root subscriptions.

Algorithms for Hierarchical Architecture (5) : Advertisement forwarding  Advertisement forwarding technique does not apply to hierarchical architecture. Why?  Advertisements and Unadvertisements are silently dropped.

Algorithms for peer-to-peer Architecture  In peer-to-peer architectures, a server maintains –A set of neighbors –Subscriptions in poset Ps –Set of subscribers with each subscription –Set of forwards with subset of neighbors to which s is forwarded. A subscription or notification is propagated from origin to it’s destination following a minimum spanning tree.A subscription or notification is propagated from origin to it’s destination following a minimum spanning tree.

Algorithms in peer-to-peer Architecture (2) : Subscriptions  Extension of algorithm of the hierarchical server  Algorithms differ in how peer-to-peer server forwards subscriptions to its neighbors.  f is forwarded to all neighbors except those –Upstream from the server along spanning tree rooted at subscriber of f. –To those to which f’ covering f has already been forwarded.

Algorithms in peer-to-peer Architecture (3) : Notifications  Processed the same way as in hierarchical architectures.

Algorithms in peer-to-peer Architecture (4) : Advertisement Forwarding  Main difference : Two interacting computations  Advertisement forwarding constraints subscription forwarding.

Evaluation  How can we demonstrate ability to scale?  Qualitative reasoning with regard to expressiveness of the notification selection mechanism  Performing simulation studies  Constructing a prototype implementation

Simulation Studies Reasoning for Level of Expressiveness  Some scalability factors such as network latency cannot be controlled by the design  Expressiveness level approximates SQL  Conclusion: covering relations have reasonable complexities for a scalable event notification system.

Simulation Studies Issues Issues  Scalability w.r.t. architectures/algorithms  Architecture/algorithms vs increased application demands - how is communication cost affected?

Simulation Studies Network configuration: Network configuration: Assumptions Assumptions  costs are linear functions of load  latencies of links are constant  sites and links have infinite capacity (congestion?)  only homogenous architectures are chosen  centralized architectures are considered as a basis for comparison (simplicity)

Simulation Studies Application Behavior  involves collective behavior of an applications' objects of interest  Done using scenario generation

Simulation Studies Total Cost Total Cost  as a basic metric for event notification services captures important aspects of scalability  total cost remains almost constant when there are more than 100 interested parties (saturation)  very high numbers of objects of interest results in client/server architecture performing worse than acyclic peer to peer with subscription architecture  acyclic peer to peer with advertisement architecture shows unstable cost profile at low densities

Simulation Studies Cost per Service request  total cost / number of client requests  low value -> low overheads  it can be seen that centralized architectures are unreasonable Cost per Subscription  total cost of all subscription messages/ number of subscriptions processed

Simulation Studies Conclusions  Hierarchical client/server architecture has lower per-subscription costs than acyclic peer to peer therefore it is better suited for low densities of clients  For both architectures high densities of interested parties results in higher subscription costs  Cost of delivering a notification to interested parties is more or less the same for the 2 architectures  Peer to peer is better when total cost of communication is dominated by notifications

Future Challenges  Enhancing the design of the interface and algorithms to support mobility of clients  Extensions that support quality of service parameters suited for integration of software components  Explore other important issues of WANs such as mechanisms for reliability and fault tolerance of event notification systems  Realization of content based routing