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 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)Geoffrey De Smet
 
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 2011Geoffrey De Smet
 
Aaai 2011 event processing tutorial
Aaai 2011 event processing tutorialAaai 2011 event processing tutorial
Aaai 2011 event processing tutorialOpher Etzion
 
SOA Pattern Event Driven Messaging
SOA Pattern Event Driven MessagingSOA Pattern Event Driven Messaging
SOA Pattern Event Driven MessagingWSO2
 
Vldb 2010 event processing tutorial
Vldb 2010 event processing tutorialVldb 2010 event processing tutorial
Vldb 2010 event processing tutorialOpher Etzion
 
From Technical Debt to Technical Health
From Technical Debt to Technical HealthFrom Technical Debt to Technical Health
From Technical Debt to Technical HealthMikael Vesavuori
 
Managing Director ( Sse Hydro ) Essay
Managing Director ( Sse Hydro ) EssayManaging Director ( Sse Hydro ) Essay
Managing Director ( Sse Hydro ) EssayLaura Torres
 
JUDCon India 2012 Drools Fusion
JUDCon  India 2012 Drools FusionJUDCon  India 2012 Drools Fusion
JUDCon India 2012 Drools FusionMark Proctor
 
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
 
How Events Are Reshaping Modern Systems
How Events Are Reshaping Modern SystemsHow Events Are Reshaping Modern Systems
How Events Are Reshaping Modern SystemsJonas Bonér
 
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 cognitionAladdin Ayesh
 
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-AutomationAlex Senkevitch
 
Kontrast@TKE 2012
Kontrast@TKE 2012Kontrast@TKE 2012
Kontrast@TKE 2012martin255
 
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...Efthimios Tambouris
 
Introduction to OSLC and Linked Data
Introduction to OSLC and Linked DataIntroduction to OSLC and Linked Data
Introduction to OSLC and Linked Dataopenservices
 
Complex Event Processing
Complex Event ProcessingComplex Event Processing
Complex Event ProcessingJohn Plummer
 
Enterprise Architecture & IT standards
Enterprise Architecture &  IT standardsEnterprise Architecture &  IT standards
Enterprise Architecture & IT standardsLouw Labuschagne
 
How Events Are Reshaping Modern Systems
How Events Are Reshaping Modern SystemsHow Events Are Reshaping Modern Systems
How Events Are Reshaping Modern SystemsC4Media
 
Eusidic presen2006
Eusidic presen2006Eusidic presen2006
Eusidic presen2006Pekka Olsbo
 
Building Event Driven Systems
Building Event Driven SystemsBuilding Event Driven Systems
Building Event Driven SystemsWSO2
 

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

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 2012Geoffrey 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 ConferenceGeoffrey 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 plannerGeoffrey De Smet
 
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 exampleGeoffrey De Smet
 
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 planningGeoffrey De Smet
 
Drools New York City workshop 2011
Drools New York City workshop 2011Drools New York City workshop 2011
Drools New York City workshop 2011Geoffrey De Smet
 
2011-03-29 London - drools
2011-03-29 London - drools2011-03-29 London - drools
2011-03-29 London - droolsGeoffrey De Smet
 
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)Geoffrey De Smet
 
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 nutshellGeoffrey De Smet
 
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)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 rulesGeoffrey 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 casesGeoffrey 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

Kenya Coconut Production Presentation by Dr. Lalith Perera
Kenya Coconut Production Presentation by Dr. Lalith PereraKenya Coconut Production Presentation by Dr. Lalith Perera
Kenya Coconut Production Presentation by Dr. Lalith Pereraictsugar
 
Innovation Conference 5th March 2024.pdf
Innovation Conference 5th March 2024.pdfInnovation Conference 5th March 2024.pdf
Innovation Conference 5th March 2024.pdfrichard876048
 
8447779800, Low rate Call girls in Tughlakabad Delhi NCR
8447779800, Low rate Call girls in Tughlakabad Delhi NCR8447779800, Low rate Call girls in Tughlakabad Delhi NCR
8447779800, Low rate Call girls in Tughlakabad Delhi NCRashishs7044
 
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...lizamodels9
 
Call Girls Miyapur 7001305949 all area service COD available Any Time
Call Girls Miyapur 7001305949 all area service COD available Any TimeCall Girls Miyapur 7001305949 all area service COD available Any Time
Call Girls Miyapur 7001305949 all area service COD available Any Timedelhimodelshub1
 
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,noida100girls
 
Call Us 📲8800102216📞 Call Girls In DLF City Gurgaon
Call Us 📲8800102216📞 Call Girls In DLF City GurgaonCall Us 📲8800102216📞 Call Girls In DLF City Gurgaon
Call Us 📲8800102216📞 Call Girls In DLF City Gurgaoncallgirls2057
 
Future Of Sample Report 2024 | Redacted Version
Future Of Sample Report 2024 | Redacted VersionFuture Of Sample Report 2024 | Redacted Version
Future Of Sample Report 2024 | Redacted VersionMintel Group
 
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCRashishs7044
 
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort ServiceCall US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort Servicecallgirls2057
 
