SlideShare a Scribd company logo
1 of 44
Download to read offline
IBM Haifa Research Lab – Event Processing




                           !
                      quot; #$         % quot;
                                    &




                                            © 2008IBM Corporation
IBM Haifa Research Lab – Event Processing




'                                                     (

       I am wearing three
       different hats today


The industrial hat: IBM
(which pays my salary and
in return occupies most of
my time)
                                     Once a week I am
                                   wearing the Professor
                                   hat and teach an event
                                     processing course

                                                          The EPTS chair hat – a
                                                           catalyst in establishing
                                                               this community
          IBM Haifa Research Lab – Event Processing                              © 2008 IBM Corporation
IBM Haifa Research Lab – Event Processing




)*           +                                                      ,-./



                                            0    12
                                                  -             )             3
     4             5                             6
                   5                              4    6
         '#                                                         #             )

                        !      #)                #    # #
                                                                        4
          quot;               4         #                       7
                 7# ) 4                   4            7        4       ! 8
          ' 2           !        #&                   4 )               !4
           #
                    #                   4 #                             #
         0                          $                       $                $#               3


     IBM Haifa Research Lab – Event Processing                                        © 2008 IBM Corporation
IBM Haifa Research Lab – Event Processing


4

      What is event processing ? What is it used for?




        A quick Introduction second generation




          What are the current Research Challenges ?



                 Survey of recent projects



                           Summary

IBM Haifa Research Lab – Event Processing               © 2008 IBM Corporation
IBM Haifa Research Lab – Event Processing




IBM Haifa Research Lab – Event Processing   © 2008 IBM Corporation
IBM Haifa Research Lab – Event Processing




# )                               !4
      Every business person reacts to events, from time
      to time




             Well… there are all sort of reactions…

 IBM Haifa Research Lab – Event Processing                © 2008 IBM Corporation
IBM Haifa Research Lab – Event Processing




                                            We answer
                                            phone calls
                                            everywhere




IBM Haifa Research Lab – Event Processing                 © 2008 IBM Corporation
IBM Haifa Research Lab – Event Processing




                 We have to make arrangements when our
                 flight is delayed


IBM Haifa Research Lab – Event Processing                © 2008 IBM Corporation
IBM Haifa Research Lab – Event Processing



             7                                                        4
4
                                                               I closed the deal with the
                I closed                                       Australians
                the deal with the
                Canadians




                                            We closed two huge deals in a single day,
                                            It is a good opportunity to send all the team to
                                             Las-Vegas




IBM Haifa Research Lab – Event Processing                                        © 2008 IBM Corporation
IBM Haifa Research Lab – Event Processing




'                                  (

    9                                       0                            )
          3                0                                )           3   4       0
         !                     4$                               3         )
                          4         #                               0      4            )
          5                        63                   #

                  )                                 4         +
          :#                  #    !
                       ;                                < 8 7
                                                        7
          &           #        !
          9               #        !
          9 )5!4                   4            6       #!)

                          )       07        4 4                         #!)             3$
         2            0                  3$ #  )                    #           #




    IBM Haifa Research Lab – Event Processing                                   © 2008 IBM Corporation
IBM Haifa Research Lab – Event Processing


                          9                           4
                                                               ?    $     $    $ 4 $
                                                                          $#

                                          Event Processing



      Event                                                                  Event
     Producer                                                              Consumer


    Generate and                                                          Consume and
    may publish                                                           react to either
                                       perform operations on
    events                                                                raw or complex
                                       events
                                                                          events

'      4 #
  8
&=4 2&                                                    #4   $
   #   !4                                                      #
 #     +                                              4
                                                                                         CEP
                                                 #        #        )# >
                                                 8 7

          IBM Haifa Research Lab – Event Processing                                 © 2008 IBM Corporation
IBM Haifa Research Lab – Event Processing




       4                                                  4              * 4
Getting the
right
information
in the right
granularity                                                           BAM
to the right           Information                    Detect   Quick observation into exceptional business
                      Dissemination
person at                                             Decide   behavior and notification to the appropriate
the right                                            Respond   people.
time




Diagnose                                                           Predictive         Mitigate or
             Active Diagnostics                                   Processing
problems                                                                              eliminate
based on                                                                              predicted events
                                           RTE
symptoms and
                        Reactions to events are done as part of business
resolve them
                        transactions – achieving low latency decisions,
                        and quick reaction to threats and opportunities

         IBM Haifa Research Lab – Event Processing                                       © 2008 IBM Corporation
IBM Haifa Research Lab – Event Processing

