Presentation is loading. Please wait.

Presentation is loading. Please wait.

Complex Event Processing Prof. Richard Holowczak © 2007-2013 Richard Holowczak All rights reserved.

Similar presentations


Presentation on theme: "Complex Event Processing Prof. Richard Holowczak © 2007-2013 Richard Holowczak All rights reserved."— Presentation transcript:

1 Complex Event Processing Prof. Richard Holowczak © Richard Holowczak All rights reserved.

2 Streams of Data RFID scans Transportation / Traffic scans Web site visits Server logs Financial / Market data Manufacturing Processes Environmental monitoring / Remote sensing Gaming events © Richard Holowczak All rights reserved. 2

3 Challenges of Streaming Data Data may arrive and demand action at a rate faster than a traditional database can respond Require flexibility / generalizability in coding approaches –Compare custom C++/Java vs. a query language like SQL © Richard Holowczak All rights reserved. 3

4 DBMS vs. Stream Processing © Richard Holowczak All rights reserved. 4 Insert Event Database Data Query Result Action Insert Event Database Data Query Action 1 2 Query Result CEP DBMS CEP

5 © Richard Holowczak All rights reserved. 5 Event Processing Vendors Generic Systems –Oracle CEP processing –Amazon Kinesis aws.amazon.com/kinesis –SQL Stream Financial Services - Oriented –Sybase Aleriwww.aleri.com –TIBCO StreamBasewww.streambase.com –Apama

6 © Richard Holowczak All rights reserved. 6 Stream / Event Processing Data arrives in a stream, e.g. –Weather data –RFID scans –Market Data Rules put in place to match patterns in one or more streams When a rule is satisfied trigger and Event or Alert –Possibly triggering some further actions

7 © Richard Holowczak All rights reserved. 7 Complex Event Processing – Example from Apama Source: Algorithmic Trading: The use of algorithms in automated trading. by John Bates. Dr. Dobb's Portal. March 9, 2007

8 © Richard Holowczak All rights reserved. 8 CEP – Apama Example Trading Rule Source: Algorithmic Trading: The use of algorithms in automated trading. by John Bates. Dr. Dobb's Portal. March 9, 2007

9 Oracle CEP Example © Richard Holowczak All rights reserved. 9

10 Oracle CEP Applications Adapters – connect inbound and outbound data streams (can also be relational databases) Channels – act as queues accepting data and passing it along to processors Processors (event processing agents) – applies standing queries to channels and produces output events / signals Beans / Event Beans – Java Beans apps that are triggered by events – carry out the work when an event occurs © Richard Holowczak All rights reserved. 10 From:

11 Oracle CEP Development Tools © Richard Holowczak All rights reserved. 11

12 Oracle Continuous Query Language (CQL) Two main data objects to operate on: Streams and Relations Stream and Relational (SQL) operators –Oracle CEP CQL Language Reference © Richard Holowczak All rights reserved. 12


Download ppt "Complex Event Processing Prof. Richard Holowczak © 2007-2013 Richard Holowczak All rights reserved."

Similar presentations


Ads by Google