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
eti...
“An event is an observable occurrence
“An event in the Unified Modeling Language is a
notable occurrence at a particular
T...
For the scope of this presentation:
“An event is a significant
Terminology: Event
“An event is a significant
state at a pa...
“Complex Event, is an abstraction of other events
called its members.”
o Examples:
o The 1929 stock market crash –
thousan...
“Complex Event Processing
an event processing concept that deals with the
task of processing multiple events with the goal...
o Examples:
o Fraud detection (credit cards, social security, banks, telecom
carriers, etc)
o Logistics Real-Time Awarenes...
Complex Event Processing
Stream Processing, or ESP, are two
technologies that were born separate, but
converged.
Terminolo...
“Event Driven Architecture (EDA)
pattern promoting the production
and reaction to events. An event
significant change in s...
EDA vs CEP
CEP is a component
Source: http://elementallinks.typepad.com/.shared/image.html?/photos/uncategorized/simple_ev...
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 ...
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
...
CEP Requirements
• Event Detection:
• From an event cloud or set of streams
meaningful events, and only them.
• [Temporal]...
Event Semantics from a BR
o An event is a fact with a few special characteristics:
o Usually immutable, not necessarily en...
Complex Event Processing
o A few characteristics of common CEP scenarios:
o Huge volume of events, but only a
o Usually ev...
CEP Market PlayersCEP Market Players
Source: Paul Vincent
http://tibcoblogs.com/cep
Rules Fest – October 2010 – © Edson Ti...
Q&A
o To know more:
o Complex Events:
o http://www.complexevents.com/
o Drools Documentation:
o http://www.jboss.org/drool...
Upcoming SlideShare
Loading in...5
×

st - demystifying complext event processing

1,600

Published on

Published in: Business, Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,600
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
50
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

st - demystifying complext event processing

  1. 1. Demystifying Complex Event Processing* Demystifying Complex Event Processing* Edson Tirelli CEP Lead Designer Red Hat Inc
  2. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 16. CEP Market PlayersCEP Market Players Source: Paul Vincent http://tibcoblogs.com/cep Rules Fest – October 2010 – © Edson Tirelli 16
  17. 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
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×