?                                                                                                     )
                              &
                        4 !          !4 # 4                            ?
          #                            ##   #! 8
               #                   )                                                   4 !                                   Solution:
              $ 2                  8             #     8                         0#                  3
                                                                                                                             Configurable aggregation rules
                  #           4 #                     )     4               4                #
                               @                                                                                                        •Thresholds by currency
                                                                                                                                        •Thresholds by time
                                                                                                                                        •Thresholds by
              #               4#!              #      4#          7                                                                     counterparty/client
              #               4#!                     # 4#                  4




                              Transactional Context               Complex Event Processing                     Transactional Context



 INPUT                           Filter and            Persist        CEP Routing,                                                                       Output
              Transactional                                                                      Aggregation       Database             Transactional
  JMS         Input Queues       Transform            Orders to        Aggregation,
                                                                                                                                       Output Queues       For
                                                                      Temporal Logic                Logic           Update
Pub/Sub                            Logic              Database                                                                                          execution




                                                                                             Aggregated Order Notification to CEP

                                                      Direct passthrough of selected messages
                         IBM Haifa Research Lab – Event Processing                                                                                       © 2008 IBM Corporation
IBM Haifa Research Lab – Event Processing


;    &             4                            8   2   9




    IBM Haifa Research Lab – Event Processing               © 2008 IBM Corporation
IBM Haifa Research Lab – Event Processing



%                               +                          #%
            A
                                                                                   +
                                                                      !     #
                                                                             4
                                                                      4               )
                                                                      7           , #)

                                                         Detect               .-B
                                                         Decide
                                                                          )
                                                        Respond




                                                                              +
                   8 #4
    4                 0                                                .- ?
                                                                         1$
              32              )                                       #! #
            4 4        !      #                                        4
    4           4                     #                           4
        >        )7                       #                       )       #)
               # 7            +
                                                                  4

            IBM Haifa Research Lab – Event Processing                  © 2008 IBM Corporation
IBM Haifa Research Lab – Event Processing




&        9                                     +

    # #4             9    +
                       ,C
            7       4 #      #4
                  ,  4      4 # ! 8
                            1-
                 #4                                 !
                 #                        .C
              4
            9  #4                 #            !
                                   !           4
    4         quot;         9       +
            9;                  #4 7
            !          8            )
                            4
            9                       !               8
                                 $ 4 ##
                                  !
                                 84 7               ,
                4




        IBM Haifa Research Lab – Event Processing       © 2008 IBM Corporation
IBM Haifa Research Lab – Event Processing




 9D 8
   4                              #4        ,   #




IBM Haifa Research Lab – Event Processing           © 2008 IBM Corporation
IBM Haifa Research Lab – Event Processing




.            #,      #




    .                     +
              $            #$
        #2                7
             )                       4                    ,   #         +
    )        )!4 7              )                              ##
                                                               $     ! #
                                                                      4 $             !# #
                                                                                        # $
    )                                                      # ! #05    63$ *   4 D
                                                          &=4    $




              IBM Haifa Research Lab – Event Processing                         © 2008 IBM Corporation
IBM Haifa Research Lab – Event Processing


    +
!                                     4                    #
                                                          7 8



                                          #                     #
    #4

         &4                                                ;


           9                                                    !


                                       !

                                                      4
          IBM Haifa Research Lab – Event Processing                 © 2008 IBM Corporation
IBM Haifa Research Lab – Event Processing
                                                                           .                                C
                                                                  .                                               C
                                                                                ?       +     !
                                                                       #
                                                                                                             F
                                                                                                               .,
                                                                                         #           +
                                                                                9         )                ., H


             #        4        #                                                              ..
                                                     E                              .-
                                            ,                            +
              ,                                                       # ! (                 F
                                /
                                                             .,
                  9           +
                                                                                    H
 ?       ;                                      .G                                                    ..
                                                                           +             .1
                                    1                         ;,?                                            ./
?      ?              1
                                                ?        ?        .C
                                                                                                      +
                  G                                                                 9       4
                                                         E
                                                    .F
                                                                                                            ,-
                                                                                                   .-
                                                                           +         .E
                                                     ;        44 ?


                                                                           .H   /




