Event Processing Course Event processing networks (relates to chapter 6)

Slides:



Advertisements
Similar presentations
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 5 More SQL: Complex Queries, Triggers, Views, and Schema Modification.
Advertisements

FPA – IFPUG CPM 4.1 Rules.
Practice data flow diagramming as a tool for structured system programming (process modelling) DATA FLOW DIAGRAMs.
Chapter 4 Enterprise Modeling.
Introduction to Network Analysis and Sniffer Pro
Chapter 4.
Systems Analysis and Design 9th Edition
Copyright ©2009 Opher Etzion Event Processing Course Lecture 10 – Focal points on challenging topics (related to chapter 11)
Event Processing Course Event Patterns (relates to chapter 9)
Copyright ©2009 Opher Etzion Event Processing Course Filtering and transformation (Relates to Chapter 8)
Guide To UNIX Using Linux Third Edition
Systems Analysis and Design in a Changing World, 6th Edition
Modeling the Processes and Logic
Chapter 4.
Event Processing Course Producers and consumers (relates to chapters 4 + 5)
Process Modeling SYSTEMS ANALYSIS AND DESIGN, 6 TH EDITION DENNIS, WIXOM, AND ROTH © 2015 JOHN WILEY & SONS. ALL RIGHTS RESERVED. 1 Roberta M. Roth.
6 Systems Analysis and Design in a Changing World, Fourth Edition.
Environment Change Information Request Change Definition has subtype of Business Case based upon ConceptPopulation Gives context for Statistical Program.
Chapter 6: The Traditional Approach to Requirements
staffs.ac.uk Process Model. staffs.ac.uk Contents Provide definitions Explain the components and representations Introduce a step.
Systems Analysis and Design in a Changing World, Fifth Edition
Chapter 6 The Traditional Approach to Requirements
C8: Enterprise Integration Patterns in Sonic ™ ESB Stefano Picozzi Solutions Architect.
CHAPTER 12 ADVANCED INTELLIGENT SYSTEMS © 2005 Prentice Hall, Decision Support Systems and Intelligent Systems, 7th Edition, Turban, Aronson, and Liang.
System Analysis & Design Introduction: System Analysis and design course intents to help students understand its importance in developing systems that.
Systems Analysis and Design in a Changing World, Fifth Edition
Chapter 4 The Relational Model.
Workflow Manager and General Tuning Tips. Topics to discuss… Working with Workflows Working with Tasks General Tuning Tips.
CSE314 Database Systems More SQL: Complex Queries, Triggers, Views, and Schema Modification Doç. Dr. Mehmet Göktürk src: Elmasri & Navanthe 6E Pearson.
NOVA: CONTINUOUS PIG/HADOOP WORKFLOWS. storage & processing scalable file system e.g. HDFS distributed sorting & hashing e.g. Map-Reduce dataflow programming.
Chapter 9 Designing Databases Modern Systems Analysis and Design Sixth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
1 ER Modeling BUAD/American University Entity Relationship (ER) Modeling.
Chapter 7: Database Systems Succeeding with Technology: Second Edition.
THE RELATIONAL DATA MODEL CHAPTER 3 (6/E) CHAPTER 5 (5/E) 1.
Report on Intrusion Detection and Data Fusion By Ganesh Godavari.
Modified by Juan M. Gomez Software Engineering, 6th edition. Chapter 7 Slide 1 Chapter 7 System Models.
CS3773 Software Engineering Lecture 04 UML Class Diagram.
1 6 Systems Analysis and Design in a Changing World, 2 nd Edition, Satzinger, Jackson, & Burd Chapter 6 The Traditional Approach to Requirements.
Environment Change Information Request Change Definition has subtype of Business Case based upon ConceptPopulation Gives context for Statistical Program.
CORE 1: PROJECT MANAGEMENT Designing. This stage is where the actual solution is designed and built. This includes describing information processes and.
Copyright 2006 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Third Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
A State Perspective Mentoring Conference New Orleans, LA 2/28/2005 RCRAInfo Network Exchange.
David Adams ATLAS Virtual Data in ATLAS David Adams BNL May 5, 2002 US ATLAS core/grid software meeting.
AMQP, Message Broker Babu Ram Dawadi. overview Why MOM architecture? Messaging broker like RabbitMQ in brief RabbitMQ AMQP – What is it ?
section II Analysis Systems Analysis and Design
Context Diagram This section includes two parts. Part 1: Description of a Context Diagram Part 2: How To construct a Context Diagram.
7-1 © Prentice Hall, 2007 Topic 7: Analysis Classes Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey.
Integration Patterns in BizTalk Server 2004 Integration Patterns Explained What are integration patterns? What patterns does BizTalk Server 2004 provide.
20 Copyright © 2008, Oracle. All rights reserved. Cache Management.
Christian Stiller Technical Account Manager SOA-23: Enterprise Integration Patterns in Sonic ™ ESB.
6 Systems Analysis and Design in a Changing World, Fourth Edition.
Aggregator Stage : Definition : Aggregator classifies data rows from a single input link into groups and calculates totals or other aggregate functions.
Module 5: Managing Content. Overview Publishing Content Executing Reports Creating Cached Instances Creating Snapshots and Report History Creating Subscriptions.
Coping with Link Failures in Centralized Control Plane Architecture Maulik Desai, Thyagarajan Nandagopal.
McGraw-Hill/Irwin Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 5 Modeling the Processes and Logic.
Working Group: Data Foundations and Terminology (Practical Policy Considerations) Reagan Moore.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 10Slide 1 Chapter 5:Architectural Design l Establishing the overall structure of a software.
More SQL: Complex Queries, Triggers, Views, and Schema Modification
Business System Development
Internet of Things Amr El Mougy Alaa Gohar.
Business System Development
Chapter 6 The Traditional Approach to Requirements.
SOFTWARE DESIGN AND ARCHITECTURE
File System Implementation
Object Oriented Modeling and Design
Chapter 2 Database Environment Pearson Education © 2009.
Database Systems Instructor Name: Lecture-3.
Review of Week 1 Database DBMS File systems vs. database systems
WEB SERVICES From Chapter 19, Distributed Systems
Chapter 2 Database Environment Pearson Education © 2009.
Presentation transcript:

