REDS: A Reconfigurable Event Dispatching Infrastructure Gianpaolo Cugola Dipartimento di Elettronica e Informazione Politecnico di Milano, Italy

Slides:



Advertisements
Similar presentations
Distributed Software Engineering Middleware for Reconfigurable Systems Gianpaolo Cugola Dipartimento di Elettronica e Informazione Politecnico di Milano,
Advertisements

A Tailorable Environment for Assessing the Quality of Deployment Architectures in Highly Distributed Settings Sam Malek and Marija Mikic-Rakic Nels Beckman.
17 May Multiple Sites. 17 May Multiple Sites This presentation assumes you are already familiar with Doors and all its standard commands It.
© Pearson Education Limited, Chapter 8 Normalization Transparencies.
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.
Transitioning to IPv6 April 15,2005 Presented By: Richard Moore PBS Enterprise Technology.
Packet Switching COM1337/3501 Textbook: Computer Networks: A Systems Approach, L. Peterson, B. Davie, Morgan Kaufmann Chapter 3.
CSCI 465 D ata Communications and Networks Lecture 20 Martin van Bommel CSCI 465 Data Communications & Networks 1.
Chapter 9 Local Area Network Technology
CSE 534 Fundamentals of Computer Networks Lecture 4: Bridging (From Hub to Switch by Way of Tree) Based on slides from D. Choffnes Northeastern U. Revised.
CS 4700 / CS 5700 Network Fundamentals Lecture 7: Bridging (From Hub to Switch by Way of Tree) Revised 1/14/13.
Improving TCP Performance over Mobile Ad Hoc Networks by Exploiting Cross- Layer Information Awareness Xin Yu Department Of Computer Science New York University,
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts – Chapter.
Mobile and Wireless Computing Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)
©NEC Laboratories America 1 Hui Zhang Samrat Ganguly Sudeept Bhatnagar Rauf Izmailov NEC Labs America Abhishek Sharma University of Southern California.
Matching Patterns Servers assemble sequences of notifications from smaller subsequences or from single notifications.This technique requires an advertisement.
Design and Evaluation of a Wide-Area Event Notification Service Antonio Carzaniga David S. Rosenblum Alexander L. Wolf.
1 AINA 2006 Wien, April th 2006 DiVES: A DISTRIBUTED SUPPORT FOR NETWORKED VIRTUAL ENVIRONMENTS The IEEE 20th International Conference on Advanced.
Anonymous Gossip: Improving Multicast Reliability in Mobile Ad-Hoc Networks Ranveer Chandra (joint work with Venugopalan Ramasubramanian and Ken Birman)
Routing.
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #5 Mobile Ad-Hoc Networks TBRPF.
Institute of Technology, Sligo Dept of Computing Semester 3, version Semester 3 Chapter 3 VLANs.
Background Notification services in LAN Provides Notification Selection Notification Delivery Done on a centralized server (hence not scalable) Challenge.
LECTURE 9 CT1303 LAN. LAN DEVICES Network: Nodes: Service units: PC Interface processing Modules: it doesn’t generate data, but just it process it and.
Communication (II) Chapter 4
Chapter 22 Network Layer: Delivery, Forwarding, and Routing
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
Decentralized Scattering of Wake-up Times in Wireless Sensor Networks Amy L. Murphy ITC-IRST, Trento, Italy joint work with Alessandro Giusti, Politecnico.
M.Menelaou CCNA2 ROUTING. M.Menelaou ROUTING Routing is the process that a router uses to forward packets toward the destination network. A router makes.
Introduction to Dynamic Routing Protocol
Publisher Mobility in Distributed Publish/Subscribe Systems Vinod Muthusamy, Milenko Petrovic, Dapeng Gao, Hans-Arno Jacobsen University of Toronto June.
Overlay Network Physical LayerR : router Overlay Layer N R R R R R N.
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.
Scalable Web Server on Heterogeneous Cluster CHEN Ge.
1 Internet Routing. 2 Terminology Forwarding –Refers to datagram transfer –Performed by host or router –Uses routing table Routing –Refers to propagation.
Classification and Analysis of Distributed Event Filtering Algorithms Sven Bittner Dr. Annika Hinze University of Waikato New Zealand Presentation at CoopIS.
2007/03/26OPLAB, NTUIM1 A Proactive Tree Recovery Mechanism for Resilient Overlay Network Networking, IEEE/ACM Transactions on Volume 15, Issue 1, Feb.
COP 5611 Operating Systems Spring 2010 Dan C. Marinescu Office: HEC 439 B Office hours: M-Wd 2:00-3:00 PM.
This paper appears in: Computer Communications and Networks, ICCCN Proceedings.15th International Conference on 指導教授 : 許子衡 報告者 : 黃群凱 1.
Chapter 3 - VLANs. VLANs Logical grouping of devices or users Configuration done at switch via software Not standardized – proprietary software from vendor.
CS 268: Project Suggestions Ion Stoica January 26, 2004.
Information-Centric Networks10b-1 Week 10 / Paper 2 Hermes: a distributed event-based middleware architecture –P.R. Pietzuch, J.M. Bacon –ICDCS 2002 Workshops.
PRIN WOMEN PROJECT Research Unit: University of Naples Federico II G. Ferraiuolo
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.
AMQP, Message Broker Babu Ram Dawadi. overview Why MOM architecture? Messaging broker like RabbitMQ in brief RabbitMQ AMQP – What is it ?
Information-Centric Networks Section # 10.2: Publish/Subscribe Instructor: George Xylomenos Department: Informatics.
Rehab AlFallaj.  Network:  Nodes: Service units: PC Interface processing Modules: it doesn’t generate data, but just it process it and do specific task.
Spring RabbitMQ Martin Toshev.
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,
Active Message Application: CONNECT Presented by Xiaozhou David Zhu Oommen Regi July 6, 2001.
Improving Fault Tolerance in AODV Matthew J. Miller Jungmin So.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
Fabric: A Retrospective on Evolving SDN Presented by: Tarek Elgamal.
1 Along & across algorithm for routing events and queries in wireless sensor networks Tat Wing Chim Department of Electrical and Electronic Engineering.
Mobile IP THE 12 TH MEETING. Mobile IP  Incorporation of mobile users in the network.  Cellular system (e.g., GSM) started with mobility in mind. 
PART1 Data collection methodology and NM paradigms 1.
Ethernet Packet Filtering - Part1 Øyvind Holmeide Jean-Frédéric Gauvin 05/06/2014 by.
Behrouz A. Forouzan TCP/IP Protocol Suite, 3rd Ed.
Lec4: Introduction to Dynamic Routing Protocol
Introduction to Dynamic Routing Protocol
Wireless Sensor Network Architectures
CHAPTER 3 Architectures for Distributed Systems
Introduction to Dynamic Routing Protocol
Routing.
Introduction to Dynamic Routing Protocol
Chapter 3 VLANs Chaffee County Academy
Routing.
Presentation transcript:

REDS: A Reconfigurable Event Dispatching Infrastructure Gianpaolo Cugola Dipartimento di Elettronica e Informazione Politecnico di Milano, Italy joint work with G. P. Picco, P.Costa, D.Frey, C. Ghezzi, M.Migliavacca, A.L.Murphy

Politecnico di Milano IS-MANET Meeting, July 21st Publish-Subscribe Application components can publish asynchronous messages (event notifications), and/or declare their interest in message classes by issuing a subscription Subscriptions are collected by a message dispatcher component, responsible for routing messages to matching subscribers High degree of decoupling among components Message Dispatcher C1C1 C2C2 C3C3 C1C1 Temperature > 20 o C Temperature = 25 o C C4C4 Temperature < 40 o C C4C4

Politecnico di Milano IS-MANET Meeting, July 21st Design Space Existing publish-subscribe middleware differ along several dimensions: –The format of messages –The expressivity of the subscription language –The architecture of the dispatcher –The routing strategy (in presence of a distributed dispatcher) –The forwarding strategy

Politecnico di Milano IS-MANET Meeting, July 21st Format of Messages Untyped sequences of values –Tuples Untyped, record-like, messages –Sequences of fields, each with a name and a value Typed, record-like, messages –Similar to the above case with typed fields Typed objects –Full-fledged objects with their own attributes and methods