IBM Haifa Research Lab – Event Processing                                                         © 2008 IBM Corporation
IBM Haifa Research Lab – Event Processing




 '                                    4
                             (




IBM Haifa Research Lab – Event Processing   © 2008 IBM Corporation
IBM Haifa Research Lab – Event Processing


         4

                                            :


                                       ?4




IBM Haifa Research Lab – Event Processing       © 2008 IBM Corporation
IBM Haifa Research Lab – Event Processing




                                   #;

                        7                     5     4               6   7
                         #            #                                     $   @

                                       4            0   #       3           +



                                                            #
                                                            #                   <
                                                                                <
 4 22
  4     <
        <
9
9



                                   ! ###
                                      #
                                   !# #


        IBM Haifa Research Lab – Event Processing                               © 2008 IBM Corporation
IBM Research


Engineering Oriented Challenges

                                           &4          #
             # # 9
                 4        +
               !
            #  2   4

                                                               9
                                                           9


                                 EPN
                                  EPN
  Event
                                                   EPA                    Event
 Producer
                    EPA           EPA                                    Consumer
                                 Pattern
  Event                                                                   Event
 Producer                                                                Consumer
                               EPA               EPA

  Event                       Pattern           Pattern                   Event
 Producer                                                                Consumer

                                                                   #

                                                                       © 2008 IBM Corporation
IBM Haifa Research Lab – Event Processing




?4                                       #;                  +



                                                         #
                                                     2           % #
  ?                                                                # #
 ?4 #                            4




;    !     #




         IBM Haifa Research Lab – Event Processing                       © 2008 IBM Corporation
IBM Haifa Research Lab – Event Processing




:                  #;




                                    4#2
                                                +
                                                         & 2
                                                          4
                                       #            $
                                                               +
                                    4                $
                                                                   $
                                    #!4
                                                          4#




                   4
            quot;      4




    IBM Haifa Research Lab – Event Processing                          © 2008 IBM Corporation
IBM Haifa Research Lab – Event Processing
                                                                         Business User
                                                                          View Point

                            #         !                    4        ##


Why a decision is needed?
• Event Occurred                                                                              Islands of
• Event Pattern has detected                                                                     tools
• Fact has changed
• An explicit request
• Related to other decision

                                                                                           Implementation
  Which information is needed
                                                                                             driven tools
  In order to make this decision?
  • Current state
  • Past events
  • Past states
  • Future states and events.                                                                    Gaps
                                                                                             In coverage
       How the decision should be
       Done?
       • Inference from facts and rules
       • Match patterns on event history                                                 Ability to manage
       • Apply optimization tools                                                         Large complex
                                                                                         Decision network
                                                           Dependent
                                                            Decisions
               IBM Haifa Research Lab – Event Processing                             © 2008 IBM Corporation
IBM Haifa Research Lab – Event Processing



              #
          )#           #                 4                   +
    +
         )                       0       3                       EP
         )                               0      3$                                      Gaps
         ) #                        0 3
      +;4                         0 & 3
     +
     I 7 44                           0   3
     8 7                             0 & 3                       BRMS
       # #                              09 )             3                         Analytics



                                                                                               Most Important
                                                                                                Connection
          )       4                  4               +
J                       #                                        Business User Orientation:
J                                                                The user should be able to author,
J                                                                modify, understand, and audit individual
                                                                 Computerized decisions, as well as the
J                      #                                         Relationships among them

    IBM Haifa Research Lab – Event Processing                                                    © 2008 IBM Corporation
IBM Haifa Research Lab – Event Processing




?4         ;



                                                     &




              % #
94   #
              :




         IBM Haifa Research Lab – Event Processing       © 2008 IBM Corporation
IBM Haifa Research Lab – Event Processing




9 4      )             &                      K




  IBM Haifa Research Lab – Event Processing       © 2008 IBM Corporation
IBM Haifa Research Lab – Event Processing



                                                                       % quot;
                                                                        &
             &
                                            ?4       : ! )
 'L                               4
                     )                                   9   )


 4 2


                                                 :   )       #
                                                              quot;

                                             &




                                                                   #4
                                                                  4#


IBM Haifa Research Lab – Event Processing                         © 2008 IBM Corporation
IBM Haifa Research Lab – Event Processing




                 9)                        M?              74 7 8
        N &!
         4
                   Stratum_1                  Stratum_2            Stratum_S
Producer_1                                                                      Consumer_1

                      Agent_11                      Agent_21        Agent_S1
Producer_2                                                                      Consumer_2

                      Agent_12                      Agent_22        Agent_S2
    .                                                          …                     .
                           .                           .                .
    .                                                                                .
                           .                           .                .
    .                                                                                .
                           .                           .                .

                     Agent_1N1                  Agent_2N2           Agent_SN2


Producer_P                                                                      Consumer_C

        IBM Haifa Research Lab – Event Processing                                 © 2008 IBM Corporation
IBM Research


RFID Store Scenario - 3 Stratum Levels
                                    Stratum1                        Stratum2                               Stratum3
                  TagRead              Filter
                                                      ProductAtCashier                                                   AtLeast5ProductsOf
                                   Loc= “Cashier”
                                                                                                                      SameKindReturnedToShelf
                                                    ProductExitStore            ProductLeftAtCashier
                   TagRead             Filter
 Tag                                                                     Sequence                              Atleast
                                    Loc = “Exit”
   Tag
Reader
     Tag
  Reader            TagRead
       Tag                             Filter                                                                            AtLeast10ProductsOf
    Reader                                               ProductInCart
                                    Loc = “Cart”                                ProductReturnedToShelf
      Reader                                                                                                                 SameKindSold
                                                                         Sequence                              Atleast
                                        Filter
                   TagRead          Loc = “Shelf”     ProductOnShelf



                         Levels          Average         Average                                 Implementation          Input events       Derived
                                    input events          derived                                                                total   events total
                                      throughput      events rate                                                         throughput             rate
                                        (event/s)       (event/s)
                                                                                                      Centralized               1,399             38
   First stratum – 4 agents on           21,419           21,418
                   single node                                                       3 Stratum Levels – second           21,419*4+69           4,485
                                                                                         stratum has the slowest               3*107+
 Second stratum – 2 agents on               693              277                    performance. Maximal flow                29,904 =
                  single node                                                    performance can be achieved                  189,731
                                                                                by combination of 1 node in the
   Third stratum – 2 agents on           29,904            4,485                                                         (upper limit)
                                                                                    third level, 107 nodes in the
                   single node
                                                                                   second layer, 4 nodes in the
  Centralized – all the patterns          1,399               38                                        first level
      are detected by multiple
                                                                                       112 nodes improvement                 13562%         11802%
     agents on same node (8
                        agents)                                                     Additional node improvement                121%        105.37%

                                                                                                                                  © 2008 IBM Corporation
