A Framework for Object-Based Event Composition in Distributed Systems

Slides:



Advertisements
Similar presentations
2 Introduction A central issue in supporting interoperability is achieving type compatibility. Type compatibility allows (a) entities developed by various.
Advertisements

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 9 Distributed Systems Architectures Slide 1 1 Chapter 9 Distributed Systems Architectures.
Introduction to Middleware I
Erin Collins Topics in Computer Science Spring 2011 Paper by: Patrick Eugster, Pascal Felber, Rachid Guerrapui and Anne-Marie Kermarrec.
Small-Scale Peer-to-Peer Publish/Subscribe
Distributed Systems Architectures
Review of “Embedded Software” by E.A. Lee Katherine Barrow Vladimir Jakobac.
1 A Framework for Event Composition in Distributed Systems Christian Hälg, By Peter R. Pietzuch, Brian Shand, and Jean Bacon.
Peter R. Pietzuch, Brian Shand, and Jean Bacon A Framework for Distributed Event Composition Middleware’03, Rio de Janeiro,
1 Introduction to Load Balancing: l Definition of Distributed systems. Collection of independent loosely coupled computing resources. l Load Balancing.
Managing Agent Platforms with the Simple Network Management Protocol Brian Remick Thesis Defense June 26, 2015.
Managing Agent Platforms with SNMP Brian Remick Research Proposal Defense June 27, 2015.
The Publish/Subscribe Coordination Design Pattern Günter Grossberger.
Hermes: A Distributed Event- Based Middleware Architecture Peter Pietzuch and Jean Bacon 1st DEBS Workshop, Vienna,
A Framework for Object-Based Event Composition in Distributed Systems Peter Pietzuch and Brian Shand June 2002.
System-Level Types for Component-Based Design Paper by: Edward A. Lee and Yuhong Xiong Presentation by: Dan Patterson.
1 FM Overview of Adaptation. 2 FM RAPIDware: Component-Based Design of Adaptive and Dependable Middleware Project Investigators: Philip McKinley, Kurt.
Inferring the Topology and Traffic Load of Parallel Programs in a VM environment Ashish Gupta Peter Dinda Department of Computer Science Northwestern University.
Distributed Publish/Subscribe Network Presented by: Yu-Ling Chang.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
SensIT PI Meeting, January 15-17, Self-Organizing Sensor Networks: Efficient Distributed Mechanisms Alvin S. Lim Computer Science and Software Engineering.
1 소프트웨어공학 강좌 Chap 9. Distributed Systems Architectures - Architectural design for software that executes on more than one processor -
Parallel Programming Models Jihad El-Sana These slides are based on the book: Introduction to Parallel Computing, Blaise Barney, Lawrence Livermore National.
Publisher Mobility in Distributed Publish/Subscribe Systems Vinod Muthusamy, Milenko Petrovic, Dapeng Gao, Hans-Arno Jacobsen University of Toronto June.
Gil EinzigerRoy Friedman Computer Science Department Technion.
Architecting Web Services Unit – II – PART - III.
Content-Based Routing in Mobile Ad Hoc Networks Milenko Petrovic, Vinod Muthusamy, Hans-Arno Jacobsen University of Toronto July 18, 2005 MobiQuitous 2005.
ECE450 - Software Engineering II1 ECE450 – Software Engineering II Today: Design Patterns IX Interpreter, Mediator, Template Method recap.
DISTRIBUTED COMPUTING Introduction Dr. Yingwu Zhu.
1 ACTIVE FAULT TOLERANT SYSTEM for OPEN DISTRIBUTED COMPUTING (Autonomic and Trusted Computing 2006) Giray Kömürcü.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved Chapter 1 Introduction.
Distributed Systems Principles and Paradigms Chapter 12 Distributed Coordination-Based Systems 01 Introduction 02 Communication 03 Processes 04 Naming.
1 Qualitative Reasoning of Distributed Object Design Nima Kaveh & Wolfgang Emmerich Software Systems Engineering Dept. Computer Science University College.
CSC 480 Software Engineering Lecture 18 Nov 6, 2002.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
CORBA1 Distributed Software Systems Any software system can be physically distributed By distributed coupling we get the following:  Improved performance.
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.
Abstract A Structured Approach for Modular Design: A Plug and Play Middleware for Sensory Modules, Actuation Platforms, Task Descriptions and Implementations.
Information-Centric Networks10b-1 Week 10 / Paper 2 Hermes: a distributed event-based middleware architecture –P.R. Pietzuch, J.M. Bacon –ICDCS 2002 Workshops.
Looking into the Past: Enhancing Mobile Publish/Subscribe Middleware Exponent: Pablo E. Guerrero Thesis Supervisor: Mariano A. Cilia Universidad Nacional.
SelfCon Foil no 1 Variability in Self-Adaptive Systems.
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,
Problem On a regular basis we use: –Java applets –JavaScript –ActiveX –Shockwave Notion of ubiquitous computing.
Distributed Systems Architecure. Architectures Architectural Styles Software Architectures Architectures versus Middleware Self-management in distributed.
1 Distributed Systems Architectures Distributed object architectures Reference: ©Ian Sommerville 2000 Software Engineering, 6th edition.
Design Patterns-1 7 Hours.
The Role of Reflection in Next Generation Middleware
Introduction to Load Balancing:
Alternatives to Mobile Agents
Architecting Web Services
Introduction to Middleware I
Architecting Web Services
DISTRIBUTED SYSTEMS Principles and Paradigms Second Edition ANDREW S
EECS 582 Final Review Mosharaf Chowdhury EECS 582 – F16.
Inventory of Distributed Computing Concepts
Architectures of distributed systems Fundamental Models
Distributed Publish/Subscribe Network
Architectures of distributed systems Fundamental Models
Composite Subscriptions in Content-based Pub/Sub Systems
Small-Scale Peer-to-Peer Publish/Subscribe
Indirect Communication Paradigms (or Messaging Methods)
Indirect Communication Paradigms (or Messaging Methods)
Architectures of distributed systems
Architectures of distributed systems Fundamental Models
Chapter 6: Architectural Design
Presentation transcript:

A Framework for Object-Based Event Composition in Distributed Systems Peter Pietzuch and Brian Shand {Peter.Pietzuch,Brian.Shand}@cl.cam.ac.uk June 2002 – 12th PhDOOS Workshop, Malaga, Spain

Motivation Large-scale systems require new middleware paradigms need: scalability, loose coupling of components, reliability O-O middleware (request/reply) limitations: synchronous, tight coupling, one-to-one communication New m/w paradigm: Event-Based Communication require additional, expressive middleware services Framework for Composite Event Detection handle complexity of many events distributed composite event detection (scalability) large-scale systems require new communication paradigms scalability, loose coupling, reliability o-o request/reply limitations: synchronous, tight-coupling, only one-to-one communication need for new powerful middleware abstractions event-based communication composite event detection distributed composite event detection

Overview Introduction to Event-Based Systems Event-based Middleware Systems Composite Event Detection Our Composite Event (CE) Framework Composite Event Language Composite Event Objects Mobile Detection Objects Distributed Composite Event Detection Future Work Introduction to Event-based Systems Event-based Middleware Composite Event Detection Our Framework Distributed Composite Event Detection

Event-based Systems Event Publisher Event Subscriber notify Event Publisher Pub/Sub System Event Subscriber subscribe Notion of an Event: Examples: PrinterFinishedEvent, SalesOrderEvent Event Publishers publish events; Event Subscriber subscribe to events with a subscription (filter expression) asynchronous occurrence in time contains data that describes the occurrence can be implemented as an object notion of an event event sinks; event sources publish/subscribe good properties: asynchronous, loosely-coupled, many-to-many communication

Event-Based Middleware Middleware using the Pub/Sub paradigm built on top of an existing O-O/M-O middleware Scalable and fault-tolerant event dissemination algorithms Properties: Must be able to: integrate with O-O app programming language handle large number of events Publisher/Subscriber are decoupled asynchronous notification many-to-many communication Middleware using the pub/sub paradigm Integration with o-o app programming language Scalable & fault tolerant event dissemination algorithms must come with traditional m/w functionality + must come with new pub/sub functionality like composite event detection  Composite Event Detection

Composite Event Detection Composite Events denote patterns of events Composite Event Detectors Example: “Client A submits new order” ; “Sales Dept. authorises order” ; “Plant A rejects order” Scalability  Distributed detection Management Plant A Plant B Sales Department Plant C Supplier A CED Supplier B Client A composite events composite event detection (finding patterns) example helps to deal with scale and complexity more efficient system (argument from paper) why is it important to do it distributed?

Our CE Framework Design Guidelines Components: Integration with an O-O middleware Facilitate distributed detection Little assumptions about pub&sub mechanisms Components: Composite Event Language Composite Event Objects Mobile Detection Objects overview of our framework nicely integrates with o-o m/w services composite event objects mobile detection objects design guidelines

Composite Event Language Regular-expression based can be detected by (extended) finite state automata bounded resource usage minimal set of operators Examples A followed by B, or C (A;B)|C Any number of A in parallel with B <A*,B> Distribution: Decomposable along syntax tree explicit input alphabet e.g. [A|B in A,B,C] Operators Atom A Concatenation A;B Duplication A* Alternation A|B Parallelization <A,B> Timing (A,B)!1s regular expression based (why?) show operators examples useful properties: decomposable, understood, bound resource usage,

Composite Event Objects Represent composite events Published by detectors Example: (A|B);(C;D) Interface to access primitive event instances represent composite events can be manipulated by the o-o programming language example

Mobile Detection Objects Detect composite events Are Event Subscriber + Publisher Encapsulate extended FSM with explicit input alphabet Example: Distribution: Agent-like behaviour migrate to different location to optimise detection can cooperate by decomposing expressions contains detector agent-like behaviour show interface

Distribution Example I Example: new expression (A|B);(C;D) notify A|B C;D MDO MDO A|B C;D Composite Event A B C D Object (CEO) - distribution example using mdo from paper notify notify Mobile Detection MDO Object (MDO)

Distribution Example II notify (A|B);(C;D) MDO (A|B);(C;D) notify A|B C;D MDO MDO A|B C;D Composite Event A B C D Object (CEO) - distribution example using mdo from paper notify notify Mobile Detection MDO Object (MDO)

Distribution Example III - distribution example using mdo from paper

Distributed Detection Distribution Policy handles MDO placement and migration (optimise for bandwidth, latency, …) Degree of CE expression decomposition Degree of replication (reliability and load-balancing) Distribution Issues (Network delay) Out of order arrival of events due to network delays Best-Effort Detection vs. Guaranteed Detection Event Publisher failure? distribution issues distribution policies heuristics take static and dynamic properties of system into account (mention properties) speculate

Future Work Implementation in Hermes Pub/Sub Simulator investigate different Distribution Policies performance/cost of the framework? temporal issues… Higher-level, domain-specific CE specification languages user-friendly language language-binding GUI simulation environment implementation on top of Hermes distribution results

Conclusions Event-Based Middleware Composite Event Detection good for building large-scale systems must provide additional services Composite Event Detection handle large number of events should be part of the middleware Framework for Distributed CE Detection object-based (CEOs & MDOs) distributed (CE detectors as agents) composite event language (extended FSMs) distribution policies - summary