SlideShare a Scribd company logo
1 of 17
Download to read offline
Demystifying Complex Event
Processing*
Demystifying Complex Event
Processing*
Edson Tirelli
CEP Lead Designer
Red Hat Inc
Demystifying Complex Event
Processing*
Edson Tirelli
etirelli@redhat.com
*a.k.a. CEP crash course for BR technologists
etirelli@redhat.com
Lead CEP Designer
JBoss, a Division of Red Hat
Demystifying Complex Event
Processing*
*a.k.a. CEP crash course for BR technologists
“An event is an observable occurrence
“An event in the Unified Modeling Language is a
notable occurrence at a particular
Terminology: Event
“Anything that happens,
happening.”
“An object that represents,
event, generally for the
processing”
http://complexevents.com
observable occurrence.”
“An event in the Unified Modeling Language is a
at a particular point in time.”
http://www.wikipedia.org
Terminology: Event
, or is contemplated as
represents, encodes or records an
the purpose of computer
http://complexevents.com
Rules Fest – October 2010 – © Edson Tirelli 3
For the scope of this presentation:
“An event is a significant
Terminology: Event
“An event is a significant
state at a particular
For the scope of this presentation:
significant change of
Terminology: Event
significant change of
at a particular point in time”
Rules Fest – October 2010 – © Edson Tirelli 4
“Complex Event, is an abstraction of other events
called its members.”
o Examples:
o The 1929 stock market crash –
thousands of member events, including individual stock trades)
Terminology: Complex Event
thousands of member events, including individual stock trades)
o The 2004 Indonesian Tsunami –
events
o A completed stock purchase -an abstraction of the events in a
transaction to purchase the stock
o A successful on-line shopping cart checkout
shopping cart events on an on-line website
Source: http://complexevents.com
, is an abstraction of other events
an abstraction denoting many
member events, including individual stock trades)
Terminology: Complex Event
member events, including individual stock trades)
– an abstraction of many natural
an abstraction of the events in a
line shopping cart checkout – an abstraction of
line website
http://complexevents.com
Rules Fest – October 2010 – © Edson Tirelli 5
“Complex Event Processing
an event processing concept that deals with the
task of processing multiple events with the goal
of identifying the meaningful events
event cloud.
Terminology: CEP
CEP employs techniques such as
complex patterns of many events, event
correlation and abstraction
and relationships between events such as
causality, membership, and timing, and event
driven processes.”
Complex Event Processing, or CEP, is primarily
an event processing concept that deals with the
task of processing multiple events with the goal
identifying the meaningful events within the
Terminology: CEP
employs techniques such as detection of
complex patterns of many events, event
abstraction, event hierarchies,
and relationships between events such as
causality, membership, and timing, and event-
-- wikipedia
Rules Fest – October 2010 – © Edson Tirelli 6
o Examples:
o Fraud detection (credit cards, social security, banks, telecom
carriers, etc)
o Logistics Real-Time Awareness solution
o Neonatal ICU: infant vital signs monitoring
o BAM (Business Activity Monitoring)
Terminology: CEP
o Risk Assessment
o Rating (telecom, traffic)
o Traffic flow control
o RFID monitoring (products in stores, bags in airports, etc)
o …
Fraud detection (credit cards, social security, banks, telecom
Time Awareness solution
Neonatal ICU: infant vital signs monitoring
BAM (Business Activity Monitoring)
CEP
RFID monitoring (products in stores, bags in airports, etc)
Rules Fest – October 2010 – © Edson Tirelli 7
Complex Event Processing
Stream Processing, or ESP, are two
technologies that were born separate, but
converged.
Terminology: CEP
An oversimplification: at their origins...
Event Stream Processing focused on the ability to
process high volume streams
Complex Event Processing
detecting and processing the
events.
Complex Event Processing, or CEP, and Event
, or ESP, are two
technologies that were born separate, but
Terminology: CEP vs ESP
: at their origins...
focused on the ability to
streams of events.
Complex Event Processing focused on defining,
detecting and processing the relationships among
Rules Fest – October 2010 – © Edson Tirelli 8
“Event Driven Architecture (EDA)
pattern promoting the production
and reaction to events. An event
significant change in state"[1]. For example, when a
consumer purchases a car, the car's state changes from "for
sale" to "sold". A car dealer's system architecture may treat
this state change as an event to be produced, published,
Terminology: EDA
this state change as an event to be produced, published,
detected and consumed by various applications within the
architecture.”
http://en.wikipedia.org/wiki/Event_Driven_Architecture
Event Driven Architecture (EDA) is a software architecture
production, detection, consumption of,
event can be defined as "a
significant change in state"[1]. For example, when a
consumer purchases a car, the car's state changes from "for
sale" to "sold". A car dealer's system architecture may treat
this state change as an event to be produced, published,
Terminology: EDA
this state change as an event to be produced, published,
detected and consumed by various applications within the
http://en.wikipedia.org/wiki/Event_Driven_Architecture
Rules Fest – October 2010 – © Edson Tirelli 9
EDA vs CEP
CEP is a component
Source: http://elementallinks.typepad.com/.shared/image.html?/photos/uncategorized/simple_event_flow.gif
component of the EDA
Source: http://elementallinks.typepad.com/.shared/image.html?/photos/uncategorized/simple_event_flow.gif
Rules Fest – October 2010 – © Edson Tirelli 10
EDA vs SOA
o EDA is not SOA 2.0
o Complementary architectures
o Metaphor*
o In our body:
o SOA is used to build our
o EDA is used to build our
* I read this metaphor somewhere, but unfortunately I can’t remember the author
SOA is used to build our muscles and organs
EDA is used to build our sensory system
* I read this metaphor somewhere, but unfortunately I can’t remember the author
Rules Fest – October 2010 – © Edson Tirelli 11
EDA vs SOA
Source: http://soa-eda.blogspot.com/2006/11/howeda.blogspot.com/2006/11/how-eda-extends-soa-and-why-it-is.html
Rules Fest – October 2010 – © Edson Tirelli 12
CEP Requirements
• Event Detection:
• From an event cloud or set of streams
meaningful events, and only them.
• [Temporal] Event Correlation:
• Ability to correlate events declaring both
non-temporal constraints between them.non-temporal constraints between them.
• Ability to reason over event
• Event Abstraction:
• Ability to compose complex events from atomic events
AND reason over them.
CEP Requirements
set of streams, select all the
meaningful events, and only them.
[Temporal] Event Correlation:
events declaring both temporal and
between them.between them.
Ability to reason over event aggregation.
complex events from atomic events
Rules Fest – October 2010 – © Edson Tirelli 13
Event Semantics from a BR
o An event is a fact with a few special characteristics:
o Usually immutable, not necessarily enforced
“All events are facts, but not all facts are events.”“All events are facts, but not all facts are events.”
o Usually immutable, not necessarily enforced
o Strong temporal relationships
o Lifecycle may be managed
o Allows the use of sliding windows
Event Semantics from a BR PoV
is a fact with a few special characteristics:
, not necessarily enforced
, but not all facts are events.”, but not all facts are events.”
, not necessarily enforced
relationships
sliding windows
Rules Fest – October 2010 – © Edson Tirelli 14
Complex Event Processing
o A few characteristics of common CEP scenarios:
o Huge volume of events, but only a
o Usually events are immutable
o Usually queries/rules have to run in
o Strong temporal relationships
o Individual events are usually
o The composition and aggregation
Complex Event Processing
A few characteristics of common CEP scenarios:
of events, but only a few of real interest
immutable
Usually queries/rules have to run in reactive mode
temporal relationships between events
events are usually not important
aggregation of events is important
Rules Fest – October 2010 – © Edson Tirelli 15
CEP Market PlayersCEP Market Players
Source: Paul Vincent
http://tibcoblogs.com/cep
Rules Fest – October 2010 – © Edson Tirelli 16
Q&A
o To know more:
o Complex Events:
o http://www.complexevents.com/
o Drools Documentation:
o http://www.jboss.org/drools/documentation.html
Edson Tirelli
etirelli@redhat.com
Lead CEP Designer
JBoss, a Division of Red Hat
http://www.complexevents.com/
http://www.jboss.org/drools/documentation.html

More Related Content

Similar to st - demystifying complext event processing

Applying CEP Drools Fusion - Drools jBPM Bootcamps 2011
Applying CEP Drools Fusion - Drools jBPM Bootcamps 2011Applying CEP Drools Fusion - Drools jBPM Bootcamps 2011
Applying CEP Drools Fusion - Drools jBPM Bootcamps 2011
Geoffrey De Smet
 
SOA Pattern Event Driven Messaging
SOA Pattern Event Driven MessagingSOA Pattern Event Driven Messaging
SOA Pattern Event Driven Messaging
WSO2
 
Managing Director ( Sse Hydro ) Essay
Managing Director ( Sse Hydro ) EssayManaging Director ( Sse Hydro ) Essay
Managing Director ( Sse Hydro ) Essay
Laura Torres
 
Python & Finance: US Government Mandates, Financial Modeling, and Other Snake...
Python & Finance: US Government Mandates, Financial Modeling, and Other Snake...Python & Finance: US Government Mandates, Financial Modeling, and Other Snake...
Python & Finance: US Government Mandates, Financial Modeling, and Other Snake...
ActiveState
 

Similar to st - demystifying complext event processing (20)

Applying complex event processing (2010-10-11)
Applying complex event processing (2010-10-11)Applying complex event processing (2010-10-11)
Applying complex event processing (2010-10-11)
 
Applying CEP Drools Fusion - Drools jBPM Bootcamps 2011
Applying CEP Drools Fusion - Drools jBPM Bootcamps 2011Applying CEP Drools Fusion - Drools jBPM Bootcamps 2011
Applying CEP Drools Fusion - Drools jBPM Bootcamps 2011
 
Aaai 2011 event processing tutorial
Aaai 2011 event processing tutorialAaai 2011 event processing tutorial
Aaai 2011 event processing tutorial
 
SOA Pattern Event Driven Messaging
SOA Pattern Event Driven MessagingSOA Pattern Event Driven Messaging
SOA Pattern Event Driven Messaging
 
Vldb 2010 event processing tutorial
Vldb 2010 event processing tutorialVldb 2010 event processing tutorial
Vldb 2010 event processing tutorial
 
From Technical Debt to Technical Health
From Technical Debt to Technical HealthFrom Technical Debt to Technical Health
From Technical Debt to Technical Health
 
Managing Director ( Sse Hydro ) Essay
Managing Director ( Sse Hydro ) EssayManaging Director ( Sse Hydro ) Essay
Managing Director ( Sse Hydro ) Essay
 
JUDCon India 2012 Drools Fusion
JUDCon  India 2012 Drools FusionJUDCon  India 2012 Drools Fusion
JUDCon India 2012 Drools Fusion
 
Python & Finance: US Government Mandates, Financial Modeling, and Other Snake...
Python & Finance: US Government Mandates, Financial Modeling, and Other Snake...Python & Finance: US Government Mandates, Financial Modeling, and Other Snake...
Python & Finance: US Government Mandates, Financial Modeling, and Other Snake...
 
How Events Are Reshaping Modern Systems
How Events Are Reshaping Modern SystemsHow Events Are Reshaping Modern Systems
How Events Are Reshaping Modern Systems
 
Multi-Agent Modelling With applications to robotics and cognition
Multi-Agent Modelling With applications to robotics and cognitionMulti-Agent Modelling With applications to robotics and cognition
Multi-Agent Modelling With applications to robotics and cognition
 
DevSecOps: A Secure SDLC in the Age of DevOps and Hyper-Automation
DevSecOps: A Secure SDLC in the Age of DevOps and Hyper-AutomationDevSecOps: A Secure SDLC in the Age of DevOps and Hyper-Automation
DevSecOps: A Secure SDLC in the Age of DevOps and Hyper-Automation
 
Kontrast@TKE 2012
Kontrast@TKE 2012Kontrast@TKE 2012
Kontrast@TKE 2012
 
Life events Revisited: Conceptualization and Representation Using Generic Wor...
Life events Revisited: Conceptualization and Representation Using Generic Wor...Life events Revisited: Conceptualization and Representation Using Generic Wor...
Life events Revisited: Conceptualization and Representation Using Generic Wor...
 
Introduction to OSLC and Linked Data
Introduction to OSLC and Linked DataIntroduction to OSLC and Linked Data
Introduction to OSLC and Linked Data
 
Complex Event Processing
Complex Event ProcessingComplex Event Processing
Complex Event Processing
 
Enterprise Architecture & IT standards
Enterprise Architecture &  IT standardsEnterprise Architecture &  IT standards
Enterprise Architecture & IT standards
 
How Events Are Reshaping Modern Systems
How Events Are Reshaping Modern SystemsHow Events Are Reshaping Modern Systems
How Events Are Reshaping Modern Systems
 
Eusidic presen2006
Eusidic presen2006Eusidic presen2006
Eusidic presen2006
 
Building Event Driven Systems
Building Event Driven SystemsBuilding Event Driven Systems
Building Event Driven Systems
 

More from Geoffrey De Smet

What is Drools, Guvnor and Planner? 2012 02-17 Brno Dev Conference
What is Drools, Guvnor and Planner? 2012 02-17 Brno Dev ConferenceWhat is Drools, Guvnor and Planner? 2012 02-17 Brno Dev Conference
What is Drools, Guvnor and Planner? 2012 02-17 Brno Dev Conference
Geoffrey De Smet
 
2012 02-04 fosdem 2012 - drools planner
2012 02-04 fosdem 2012 - drools planner2012 02-04 fosdem 2012 - drools planner
2012 02-04 fosdem 2012 - drools planner
Geoffrey De Smet
 
Drools New York City workshop 2011
Drools New York City workshop 2011Drools New York City workshop 2011
Drools New York City workshop 2011
Geoffrey De Smet
 
2011-03-29 London - drools
2011-03-29 London - drools2011-03-29 London - drools
2011-03-29 London - drools
Geoffrey De Smet
 
Pushing the rule engine to its limits with drools planner (parisjug 2010-11-09)
Pushing the rule engine to its limits with drools planner (parisjug 2010-11-09)Pushing the rule engine to its limits with drools planner (parisjug 2010-11-09)
Pushing the rule engine to its limits with drools planner (parisjug 2010-11-09)
Geoffrey De Smet
 
Open source and business rules
Open source and business rulesOpen source and business rules
Open source and business rules
Geoffrey De Smet
 
Drooling for drools (JBoss webex)
Drooling for drools (JBoss webex)Drooling for drools (JBoss webex)
Drooling for drools (JBoss webex)
Geoffrey De Smet
 
Developing applications with rules, workflow and event processing (it@cork 2010)
Developing applications with rules, workflow and event processing (it@cork 2010)Developing applications with rules, workflow and event processing (it@cork 2010)
Developing applications with rules, workflow and event processing (it@cork 2010)
Geoffrey De Smet
 
Hybrid rule engines (rulesfest 2010)
Hybrid rule engines (rulesfest 2010)Hybrid rule engines (rulesfest 2010)
Hybrid rule engines (rulesfest 2010)
Geoffrey De Smet
 
Towards unified knowledge management platform (rulefest 2010)
Towards unified knowledge management platform (rulefest 2010)Towards unified knowledge management platform (rulefest 2010)
Towards unified knowledge management platform (rulefest 2010)
Geoffrey De Smet
 
2010 04-20 san diego bootcamp - drools planner - use cases
2010 04-20 san diego bootcamp - drools planner - use cases2010 04-20 san diego bootcamp - drools planner - use cases
2010 04-20 san diego bootcamp - drools planner - use cases
Geoffrey De Smet
 

More from Geoffrey De Smet (19)

Drools planner - 2012-10-23 IntelliFest 2012
Drools planner - 2012-10-23 IntelliFest 2012Drools planner - 2012-10-23 IntelliFest 2012
Drools planner - 2012-10-23 IntelliFest 2012
 
What is Drools, Guvnor and Planner? 2012 02-17 Brno Dev Conference
What is Drools, Guvnor and Planner? 2012 02-17 Brno Dev ConferenceWhat is Drools, Guvnor and Planner? 2012 02-17 Brno Dev Conference
What is Drools, Guvnor and Planner? 2012 02-17 Brno Dev Conference
 
2012 02-04 fosdem 2012 - drools planner
2012 02-04 fosdem 2012 - drools planner2012 02-04 fosdem 2012 - drools planner
2012 02-04 fosdem 2012 - drools planner
 
JUDCon London 2011 - Bin packing with drools planner by example
JUDCon London 2011 - Bin packing with drools planner by exampleJUDCon London 2011 - Bin packing with drools planner by example
JUDCon London 2011 - Bin packing with drools planner by example
 
Drools Planner webinar (2011-06-15): Drools Planner optimizes automated planning
Drools Planner webinar (2011-06-15): Drools Planner optimizes automated planningDrools Planner webinar (2011-06-15): Drools Planner optimizes automated planning
Drools Planner webinar (2011-06-15): Drools Planner optimizes automated planning
 
Drools New York City workshop 2011
Drools New York City workshop 2011Drools New York City workshop 2011
Drools New York City workshop 2011
 
JBoss World 2011 - Drools
JBoss World 2011 - DroolsJBoss World 2011 - Drools
JBoss World 2011 - Drools
 
2011-03-29 London - drools
2011-03-29 London - drools2011-03-29 London - drools
2011-03-29 London - drools
 
2011-03-29 London - Decision tables in depth (Michael Anstis)
2011-03-29 London - Decision tables in depth (Michael Anstis)2011-03-29 London - Decision tables in depth (Michael Anstis)
2011-03-29 London - Decision tables in depth (Michael Anstis)
 
2011-03-09 London - Drools Planner in a nutshell
2011-03-09 London - Drools Planner in a nutshell2011-03-09 London - Drools Planner in a nutshell
2011-03-09 London - Drools Planner in a nutshell
 
2011-03-24 IDC - Adaptive and flexible processes (Mark Proctor)
2011-03-24 IDC - Adaptive and flexible processes (Mark Proctor)2011-03-24 IDC - Adaptive and flexible processes (Mark Proctor)
2011-03-24 IDC - Adaptive and flexible processes (Mark Proctor)
 
Pushing the rule engine to its limits with drools planner (parisjug 2010-11-09)
Pushing the rule engine to its limits with drools planner (parisjug 2010-11-09)Pushing the rule engine to its limits with drools planner (parisjug 2010-11-09)
Pushing the rule engine to its limits with drools planner (parisjug 2010-11-09)
 
Open source and business rules
Open source and business rulesOpen source and business rules
Open source and business rules
 
Drooling for drools (JBoss webex)
Drooling for drools (JBoss webex)Drooling for drools (JBoss webex)
Drooling for drools (JBoss webex)
 
Developing applications with rules, workflow and event processing (it@cork 2010)
Developing applications with rules, workflow and event processing (it@cork 2010)Developing applications with rules, workflow and event processing (it@cork 2010)
Developing applications with rules, workflow and event processing (it@cork 2010)
 
Hybrid rule engines (rulesfest 2010)
Hybrid rule engines (rulesfest 2010)Hybrid rule engines (rulesfest 2010)
Hybrid rule engines (rulesfest 2010)
 
Towards unified knowledge management platform (rulefest 2010)
Towards unified knowledge management platform (rulefest 2010)Towards unified knowledge management platform (rulefest 2010)
Towards unified knowledge management platform (rulefest 2010)
 
2010 04-20 san diego bootcamp - drools planner - use cases
2010 04-20 san diego bootcamp - drools planner - use cases2010 04-20 san diego bootcamp - drools planner - use cases
2010 04-20 san diego bootcamp - drools planner - use cases
 
Drools BeJUG 2010
Drools BeJUG 2010Drools BeJUG 2010
Drools BeJUG 2010
 

Recently uploaded

Presentation4 (2) survey responses clearly labelled
Presentation4 (2) survey responses clearly labelledPresentation4 (2) survey responses clearly labelled
Presentation4 (2) survey responses clearly labelled
CaitlinCummins3
 
Jual obat aborsi Hongkong ( 085657271886 ) Cytote pil telat bulan penggugur k...
Jual obat aborsi Hongkong ( 085657271886 ) Cytote pil telat bulan penggugur k...Jual obat aborsi Hongkong ( 085657271886 ) Cytote pil telat bulan penggugur k...
Jual obat aborsi Hongkong ( 085657271886 ) Cytote pil telat bulan penggugur k...
Klinik kandungan
 
Powerpoint showing results from tik tok metrics
Powerpoint showing results from tik tok metricsPowerpoint showing results from tik tok metrics
Powerpoint showing results from tik tok metrics
CaitlinCummins3
 
Obat Aborsi Malang 0851\7696\3835 Jual Obat Cytotec Di Malang
Obat Aborsi Malang 0851\7696\3835 Jual Obat Cytotec Di MalangObat Aborsi Malang 0851\7696\3835 Jual Obat Cytotec Di Malang
Obat Aborsi Malang 0851\7696\3835 Jual Obat Cytotec Di Malang
Obat Aborsi Jakarta Wa 085176963835 Apotek Jual Obat Cytotec Di Jakarta
 
Abortion pills in Jeddah ! +27737758557, cytotec pill riyadh. Saudi Arabia" A...
Abortion pills in Jeddah ! +27737758557, cytotec pill riyadh. Saudi Arabia" A...Abortion pills in Jeddah ! +27737758557, cytotec pill riyadh. Saudi Arabia" A...
Abortion pills in Jeddah ! +27737758557, cytotec pill riyadh. Saudi Arabia" A...
bleessingsbender
 
Shots fired Budget Presentation.pdf12312
Shots fired Budget Presentation.pdf12312Shots fired Budget Presentation.pdf12312
Shots fired Budget Presentation.pdf12312
LR1709MUSIC
 
obat aborsi bandung wa 081336238223 jual obat aborsi cytotec asli di bandung9...
obat aborsi bandung wa 081336238223 jual obat aborsi cytotec asli di bandung9...obat aborsi bandung wa 081336238223 jual obat aborsi cytotec asli di bandung9...
obat aborsi bandung wa 081336238223 jual obat aborsi cytotec asli di bandung9...
yulianti213969
 
00971508021841 حبوب الإجهاض في دبي | أبوظبي | الشارقة | السطوة |❇ ❈ ((![© ر
00971508021841 حبوب الإجهاض في دبي | أبوظبي | الشارقة | السطوة |❇ ❈ ((![©  ر00971508021841 حبوب الإجهاض في دبي | أبوظبي | الشارقة | السطوة |❇ ❈ ((![©  ر
00971508021841 حبوب الإجهاض في دبي | أبوظبي | الشارقة | السطوة |❇ ❈ ((![© ر
nafizanafzal
 

Recently uploaded (20)

Progress Report - UKG Analyst Summit 2024 - A lot to do - Good Progress1-1.pdf
Progress Report - UKG Analyst Summit 2024 - A lot to do - Good Progress1-1.pdfProgress Report - UKG Analyst Summit 2024 - A lot to do - Good Progress1-1.pdf
Progress Report - UKG Analyst Summit 2024 - A lot to do - Good Progress1-1.pdf
 
Presentation4 (2) survey responses clearly labelled
Presentation4 (2) survey responses clearly labelledPresentation4 (2) survey responses clearly labelled
Presentation4 (2) survey responses clearly labelled
 
Jual obat aborsi Hongkong ( 085657271886 ) Cytote pil telat bulan penggugur k...
Jual obat aborsi Hongkong ( 085657271886 ) Cytote pil telat bulan penggugur k...Jual obat aborsi Hongkong ( 085657271886 ) Cytote pil telat bulan penggugur k...
Jual obat aborsi Hongkong ( 085657271886 ) Cytote pil telat bulan penggugur k...
 
Powerpoint showing results from tik tok metrics
Powerpoint showing results from tik tok metricsPowerpoint showing results from tik tok metrics
Powerpoint showing results from tik tok metrics
 
How Bookkeeping helps you in Cost Saving, Tax Saving and Smooth Business Runn...
How Bookkeeping helps you in Cost Saving, Tax Saving and Smooth Business Runn...How Bookkeeping helps you in Cost Saving, Tax Saving and Smooth Business Runn...
How Bookkeeping helps you in Cost Saving, Tax Saving and Smooth Business Runn...
 
10 Influential Leaders Defining the Future of Digital Banking in 2024.pdf
10 Influential Leaders Defining the Future of Digital Banking in 2024.pdf10 Influential Leaders Defining the Future of Digital Banking in 2024.pdf
10 Influential Leaders Defining the Future of Digital Banking in 2024.pdf
 
Learn How To Start Buy Verified Payoneer Accounts
Learn How To Start Buy Verified Payoneer AccountsLearn How To Start Buy Verified Payoneer Accounts
Learn How To Start Buy Verified Payoneer Accounts
 
HomeRoots Pitch Deck | Investor Insights | April 2024
HomeRoots Pitch Deck | Investor Insights | April 2024HomeRoots Pitch Deck | Investor Insights | April 2024
HomeRoots Pitch Deck | Investor Insights | April 2024
 
Obat Aborsi Malang 0851\7696\3835 Jual Obat Cytotec Di Malang
Obat Aborsi Malang 0851\7696\3835 Jual Obat Cytotec Di MalangObat Aborsi Malang 0851\7696\3835 Jual Obat Cytotec Di Malang
Obat Aborsi Malang 0851\7696\3835 Jual Obat Cytotec Di Malang
 
JAJPUR CALL GIRL ❤ 8272964427❤ CALL GIRLS IN JAJPUR ESCORTS SERVICE PROVIDE
JAJPUR CALL GIRL ❤ 8272964427❤ CALL GIRLS IN JAJPUR  ESCORTS SERVICE PROVIDEJAJPUR CALL GIRL ❤ 8272964427❤ CALL GIRLS IN JAJPUR  ESCORTS SERVICE PROVIDE
JAJPUR CALL GIRL ❤ 8272964427❤ CALL GIRLS IN JAJPUR ESCORTS SERVICE PROVIDE
 
Getting Real with AI - Columbus DAW - May 2024 - Nick Woo from AlignAI
Getting Real with AI - Columbus DAW - May 2024 - Nick Woo from AlignAIGetting Real with AI - Columbus DAW - May 2024 - Nick Woo from AlignAI
Getting Real with AI - Columbus DAW - May 2024 - Nick Woo from AlignAI
 
Abortion pills in Jeddah ! +27737758557, cytotec pill riyadh. Saudi Arabia" A...
Abortion pills in Jeddah ! +27737758557, cytotec pill riyadh. Saudi Arabia" A...Abortion pills in Jeddah ! +27737758557, cytotec pill riyadh. Saudi Arabia" A...
Abortion pills in Jeddah ! +27737758557, cytotec pill riyadh. Saudi Arabia" A...
 
JAJPUR CALL GIRL ❤ 8272964427❤ CALL GIRLS IN JAJPUR ESCORTS SERVICE PROVIDE
JAJPUR CALL GIRL ❤ 8272964427❤ CALL GIRLS IN JAJPUR  ESCORTS SERVICE PROVIDEJAJPUR CALL GIRL ❤ 8272964427❤ CALL GIRLS IN JAJPUR  ESCORTS SERVICE PROVIDE
JAJPUR CALL GIRL ❤ 8272964427❤ CALL GIRLS IN JAJPUR ESCORTS SERVICE PROVIDE
 
Shots fired Budget Presentation.pdf12312
Shots fired Budget Presentation.pdf12312Shots fired Budget Presentation.pdf12312
Shots fired Budget Presentation.pdf12312
 
obat aborsi bandung wa 081336238223 jual obat aborsi cytotec asli di bandung9...
obat aborsi bandung wa 081336238223 jual obat aborsi cytotec asli di bandung9...obat aborsi bandung wa 081336238223 jual obat aborsi cytotec asli di bandung9...
obat aborsi bandung wa 081336238223 jual obat aborsi cytotec asli di bandung9...
 
00971508021841 حبوب الإجهاض في دبي | أبوظبي | الشارقة | السطوة |❇ ❈ ((![© ر
00971508021841 حبوب الإجهاض في دبي | أبوظبي | الشارقة | السطوة |❇ ❈ ((![©  ر00971508021841 حبوب الإجهاض في دبي | أبوظبي | الشارقة | السطوة |❇ ❈ ((![©  ر
00971508021841 حبوب الإجهاض في دبي | أبوظبي | الشارقة | السطوة |❇ ❈ ((![© ر
 
GURGAON CALL GIRL ❤ 8272964427❤ CALL GIRLS IN GURGAON ESCORTS SERVICE PROVIDE
GURGAON CALL GIRL ❤ 8272964427❤ CALL GIRLS IN GURGAON  ESCORTS SERVICE PROVIDEGURGAON CALL GIRL ❤ 8272964427❤ CALL GIRLS IN GURGAON  ESCORTS SERVICE PROVIDE
GURGAON CALL GIRL ❤ 8272964427❤ CALL GIRLS IN GURGAON ESCORTS SERVICE PROVIDE
 
Moradia Isolada com Logradouro; Detached house with patio in Penacova
Moradia Isolada com Logradouro; Detached house with patio in PenacovaMoradia Isolada com Logradouro; Detached house with patio in Penacova
Moradia Isolada com Logradouro; Detached house with patio in Penacova
 
SCI9-Q4-MOD8.1.pdfjttstwjwetw55k5wwtwrjw
SCI9-Q4-MOD8.1.pdfjttstwjwetw55k5wwtwrjwSCI9-Q4-MOD8.1.pdfjttstwjwetw55k5wwtwrjw
SCI9-Q4-MOD8.1.pdfjttstwjwetw55k5wwtwrjw
 
How does a bike-share company navigate speedy success? - Cyclistic
How does a bike-share company navigate speedy success? - CyclisticHow does a bike-share company navigate speedy success? - Cyclistic
How does a bike-share company navigate speedy success? - Cyclistic
 

st - demystifying complext event processing

  • 1. Demystifying Complex Event Processing* Demystifying Complex Event Processing* Edson Tirelli CEP Lead Designer Red Hat Inc
  • 2. Demystifying Complex Event Processing* Edson Tirelli etirelli@redhat.com *a.k.a. CEP crash course for BR technologists etirelli@redhat.com Lead CEP Designer JBoss, a Division of Red Hat Demystifying Complex Event Processing* *a.k.a. CEP crash course for BR technologists
  • 3. “An event is an observable occurrence “An event in the Unified Modeling Language is a notable occurrence at a particular Terminology: Event “Anything that happens, happening.” “An object that represents, event, generally for the processing” http://complexevents.com observable occurrence.” “An event in the Unified Modeling Language is a at a particular point in time.” http://www.wikipedia.org Terminology: Event , or is contemplated as represents, encodes or records an the purpose of computer http://complexevents.com Rules Fest – October 2010 – © Edson Tirelli 3
  • 4. For the scope of this presentation: “An event is a significant Terminology: Event “An event is a significant state at a particular For the scope of this presentation: significant change of Terminology: Event significant change of at a particular point in time” Rules Fest – October 2010 – © Edson Tirelli 4
  • 5. “Complex Event, is an abstraction of other events called its members.” o Examples: o The 1929 stock market crash – thousands of member events, including individual stock trades) Terminology: Complex Event thousands of member events, including individual stock trades) o The 2004 Indonesian Tsunami – events o A completed stock purchase -an abstraction of the events in a transaction to purchase the stock o A successful on-line shopping cart checkout shopping cart events on an on-line website Source: http://complexevents.com , is an abstraction of other events an abstraction denoting many member events, including individual stock trades) Terminology: Complex Event member events, including individual stock trades) – an abstraction of many natural an abstraction of the events in a line shopping cart checkout – an abstraction of line website http://complexevents.com Rules Fest – October 2010 – © Edson Tirelli 5
  • 6. “Complex Event Processing an event processing concept that deals with the task of processing multiple events with the goal of identifying the meaningful events event cloud. Terminology: CEP CEP employs techniques such as complex patterns of many events, event correlation and abstraction and relationships between events such as causality, membership, and timing, and event driven processes.” Complex Event Processing, or CEP, is primarily an event processing concept that deals with the task of processing multiple events with the goal identifying the meaningful events within the Terminology: CEP employs techniques such as detection of complex patterns of many events, event abstraction, event hierarchies, and relationships between events such as causality, membership, and timing, and event- -- wikipedia Rules Fest – October 2010 – © Edson Tirelli 6
  • 7. o Examples: o Fraud detection (credit cards, social security, banks, telecom carriers, etc) o Logistics Real-Time Awareness solution o Neonatal ICU: infant vital signs monitoring o BAM (Business Activity Monitoring) Terminology: CEP o Risk Assessment o Rating (telecom, traffic) o Traffic flow control o RFID monitoring (products in stores, bags in airports, etc) o … Fraud detection (credit cards, social security, banks, telecom Time Awareness solution Neonatal ICU: infant vital signs monitoring BAM (Business Activity Monitoring) CEP RFID monitoring (products in stores, bags in airports, etc) Rules Fest – October 2010 – © Edson Tirelli 7
  • 8. Complex Event Processing Stream Processing, or ESP, are two technologies that were born separate, but converged. Terminology: CEP An oversimplification: at their origins... Event Stream Processing focused on the ability to process high volume streams Complex Event Processing detecting and processing the events. Complex Event Processing, or CEP, and Event , or ESP, are two technologies that were born separate, but Terminology: CEP vs ESP : at their origins... focused on the ability to streams of events. Complex Event Processing focused on defining, detecting and processing the relationships among Rules Fest – October 2010 – © Edson Tirelli 8
  • 9. “Event Driven Architecture (EDA) pattern promoting the production and reaction to events. An event significant change in state"[1]. For example, when a consumer purchases a car, the car's state changes from "for sale" to "sold". A car dealer's system architecture may treat this state change as an event to be produced, published, Terminology: EDA this state change as an event to be produced, published, detected and consumed by various applications within the architecture.” http://en.wikipedia.org/wiki/Event_Driven_Architecture Event Driven Architecture (EDA) is a software architecture production, detection, consumption of, event can be defined as "a significant change in state"[1]. For example, when a consumer purchases a car, the car's state changes from "for sale" to "sold". A car dealer's system architecture may treat this state change as an event to be produced, published, Terminology: EDA this state change as an event to be produced, published, detected and consumed by various applications within the http://en.wikipedia.org/wiki/Event_Driven_Architecture Rules Fest – October 2010 – © Edson Tirelli 9
  • 10. EDA vs CEP CEP is a component Source: http://elementallinks.typepad.com/.shared/image.html?/photos/uncategorized/simple_event_flow.gif component of the EDA Source: http://elementallinks.typepad.com/.shared/image.html?/photos/uncategorized/simple_event_flow.gif Rules Fest – October 2010 – © Edson Tirelli 10
  • 11. EDA vs SOA o EDA is not SOA 2.0 o Complementary architectures o Metaphor* o In our body: o SOA is used to build our o EDA is used to build our * I read this metaphor somewhere, but unfortunately I can’t remember the author SOA is used to build our muscles and organs EDA is used to build our sensory system * I read this metaphor somewhere, but unfortunately I can’t remember the author Rules Fest – October 2010 – © Edson Tirelli 11
  • 12. EDA vs SOA Source: http://soa-eda.blogspot.com/2006/11/howeda.blogspot.com/2006/11/how-eda-extends-soa-and-why-it-is.html Rules Fest – October 2010 – © Edson Tirelli 12
  • 13. CEP Requirements • Event Detection: • From an event cloud or set of streams meaningful events, and only them. • [Temporal] Event Correlation: • Ability to correlate events declaring both non-temporal constraints between them.non-temporal constraints between them. • Ability to reason over event • Event Abstraction: • Ability to compose complex events from atomic events AND reason over them. CEP Requirements set of streams, select all the meaningful events, and only them. [Temporal] Event Correlation: events declaring both temporal and between them.between them. Ability to reason over event aggregation. complex events from atomic events Rules Fest – October 2010 – © Edson Tirelli 13
  • 14. Event Semantics from a BR o An event is a fact with a few special characteristics: o Usually immutable, not necessarily enforced “All events are facts, but not all facts are events.”“All events are facts, but not all facts are events.” o Usually immutable, not necessarily enforced o Strong temporal relationships o Lifecycle may be managed o Allows the use of sliding windows Event Semantics from a BR PoV is a fact with a few special characteristics: , not necessarily enforced , but not all facts are events.”, but not all facts are events.” , not necessarily enforced relationships sliding windows Rules Fest – October 2010 – © Edson Tirelli 14
  • 15. Complex Event Processing o A few characteristics of common CEP scenarios: o Huge volume of events, but only a o Usually events are immutable o Usually queries/rules have to run in o Strong temporal relationships o Individual events are usually o The composition and aggregation Complex Event Processing A few characteristics of common CEP scenarios: of events, but only a few of real interest immutable Usually queries/rules have to run in reactive mode temporal relationships between events events are usually not important aggregation of events is important Rules Fest – October 2010 – © Edson Tirelli 15
  • 16. CEP Market PlayersCEP Market Players Source: Paul Vincent http://tibcoblogs.com/cep Rules Fest – October 2010 – © Edson Tirelli 16
  • 17. Q&A o To know more: o Complex Events: o http://www.complexevents.com/ o Drools Documentation: o http://www.jboss.org/drools/documentation.html Edson Tirelli etirelli@redhat.com Lead CEP Designer JBoss, a Division of Red Hat http://www.complexevents.com/ http://www.jboss.org/drools/documentation.html