Event Processing Course Event processing networks (relates to chapter 6)

2 Lecture outline Event processing network and its components Event processing agents Event channels Global states

3 Event processing network Link in the graph means – event (or stream) flowing from the output terminal to the input terminal Connection can be established either by the source or by the sink

4 Formal definition EPN = (V, E) is a directed (possibly cyclic) graph V = {C, P, EC, GS, EPA} where –C = consumers, P = producers, EC = event channels, GS = global stores, EPA = Event Processing Agents E = { (C, EC), (EC, EPA), (EC, P), (EPA, EC), (EPA, GS)}

5 Recursive EPN

6 EPN implementation perspective

7 Event Processing Agent

8 EPA types

9 Filter EPA A filter EPA is an EPA that performs filtering only, and has no matching or derivation steps, so it does not transform the input event.

10 Formal definition of Filter operation Filter is a function that maps a single event ev to the set {TRUE, FALSE, UNDECIDED) relative to an assertion, such that: – ev is mapped to TRUE, if ev satsifies the assertion – ev is mapped to FALSE, if ev doesn’t satisfy the assertion – ev is mapped to UNDECIDED, if is undecided whether ev satisfies the assertion The event ev is unchanged.

11 Transform EPA A transform EPA is an EPA that performs the derivation function, and optionally also the filtering function

12 Formal definition of Transform operation Transform is a function EV1  Ev2 such that – EV1 is a collection of input events – Ev2 is a collection of output events –The transform type and function determine the mapping from EP1 to EP2

13 Transform EPA sub types

14 Transform EPA subtypes definitions A translate EPA is a stateless transform EPA that takes as an input a single event, and generates a single derived event which is a function of the input event, using a translation formula. An enrich EPA is a translate EPA that takes a single input event, matches it against a global state element, and creates a derived event which includes the original event, with possible modified attributes, and an additional collection of attributes {A1,…,An} copied or calculated as a result of using the global state. A project EPA is a subtype of the translate EPA that takes an input event, and creates a single derived event that contains a subset of the attributes of the input event

15 Transform EPA subtype definitions (cont.) An aggregate EPA is a transform EPA that takes as input a collection of events and creates a single derived event by applying an aggregation function over the input events. A split EPA is a transform EPA that takes as an input a single event and creates a collection of events, each of them can be a clone of the original event, or a projection of that event containing a subset of its attributes A compose EPA is a transform EPA that takes groups of events from different input terminals, looks for matches using some matching criterion and then creates derived events based on these matched events. Pattern detection EPAs are discussed In Lecture 6

16 Pattern detection EPA A pattern detection EPA is an EPA that performs a pattern matching function on one or more input streams. It emits one or more derived events if it detects an occurrence of the specified pattern in the input events Pattern detection EPAs are discussed In Lecture 7

17 EPA Definition Elements

18 FFD EPN – The bid request system

19 FFD EPN – The location identification

20 FFD EPN – The assignment system

21 FFD EPN – The control system

22 FFD EPN – The ranking and reporting system

23 Event Channel An event channel is a processing element that receives events from one or more source processing elements, makes routing decisions, and sends the input events unchanged to one or more target processing elements in accordance with these routing decisions.

24 Event channels definition element

25 Formal definition of channel’s routing Channel routing is a function that maps an event into To, where To is a collection of output terminals (without changing it).

26 Routing schemes Fixed: The channel routes every event that it receives on any input terminal to every output terminal. In cases where there are multiple output terminals this means that separate copies of each input event are transmitted on each output terminal Type-based: The channel makes routing decisions based on the event type of the event that is being routed. Content-based: The routing decision is based on the event's content, this can be phrased as decision trees or decision tables, and are based on the input event content, as well as context information.

27 Global State Historical events retained in an event store so that they can be processed at a later phase. Reference data that event processing agents can access, for example to enrich or cleanse event data. Reference data is not maintained by the event processing system, but can affect the output of the event processing. State of external entities that, like reference data, is not maintained by the event processing system but which can be used as part of processing events. Examples include: current state of a business process, an airport alert level, weather related states (sun, clouds, rain, snow…). This state could change as a result of a (raw or derived) event being processed by an event consumer. Event processing state (whether persisted to disk or held in shared memory) that is accessible across event processing agents, and can be updated by an event processing application. This is typically maintained by the event processing platform.

28 Global State Definition Element

29 Streambase – event flow:

30 EPN – Event Zero

31 Lecture Summary In this lecture we have discussed the following topics: –The concept of event processing network –EPA –Channel –Global state