Marketplace and Quality Assurance Presentation - Vincent Chirchir
Marketplace and Quality Assurance Presentation - Vincent ChirchirMarketplace and Quality Assurance Presentation - Vincent Chirchir
Marketplace and Quality Assurance Presentation - Vincent Chirchirictsugar
 
8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCR8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCRashishs7044
 
Flow Your Strategy at Flight Levels Day 2024
Flow Your Strategy at Flight Levels Day 2024Flow Your Strategy at Flight Levels Day 2024
Flow Your Strategy at Flight Levels Day 2024Kirill Klimov
 
Contemporary Economic Issues Facing the Filipino Entrepreneur (1).pptx
Contemporary Economic Issues Facing the Filipino Entrepreneur (1).pptxContemporary Economic Issues Facing the Filipino Entrepreneur (1).pptx
Contemporary Economic Issues Facing the Filipino Entrepreneur (1).pptxMarkAnthonyAurellano
 
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdfNewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdfKhaled Al Awadi
 
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu MenzaYouth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menzaictsugar
 
Independent Call Girls Andheri Nightlaila 9967584737
Independent Call Girls Andheri Nightlaila 9967584737Independent Call Girls Andheri Nightlaila 9967584737
Independent Call Girls Andheri Nightlaila 9967584737Riya Pathan
 
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In.../:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...lizamodels9
 
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
Keppel Ltd. 1Q 2024 Business Update  Presentation SlidesKeppel Ltd. 1Q 2024 Business Update  Presentation Slides
Keppel Ltd. 1Q 2024 Business Update Presentation SlidesKeppelCorporation
 

Recently uploaded (20)

Kenya Coconut Production Presentation by Dr. Lalith Perera
Kenya Coconut Production Presentation by Dr. Lalith PereraKenya Coconut Production Presentation by Dr. Lalith Perera
Kenya Coconut Production Presentation by Dr. Lalith Perera
 
Innovation Conference 5th March 2024.pdf
Innovation Conference 5th March 2024.pdfInnovation Conference 5th March 2024.pdf
Innovation Conference 5th March 2024.pdf
 
8447779800, Low rate Call girls in Tughlakabad Delhi NCR
8447779800, Low rate Call girls in Tughlakabad Delhi NCR8447779800, Low rate Call girls in Tughlakabad Delhi NCR
8447779800, Low rate Call girls in Tughlakabad Delhi NCR
 
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
 
Japan IT Week 2024 Brochure by 47Billion (English)
Japan IT Week 2024 Brochure by 47Billion (English)Japan IT Week 2024 Brochure by 47Billion (English)
Japan IT Week 2024 Brochure by 47Billion (English)
 
Call Girls Miyapur 7001305949 all area service COD available Any Time
Call Girls Miyapur 7001305949 all area service COD available Any TimeCall Girls Miyapur 7001305949 all area service COD available Any Time
Call Girls Miyapur 7001305949 all area service COD available Any Time
 
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
 
Call Us 📲8800102216📞 Call Girls In DLF City Gurgaon
Call Us 📲8800102216📞 Call Girls In DLF City GurgaonCall Us 📲8800102216📞 Call Girls In DLF City Gurgaon
Call Us 📲8800102216📞 Call Girls In DLF City Gurgaon
 
Future Of Sample Report 2024 | Redacted Version
Future Of Sample Report 2024 | Redacted VersionFuture Of Sample Report 2024 | Redacted Version
Future Of Sample Report 2024 | Redacted Version
 
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
 
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort ServiceCall US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
 
Marketplace and Quality Assurance Presentation - Vincent Chirchir
Marketplace and Quality Assurance Presentation - Vincent ChirchirMarketplace and Quality Assurance Presentation - Vincent Chirchir
Marketplace and Quality Assurance Presentation - Vincent Chirchir
 
8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCR8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCR
 
Flow Your Strategy at Flight Levels Day 2024
Flow Your Strategy at Flight Levels Day 2024Flow Your Strategy at Flight Levels Day 2024
Flow Your Strategy at Flight Levels Day 2024
 
Contemporary Economic Issues Facing the Filipino Entrepreneur (1).pptx
Contemporary Economic Issues Facing the Filipino Entrepreneur (1).pptxContemporary Economic Issues Facing the Filipino Entrepreneur (1).pptx
Contemporary Economic Issues Facing the Filipino Entrepreneur (1).pptx
 
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdfNewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdf
 
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu MenzaYouth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
 
Independent Call Girls Andheri Nightlaila 9967584737
Independent Call Girls Andheri Nightlaila 9967584737Independent Call Girls Andheri Nightlaila 9967584737
Independent Call Girls Andheri Nightlaila 9967584737
 
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In.../:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...
 
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
Keppel Ltd. 1Q 2024 Business Update  Presentation SlidesKeppel Ltd. 1Q 2024 Business Update  Presentation Slides
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
 

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