IBM Haifa Research Lab – Event Processing




         2 9                                                     2quot;   4       +
9                         #                                       +
                                                                                         +
quot;   4        ;        4 +                                4                 991
                                                                          4     ;
                                                                           #   8



quot;   4            2;       4 +
                                                                              991
                 4                                   #       #            9
                                                                          @

quot;   4          2         2
     ;       4 +                                                          9
                                                                              9
         #        2
             4
                                                                                          +
                                                                          @



         IBM Haifa Research Lab – Event Processing                            © 2008 IBM Corporation
IBM Haifa Research Lab – Event Processing




                &           2O $
 % quot;
  &
                   4                         4              #   )   7
               !        #                   4 )#       #
     !                          &                           #          )
      2           !4                            9! 4            4
#                  4 )                           #      )
        7         #                         8          #7       #   #
    4       )




IBM Haifa Research Lab – Event Processing                           © 2008 IBM Corporation
IBM Haifa Research Lab – Event Processing




&                                9

     % quot;0
      &                      #        ,- /
                                        -3
        &!
               9
           ) +9 )                                            7 8
     #   !         0#                           $             $
    4 4
     !      $    #    $                                     #@3
     )       ) +9       4                               )          $
       $ #     $   4                            #   #




    IBM Haifa Research Lab – Event Processing                 © 2008 IBM Corporation
IBM Haifa Research Lab – Event Processing




                   +                '               84
         0K             4                       7       9      3
9   4             #           4                 #                        4
                        )            +

    &                 4                )            #
                 4                                  4



     9               0 3                     4                ! ! )=4
      ;        4                           !!               #   #! 4
                                                                  )
               #          4           #                              #
                4




    IBM Haifa Research Lab – Event Processing                                © 2008 IBM Corporation
IBM Haifa Research Lab – Event Processing




         9         I


  quot;      # #  4                                 4
quot; 4   #   ! 7 8 7
   7 8                                              # #
  !    quot; !    #)                            #
  4




IBM Haifa Research Lab – Event Processing            © 2008 IBM Corporation
IBM Haifa Research Lab – Event Processing




?            ?4 #                                       7       ?O
I        4
                                                  # :       K
                                            4 2




IBM Haifa Research Lab – Event Processing                            © 2008 IBM Corporation
IBM Haifa Research Lab – Event Processing

!    quot;                          #                $                    %
                                                                      %
                       & #

                                                     & '
          4      +P
                  4        ,- E
                             -
         #!)                                                      #       !4
                                                              0             7      3
    4#                                           4#          #    7       $ 4$
    9          #                       M                 )
           )                  !                      #       )            # #     $
     #                    M                       #      )                # #
     9     )          #                          0!4         7    !              # #
    4                                                         3$ 8        4       # #
                                                                )

                                                     %        !
                                                     #       #




         IBM Haifa Research Lab – Event Processing                                     © 2008 IBM Corporation
IBM Haifa Research Lab – Event Processing




 ;               4




IBM Haifa Research Lab – Event Processing   © 2008 IBM Corporation
IBM Haifa Research Lab – Event Processing




'   # 7                              #                 #
quot;                  &                                   !
       ' )           4  # #(
    05 4             &4 9    #6$                       !   *    %     3
                              4#                  )!   #
                   7       #               4#          #         )07 @
                       3$ ##                #                   #4
                      7                       #! 8              =4        )         #
                     )$         !            $ #                )$                      4 )
                                    #              #       #          4
              0 ) ##            3+ Dquot;                      2              # #       ! #
                              ! )
            0 ) ##              3+ 9     &Q                               #
                                    4 0                        $4 )
                                                                =                   $
                    4          )     3@                    #                  ! #
                                                                               4
            !                          #




      IBM Haifa Research Lab – Event Processing                                     © 2008 IBM Corporation
IBM Haifa Research Lab – Event Processing




    # #                    4

quot; 8                   # #                      #     #            !
           7
 )                =4 #                  # #+
                                     # #             7                )
                                #
                        ! )                 # # 0    ! !)         ' 2
                        <'                       3
              2        4                # #0                  4           # #3
           #                  # #
'      ! #                                   !) 4           # #
        0                                                   )3        ##
                       # #




IBM Haifa Research Lab – Event Processing                                 © 2008 IBM Corporation
IBM Haifa Research Lab – Event Processing