Politecnico di Milano IS-MANET Meeting, July 21st Subscription Language The expressivity of the subscription language allows one to distinguish between: –Subject-based The set of subjects is determined a priori Analogous to multicast –Content-based Subscriptions contain expressions (message filters) that allow clients to filter messages based on their content The set of filters is determined by client subscriptions A single message may match multiple subscriptions

Politecnico di Milano IS-MANET Meeting, July 21st Architecture of the Dispatcher Centralized –A single component is in charge of collecting subscriptions and forward messages to subscribers Distributed –A set of message brokers organized in an overlay network cooperate to collect subscriptions and route messages –The topology of the overlay network and the routing strategy adopted may vary Message Dispatcher

Politecnico di Milano IS-MANET Meeting, July 21st Unrooted Tree Topology Message forwarding –Every broker stores only subscriptions coming from directly connected clients –Messages are forwarded from broker to broker... –...and delivered to clients only if they are subscribed

Politecnico di Milano IS-MANET Meeting, July 21st Unrooted Tree Topology Subscription forwarding –Every broker forwards subscriptions to the others –Subscriptions are never sent twice over the same link –Messages follow the routes laid by subscriptions

Politecnico di Milano IS-MANET Meeting, July 21st Tree Topology Hierarchical –Both messages and subscriptions are forwarded by brokers toward the root of the tree –Messages flow down only if a matching subscription had been received along that route

Politecnico di Milano IS-MANET Meeting, July 21st Forwarding Strategy Each time a broker or the unique, centralized dispatcher receives a message it has to match it against the list of received filters to determine the list of recipients The efficiency of this process may vary, depending on the complexity of the subscription language, but also on the forwarding algorithm chosen –It greatly influences the overall performance of the system

Politecnico di Milano IS-MANET Meeting, July 21st Reconfiguration In presence of a distributed dispatcher, topological reconfiguration of the dispatching infrastructure should be considered They can be caused by: –Physical mobility of the message brokers –Changes in the overlay network induced by application requirements (e.g., in P2P networks) or by system optimizations (e.g., for load balancing) No publish-subscribe system to date deals with such kind of topological reconfiguration –Some deal only with the mobility of clients

Politecnico di Milano IS-MANET Meeting, July 21st Dealing with Reconfiguration Involves solving three problems: –Reconstruct the overlay network Currently we have: –MAODV-like approach for mobility –Custom, optimized solution for large- scale P2P environments In some environments, may be under control of some user (e.g., sysadm) –Rearrange the subscription tables Content-based, subscription forwarding routing defines a new problem, for which the existing subject-based or multicast solutions are no longer applicable –Minimize message loss We have a solution based on epidemic algorithms [ICDCS04] HW + Network Overlay Maintainance Reconfigurable Subscription Forwarding Message Recovery physical link break logical link break

Politecnico di Milano IS-MANET Meeting, July 21st A Strawman Approach Problem: a potentially very large number of subscriptions may end up removed and immediately re-inserted The endpoints of a vanishing link behave as if they received unsubscriptions from the other end (and similarly subscriptions for those on the new link) A B C D

Politecnico di Milano IS-MANET Meeting, July 21st Understanding Propagation A subscription is propagated following the unique route up to the closest splitter, if it exists; to the whole tree, otherwise splitter –A splitter is either a subscriber, or a dispatcher whose routing table has two or more entries for the given subscription A B C D Adding a subscription is usually cheap The more splitters, the shorter the path a subscription must follow

Politecnico di Milano IS-MANET Meeting, July 21st Our First (Simple) Idea [ICDCS03] It is fundamental to perform subscriptions before unsubscriptions –This way, the network is kept dense of subscriptions (and splitters), and the impact of reconfiguration is reduced Unsubscriptions are delayed using a timer, set by both the end-points of a broken link This simple idea is: –grounded on a thorough understanding of how the subscription forwarding strategy works –significantly effective in reducing overhead –easy to implement An additional optimization is provided for when the broken and new link share a dispatcher

