• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content

Loading…

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

Like this presentation? Why not share!

st - demystifying complext event processing

on

  • 1,751 views

 

Statistics

Views

Total Views
1,751
Views on SlideShare
1,751
Embed Views
0

Actions

Likes
1
Downloads
42
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    st - demystifying complext event processing st - demystifying complext event processing Presentation Transcript

    • Demystifying Complex Event Processing* Edson Tirelli CEP Lead Designer Red Hat Inc
    • Demystifying Complex Event Processing* *a.k.a. CEP crash course for BR technologists Edson Tirelli etirelli@redhat.com Lead CEP Designer JBoss, a Division of Red Hat
    • Terminology: Event “An event is an observable occurrence occurrence.” “An event in the Unified Modeling Language is a notable occurrence at a particular point in time.” http://www.wikipedia.org “Anything that happens, or is contemplated as , happening.” “An object that represents, encodes or records an event, generally for the purpose of computer processing” http://complexevents.com Rules Fest – October 2010 – © Edson Tirelli 3
    • Terminology: Event For the scope of this presentation: “An event is a significant change of state at a particular point in time” Rules Fest – October 2010 – © Edson Tirelli 4
    • Terminology: Complex Event “Complex Event, is an abstraction of other events , called its members.” o Examples: o The 1929 stock market crash – an abstraction denoting many thousands of member events, including individual stock trades) o The 2004 Indonesian Tsunami – an abstraction of many natural events o A completed stock purchase -an abstraction of the events in a an transaction to purchase the stock o A successful on-line shopping cart checkout – an abstraction of line shopping cart events on an on-line website line Source: http://complexevents.com Rules Fest – October 2010 – © Edson Tirelli 5
    • Terminology: CEP “Complex Event Processing or CEP, is primarily Complex Processing, an event processing concept that deals with the task of processing multiple events with the goal of identifying the meaningful events within the event cloud. CEP employs techniques such as detection of complex patterns of many events, event correlation and abstraction event hierarchies, abstraction, and relationships between events such as causality, membership, and timing, and event event- driven processes.” -- wikipedia Rules Fest – October 2010 – © Edson Tirelli 6
    • Terminology: CEP o Examples: o Fraud detection (credit cards, social security, banks, telecom carriers, etc) o Logistics Real-Time Awareness solution Time o Neonatal ICU: infant vital signs monitoring o BAM (Business Activity Monitoring) o Risk Assessment o Rating (telecom, traffic) o Traffic flow control o RFID monitoring (products in stores, bags in airports, etc) o … Rules Fest – October 2010 – © Edson Tirelli 7
    • Terminology: CEP vs ESP Complex Event Processing or CEP, and Event Processing, Stream Processing, or ESP, are two , technologies that were born separate, but converged. An oversimplification: at their origins... : Event Stream Processing focused on the ability to process high volume streams of events. Complex Event Processing focused on defining, detecting and processing the relationships among events. Rules Fest – October 2010 – © Edson Tirelli 8
    • Terminology: EDA “Event Driven Architecture (EDA) is a software architecture Event pattern promoting the production detection, consumption of, production, and reaction to events. An 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, detected and consumed by various applications within the architecture.” http://en.wikipedia.org/wiki/Event_Driven_Architecture Rules Fest – October 2010 – © Edson Tirelli 9
    • EDA vs CEP CEP is a 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 muscles and organs o 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/how eda.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 select all the streams, meaningful events, and only them. • [Temporal] Event Correlation: • Ability to correlate events declaring both temporal and non-temporal constraints between them. • Ability to reason over event aggregation. • Event Abstraction: • Ability to compose complex events from atomic events AND reason over them. Rules Fest – October 2010 – © Edson Tirelli 13
    • Event Semantics from a BR PoV “All events are facts, but not all facts are events.” , o An event is a fact with a few special characteristics: o Usually immutable, not necessarily enforced , o Strong temporal relationships o Lifecycle may be managed o Allows the use of 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 few of real interest o Usually events are immutable o Usually queries/rules have to run in reactive mode o Strong temporal relationships between events o Individual events are usually not important o The composition and aggregation of events is important Rules Fest – October 2010 – © Edson Tirelli 15
    • CEP 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