'                          )                +
                              )          4 !
                                          0          7         7 4#           #
                                R
                                3
                                                 0         )          $
          3                   5                      6          4                       )
        8 ! 4                             7 )@        #7                          7    #
                                                       !                  0       !4
    4                   #
                      # 7
                       #                                44 3
    '            #        S                          $   ! $              $
     T           #4     7  #                                          !
    4              $ #7   #                              # #




    IBM Haifa Research Lab – Event Processing                                      © 2008 IBM Corporation

More Related Content

Similar to Event Processing - The Next Generation; March 2009

Trends in the software industry
Trends in the software industryTrends in the software industry
Trends in the software industry
Li SUN
 
Изучаем миллиард состояний программы на уровне профи. Как разработать быстрый...
Изучаем миллиард состояний программы на уровне профи. Как разработать быстрый...Изучаем миллиард состояний программы на уровне профи. Как разработать быстрый...
Изучаем миллиард состояний программы на уровне профи. Как разработать быстрый...
Positive Hack Days
 

Similar to Event Processing - The Next Generation; March 2009 (7)

Trends in the software industry
Trends in the software industryTrends in the software industry
Trends in the software industry
 
IBM Research and BM Haifa Research Lab Overview
IBM Research and BM Haifa Research Lab OverviewIBM Research and BM Haifa Research Lab Overview
IBM Research and BM Haifa Research Lab Overview
 
9. FORUM INNOVATION
9. FORUM INNOVATION9. FORUM INNOVATION
9. FORUM INNOVATION
 
Exploring billion states of a program like a pro. How to cook your own fast a...
Exploring billion states of a program like a pro. How to cook your own fast a...Exploring billion states of a program like a pro. How to cook your own fast a...
Exploring billion states of a program like a pro. How to cook your own fast a...
 
Изучаем миллиард состояний программы на уровне профи. Как разработать быстрый...
Изучаем миллиард состояний программы на уровне профи. Как разработать быстрый...Изучаем миллиард состояний программы на уровне профи. Как разработать быстрый...
Изучаем миллиард состояний программы на уровне профи. Как разработать быстрый...
 
Operations is a Strategic Weapon (PuppetConf)
Operations is a Strategic Weapon (PuppetConf)Operations is a Strategic Weapon (PuppetConf)
Operations is a Strategic Weapon (PuppetConf)
 
Brasil Ross 2011
Brasil Ross 2011Brasil Ross 2011
Brasil Ross 2011
 

More from Opher Etzion

On Internet of Everything and Personalization. Talk in INTEROP 2014
On Internet of Everything and Personalization. Talk in INTEROP 2014On Internet of Everything and Personalization. Talk in INTEROP 2014
On Internet of Everything and Personalization. Talk in INTEROP 2014
Opher Etzion
 
The Internet of Things and some introduction to the Technological Empowerment...
The Internet of Things and some introduction to the Technological Empowerment...The Internet of Things and some introduction to the Technological Empowerment...
The Internet of Things and some introduction to the Technological Empowerment...
Opher Etzion
 

More from Opher Etzion (20)

DEBS 2019 tutorial : correctness and consistency of event-based systems
DEBS 2019 tutorial  : correctness and consistency of event-based systems DEBS 2019 tutorial  : correctness and consistency of event-based systems
DEBS 2019 tutorial : correctness and consistency of event-based systems
 
Sw architectures 2018 on microservices and eda
Sw architectures 2018    on microservices and edaSw architectures 2018    on microservices and eda
Sw architectures 2018 on microservices and eda
 
ER 2017 tutorial - On Paradoxes, Autonomous Systems and dilemmas
ER 2017 tutorial - On Paradoxes, Autonomous Systems and dilemmasER 2017 tutorial - On Paradoxes, Autonomous Systems and dilemmas
ER 2017 tutorial - On Paradoxes, Autonomous Systems and dilemmas
 
Event processing within the human body - Tutorial
Event processing within the human body - Tutorial Event processing within the human body - Tutorial
Event processing within the human body - Tutorial
 
DEBS 2015 tutorial When Artificial Intelligence meets the Internet of Things
DEBS 2015 tutorial   When Artificial Intelligence meets the Internet of ThingsDEBS 2015 tutorial   When Artificial Intelligence meets the Internet of Things
DEBS 2015 tutorial When Artificial Intelligence meets the Internet of Things
 
Dynamic stories
Dynamic storiesDynamic stories
Dynamic stories
 
Has Internet of Things really happened?
Has Internet of Things really happened? Has Internet of Things really happened?
Has Internet of Things really happened?
 
On the personalization of event-based systems
On the personalization of event-based systems On the personalization of event-based systems
On the personalization of event-based systems
 
On Internet of Everything and Personalization. Talk in INTEROP 2014
On Internet of Everything and Personalization. Talk in INTEROP 2014On Internet of Everything and Personalization. Talk in INTEROP 2014
On Internet of Everything and Personalization. Talk in INTEROP 2014
 