Politecnico di Milano IS-MANET Meeting, July 21st Reconfiguration Path [SAC04] It is the sequence of dispatchers connecting the old link with the new link Only the dispatchers on this path are affected Our second algorithm propagates a control message along the path, carrying the set of subscriptions to be added and/or deleted at each node A B C D

Politecnico di Milano IS-MANET Meeting, July 21st REDS Goal: designing and implementing a reconfigurable publish- subscribe middleware In which sense reconfigurable? –Logical/Software (Static) : a well organized component-based design allows system integrators to build their REDS system by choosing among a set of predesigned components (or to write their own versions) to determine several aspects The format of messages and subscriptions The wire-protocol used to transport messages and subscriptions The architecture of the dispatcher The routing and the forwarding strategies –Physical (Dynamic) : REDS brokers are designed from the ground to deal with reconfiguration How? –Through an open framework of Java classes, which realizes the design above and allow system integrators to choose among a set of predefined components or build their own

Politecnico di Milano IS-MANET Meeting, July 21st The Client API

Politecnico di Milano IS-MANET Meeting, July 21st The Architecture of the Broker ** transport layer routing and forwarding layer

Politecnico di Milano IS-MANET Meeting, July 21st The Architecture of the Broker The Core –Holds the shared data structures (the subscription table and the list of neighbors) –Mediates the communication among the other components The simplest implementation delegates all its operations to the other modules, without adding any further processing –Manages internal messages, delivering them to registered processors Internal messages are used to exchange information among a set of distributed brokers (e.g., to communicate current load or current location) The Router –Implements the specific routing strategy adopted The ConnectionManager –Is in charge of managing the dispatching network in presence of reconfigurations New clients/brokers appearing Links/brokers vanishing The SubscriptionTable –Implements the specific forwarding strategy adopted The Transport and Neighbor –Implements the specific transport protocol adopted (e.g., TCP based, HTTP based,...) –Include methods to open and close links toward other brokers/clients

Politecnico di Milano IS-MANET Meeting, July 21st Currently Available Modules A transport layer using TCP links to move messages and filters along the network A router that implements the subscription forwarding strategy A simple, but general subscription table that can store any kind of messages and filters A configuration manager that implements the delaying unsubscriptions approach previously described –It can be coupled with an overlay manager that implements an MAODV-like strategy to keep the tree of brokers connected

Politecnico di Milano IS-MANET Meeting, July 21st Modules We Are Building A core that implements our gossip-based algorithm to recover messages lost due to reconfigurations or link errors Two subject-based routers –One using a single unrooted tree spanning all brokers –One using different trees, one for each subject, spanning only the routers that subscribed to the corresponding subject An overlay manager similar in its interface to the MAODV- like one, but tailored to large-scale p2p environments A new subscription table implementing a more efficient forwarding strategy designed for record-like messages

Politecnico di Milano IS-MANET Meeting, July 21st Modules We Planned A message-forwarding router A hierarchical router A configuration manager that implements the reconfiguration path strategy An UDP transport layer

Politecnico di Milano IS-MANET Meeting, July 21st Future Work Adding new modules to REDS Porting to REDS the Jedi mechanism to allow clients to move from broker to broker Introducing into REDS mechanisms to automatically rearrange the overlay network of dispatchers (also changing the routing strategy, if necessary) to optimize routing –Can leverage-off our previous work on reconfiguration –Needs some mechanism to trigger reconfiguration, measure traffic, and determine best topology/strategy based on the measured traffic profile –We already have some promising results coming from simulations we are running Use REDS in production

Politecnico di Milano IS-MANET Meeting, July 21st Other Research Areas LIME: Linda in a Mobile Environment –A tuple-based middleware for mobile hosts –Based on transliently-shared tuple spaces (host-level tuple space and federated tuple space) Sensor networks (motes + tiny os) –Porting LIME on this platform –Goal: provide the ability to access the data context provided by the sensors in range Different from TinyDB, which instead provides access to all the sensors in the network (with high latency) Emphasis on one-hop rather than multi-hop access Base stations are mobile, and travel across a space disseminated of sensors