Introduction to the institute of technological empowerment
Introduction to the institute of technological empowermentIntroduction to the institute of technological empowerment
Introduction to the institute of technological empowerment
 
DEBS 2014 tutorial on the Internet of Everything.
DEBS 2014 tutorial  on the Internet of Everything. DEBS 2014 tutorial  on the Internet of Everything.
DEBS 2014 tutorial on the Internet of Everything.
 
The Internet of Things and some introduction to the Technological Empowerment...
The Internet of Things and some introduction to the Technological Empowerment...The Internet of Things and some introduction to the Technological Empowerment...
The Internet of Things and some introduction to the Technological Empowerment...
 
ER 2013 tutorial: modeling the event driven world
ER 2013 tutorial:  modeling the event driven world ER 2013 tutorial:  modeling the event driven world
ER 2013 tutorial: modeling the event driven world
 
Event semantics and model - multimedia events workshop
Event semantics and model -  multimedia events workshopEvent semantics and model -  multimedia events workshop
Event semantics and model - multimedia events workshop
 
Debs 2012 gong show immortality
Debs 2012 gong show immortalityDebs 2012 gong show immortality
Debs 2012 gong show immortality
 
Debs 2012 uncertainty tutorial
Debs 2012 uncertainty tutorialDebs 2012 uncertainty tutorial
Debs 2012 uncertainty tutorial
 
Proactive eth talk
Proactive eth talkProactive eth talk
Proactive eth talk
 
Aaai 2011 event processing tutorial
Aaai 2011 event processing tutorialAaai 2011 event processing tutorial
Aaai 2011 event processing tutorial
 
Debs 2011 pattern rewritingforeventprocessingoptimization
Debs 2011  pattern rewritingforeventprocessingoptimizationDebs 2011  pattern rewritingforeventprocessingoptimization
Debs 2011 pattern rewritingforeventprocessingoptimization
 
Debs 2011 tutorial on non functional properties of event processing
Debs 2011 tutorial  on non functional properties of event processingDebs 2011 tutorial  on non functional properties of event processing
Debs 2011 tutorial on non functional properties of event processing
 

Recently uploaded

Recently uploaded (20)

Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
 
Oauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoftOauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoft
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
Introduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptxIntroduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptx
 
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
 
Microsoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - QuestionnaireMicrosoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - Questionnaire
 
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
 
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfHow Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
 
Overview of Hyperledger Foundation
Overview of Hyperledger FoundationOverview of Hyperledger Foundation
Overview of Hyperledger Foundation
 
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
 
Event-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingEvent-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream Processing
 
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfIntroduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
 
2024 May Patch Tuesday
2024 May Patch Tuesday2024 May Patch Tuesday
2024 May Patch Tuesday
 
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
 
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
 

Event Processing - The Next Generation; March 2009

  • 1. IBM Haifa Research Lab – Event Processing ! quot; #$ % quot; & © 2008IBM Corporation
  • 2. IBM Haifa Research Lab – Event Processing ' ( I am wearing three different hats today The industrial hat: IBM (which pays my salary and in return occupies most of my time) Once a week I am wearing the Professor hat and teach an event processing course The EPTS chair hat – a catalyst in establishing this community IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 3. IBM Haifa Research Lab – Event Processing )* + ,-./ 0 12 - ) 3 4 5 6 5 4 6 '# # ) ! #) # # # 4 quot; 4 # 7 7# ) 4 4 7 4 ! 8 ' 2 ! #& 4 ) !4 # # 4 # # 0 $ $ $# 3 IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 4. IBM Haifa Research Lab – Event Processing 4 What is event processing ? What is it used for? A quick Introduction second generation What are the current Research Challenges ? Survey of recent projects Summary IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 5. IBM Haifa Research Lab – Event Processing IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 6. IBM Haifa Research Lab – Event Processing # ) !4 Every business person reacts to events, from time to time Well… there are all sort of reactions… IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 7. IBM Haifa Research Lab – Event Processing We answer phone calls everywhere IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 8. IBM Haifa Research Lab – Event Processing We have to make arrangements when our flight is delayed IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 9. IBM Haifa Research Lab – Event Processing 7 4 4 I closed the deal with the I closed Australians the deal with the Canadians We closed two huge deals in a single day, It is a good opportunity to send all the team to Las-Vegas IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 10. IBM Haifa Research Lab – Event Processing ' ( 9 0 ) 3 0 ) 3 4 0 ! 4$ 3 ) 4 # 0 4 ) 5 63 # ) 4 + :# # ! ; < 8 7 7 & # ! 9 # ! 9 )5!4 4 6 #!) ) 07 4 4 #!) 3$ 2 0 3$ # ) # # IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 11. IBM Haifa Research Lab – Event Processing 9 4 ? $ $ $ 4 $ $# Event Processing Event Event Producer Consumer Generate and Consume and may publish react to either perform operations on events raw or complex events events ' 4 # 8 &=4 2& #4 $ # !4 # # + 4 CEP # # )# > 8 7 IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 12. IBM Haifa Research Lab – Event Processing 4 4 * 4 Getting the right information in the right granularity BAM to the right Information Detect Quick observation into exceptional business Dissemination person at Decide behavior and notification to the appropriate the right Respond people. time Diagnose Predictive Mitigate or Active Diagnostics Processing problems eliminate based on predicted events RTE symptoms and Reactions to events are done as part of business resolve them transactions – achieving low latency decisions, and quick reaction to threats and opportunities IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 13. IBM Haifa Research Lab – Event Processing ? ) & 4 ! !4 # 4 ? # ## #! 8 # ) 4 ! Solution: $ 2 8 # 8 0# 3 Configurable aggregation rules # 4 # ) 4 4 # @ •Thresholds by currency •Thresholds by time •Thresholds by # 4#! # 4# 7 counterparty/client # 4#! # 4# 4 Transactional Context Complex Event Processing Transactional Context INPUT Filter and Persist CEP Routing, Output Transactional Aggregation Database Transactional JMS Input Queues Transform Orders to Aggregation, Output Queues For Temporal Logic Logic Update Pub/Sub Logic Database execution Aggregated Order Notification to CEP Direct passthrough of selected messages IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 14. IBM Haifa Research Lab – Event Processing ; & 4 8 2 9 IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 15. IBM Haifa Research Lab – Event Processing % + #% A + ! # 4 4 ) 7 , #) Detect .-B Decide ) Respond + 8 #4 4 0 .- ? 1$ 32 ) #! # 4 4 ! # 4 4 4 # 4 > )7 # ) #) # 7 + 4 IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 16. IBM Haifa Research Lab – Event Processing & 9 + # #4 9 + ,C 7 4 # #4 , 4 4 # ! 8 1- #4 ! # .C 4 9 #4 # ! ! 4 4 quot; 9 + 9; #4 7 ! 8 ) 4 9 ! 8 $ 4 ## ! 84 7 , 4 IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 17. IBM Haifa Research Lab – Event Processing 9D 8 4 #4 , # IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 18. IBM Haifa Research Lab – Event Processing . #, # . + $ #$ #2 7 ) 4 , # + ) )!4 7 ) ## $ ! # 4 $ !# # # $ ) # ! #05 63$ * 4 D &=4 $ IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 19. IBM Haifa Research Lab – Event Processing + ! 4 # 7 8 # # #4 &4 ; 9 ! ! 4 IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 20. IBM Haifa Research Lab – Event Processing . C . C ? + ! # F ., # + 9 ) ., H # 4 # .. E .- , + , # ! ( F / ., 9 + H ? ; .G .. + .1 1 ;,? ./ ? ? 1 ? ? .C + G 9 4 E .F ,- .- + .E ; 44 ? .H / IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 21. IBM Haifa Research Lab – Event Processing ' 4 ( IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 22. IBM Haifa Research Lab – Event Processing 4 : ?4 IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 23. IBM Haifa Research Lab – Event Processing #; 7 5 4 6 7 # # $ @ 4 0 # 3 + # # < < 4 22 4 < < 9 9 ! ### # !# # IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 24. IBM Research Engineering Oriented Challenges &4 # # # 9 4 + ! # 2 4 9 9 EPN EPN Event EPA Event Producer EPA EPA Consumer Pattern Event Event Producer Consumer EPA EPA Event Pattern Pattern Event Producer Consumer # © 2008 IBM Corporation
  • 25. IBM Haifa Research Lab – Event Processing ?4 #; + # 2 % # ? # # ?4 # 4 ; ! # IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 26. IBM Haifa Research Lab – Event Processing : #; 4#2 + & 2 4 # $ + 4 $ $ #!4 4# 4 quot; 4 IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 27. IBM Haifa Research Lab – Event Processing Business User View Point # ! 4 ## Why a decision is needed? • Event Occurred Islands of • Event Pattern has detected tools • Fact has changed • An explicit request • Related to other decision Implementation Which information is needed driven tools In order to make this decision? • Current state • Past events • Past states • Future states and events. Gaps In coverage How the decision should be Done? • Inference from facts and rules • Match patterns on event history Ability to manage • Apply optimization tools Large complex Decision network Dependent Decisions IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 28. IBM Haifa Research Lab – Event Processing # )# # 4 + + ) 0 3 EP ) 0 3$ Gaps ) # 0 3 +;4 0 & 3 + I 7 44 0 3 8 7 0 & 3 BRMS # # 09 ) 3 Analytics Most Important Connection ) 4 4 + J # Business User Orientation: J The user should be able to author, J modify, understand, and audit individual Computerized decisions, as well as the J # Relationships among them IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 29. IBM Haifa Research Lab – Event Processing ?4 ; & % # 94 # : IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 30. IBM Haifa Research Lab – Event Processing 9 4 ) & K IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 31. IBM Haifa Research Lab – Event Processing % quot; & & ?4 : ! ) 'L 4 ) 9 ) 4 2 : ) # quot; & #4 4# IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 32. IBM Haifa Research Lab – Event Processing 9) M? 74 7 8 N &! 4 Stratum_1 Stratum_2 Stratum_S Producer_1 Consumer_1 Agent_11 Agent_21 Agent_S1 Producer_2 Consumer_2 Agent_12 Agent_22 Agent_S2 . … . . . . . . . . . . . . . . Agent_1N1 Agent_2N2 Agent_SN2 Producer_P Consumer_C IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 33. IBM Research RFID Store Scenario - 3 Stratum Levels Stratum1 Stratum2 Stratum3 TagRead Filter ProductAtCashier AtLeast5ProductsOf Loc= “Cashier” SameKindReturnedToShelf ProductExitStore ProductLeftAtCashier TagRead Filter Tag Sequence Atleast Loc = “Exit” Tag Reader Tag Reader TagRead Tag Filter AtLeast10ProductsOf Reader ProductInCart Loc = “Cart” ProductReturnedToShelf Reader SameKindSold Sequence Atleast Filter TagRead Loc = “Shelf” ProductOnShelf Levels Average Average Implementation Input events Derived input events derived total events total throughput events rate throughput rate (event/s) (event/s) Centralized 1,399 38 First stratum – 4 agents on 21,419 21,418 single node 3 Stratum Levels – second 21,419*4+69 4,485 stratum has the slowest 3*107+ Second stratum – 2 agents on 693 277 performance. Maximal flow 29,904 = single node performance can be achieved 189,731 by combination of 1 node in the Third stratum – 2 agents on 29,904 4,485 (upper limit) third level, 107 nodes in the single node second layer, 4 nodes in the Centralized – all the patterns 1,399 38 first level are detected by multiple 112 nodes improvement 13562% 11802% agents on same node (8 agents) Additional node improvement 121% 105.37% © 2008 IBM Corporation
  • 34. IBM Haifa Research Lab – Event Processing 2 9 2quot; 4 + 9 # + + quot; 4 ; 4 + 4 991 4 ; # 8 quot; 4 2; 4 + 991 4 # # 9 @ quot; 4 2 2 ; 4 + 9 9 # 2 4 + @ IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 35. IBM Haifa Research Lab – Event Processing & 2O $ % quot; & 4 4 # ) 7 ! # 4 )# # ! & # ) 2 !4 9! 4 4 # 4 ) # ) 7 # 8 #7 # # 4 ) IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 36. IBM Haifa Research Lab – Event Processing & 9 % quot;0 & # ,- / -3 &! 9 ) +9 ) 7 8 # ! 0# $ $ 4 4 ! $ # $ #@3 ) ) +9 4 ) $ $ # $ 4 # # IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 37. IBM Haifa Research Lab – Event Processing + ' 84 0K 4 7 9 3 9 4 # 4 # 4 ) + & 4 ) # 4 4 9 0 3 4 ! ! )=4 ; 4 !! # #! 4 ) # 4 # # 4 IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 38. IBM Haifa Research Lab – Event Processing 9 I quot; # # 4 4 quot; 4 # ! 7 8 7 7 8 # # ! quot; ! #) # 4 IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 39. IBM Haifa Research Lab – Event Processing ? ?4 # 7 ?O I 4 # : K 4 2 IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 40. IBM Haifa Research Lab – Event Processing ! quot; # $ % % & # & ' 4 +P 4 ,- E - #!) # !4 0 7 3 4# 4# # 7 $ 4$ 9 # M ) ) ! # ) # # $ # M # ) # # 9 ) # 0!4 7 ! # # 4 3$ 8 4 # # ) % ! # # IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 41. IBM Haifa Research Lab – Event Processing ; 4 IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 42. IBM Haifa Research Lab – Event Processing ' # 7 # # quot; & ! ' ) 4 # #( 05 4 &4 9 #6$ ! * % 3 4# )! # 7 # 4# # )07 @ 3$ ## # #4 7 #! 8 =4 ) # )$ ! $ # )$ 4 ) # # # 4 0 ) ## 3+ Dquot; 2 # # ! # ! ) 0 ) ## 3+ 9 &Q # 4 0 $4 ) = $ 4 ) 3@ # ! # 4 ! # IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 43. IBM Haifa Research Lab – Event Processing # # 4 quot; 8 # # # # ! 7 ) =4 # # #+ # # 7 ) # ! ) # # 0 ! !) ' 2 <' 3 2 4 # #0 4 # #3 # # # ' ! # !) 4 # # 0 )3 ## # # IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 44. IBM Haifa Research Lab – Event Processing ' ) + ) 4 ! 0 7 7 4# # R 3 0 ) $ 3 5 6 4 ) 8 ! 4 7 )@ #7 7 # ! 0 !4 4 # # 7 # 44 3 ' # S $ ! $ $ T #4 7 # ! 4 $ #7 # # # IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation