Your SlideShare is downloading. ×
Tutorial in DEBS 2008 - Event Processing Patterns
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Tutorial in DEBS 2008 - Event Processing Patterns

2,009
views

Published on

Event Processing patterns

Event Processing patterns

Published in: Technology, Business

0 Comments
5 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,009
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
222
Comments
0
Likes
5
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. IBM Haifa Research Lab – Event Processing ! © 2008IBM Corporation
  • 2. IBM Haifa Research Lab – Event Processing quot; ! # $ $ , &* $ ! , % & - $ '() ! . && * , * $ + + * $ ! $ IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 3. IBM Haifa Research Lab – Event Processing & * $ $ * + + ! $$ * + / quot; 0 + quot; 0 $ $ -$ .& IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 4. IBM Haifa Research Lab – Event Processing 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 1 $ 2 + Event Event Business Services & State Producer Sensors Processes Applications Machines Event Monitoring and Analytic Infrastructure Event Consolidator Event Security Services Event Flow Event Event Bus Processing Network Event Handler Event Event Business Services & State Consumer Actuators Processes Applications Machines Three major building blocks: • Event Producers, • Event Processing Network • Event Consumers IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 7. IBM Haifa Research Lab – Event Processing 3 3 + 4 + 3 $ 5 6 789 : + ; 6< =( *$ > 1 & 9 9 > 1 ( 6 <7 9 : ? 7 7 : : 7 7 ::=( $ $ ( ! + $ 9 & 9 $ 9 $ ( ; 5 * 9 2$ % @ 3 + 4, &$ & 9 * & A 9 BC7 :9 9 D '@DDB IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 8. IBM Haifa Research Lab – Event Processing 3 E &$ Consumers Producers Agents Detect Pattern Enrich g If a customer sends three requests within three hours on the same topic and the first two requests have been handled, notify immediately to the “unhappy customers officer” and include count of “unhappy” detections for this customer in the last year IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 9. IBM Haifa Research Lab – Event Processing 3 E &$ Consumers Producers Agents 3 Detect Pattern 1 3 Enrich g $$ 1 & 3 3 3 If a customer sends three requests over the last day on the same topic and the requests have been handled, notify immediately to the “unhappy customers officer” and include count of “unhappy” detections for this customer in the last year IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 10. IBM Haifa Research Lab – Event Processing quot; + 4 35 $ $ + 35 E $ $$ F *$ $ & $ 1 $ & F * $ $$ 2 $ $$ & $ ( IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 11. IBM Haifa Research Lab – Event Processing E &$ '; / $$* 1 & - $$* & . E &$ + 4 $ G & $ ( 1 & $ $$ ; ; G /$ & *$ $$*@ 1 *1 & $ $$ ; F * 1 & ; & G $ ;1 @ &! 2 $ $$ ; 7 % *; $@B@ C *1 & : ; D G $ ( H G !& 9 G I + * J & IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 12. IBM Haifa Research Lab – Event Processing E &$ , * & & @ &! $$* * 1 & ; & & *$ $$*@ 1 * & 1 E 1 & ; & $ $$ ; 2 $ $$ ; $ ;1 @ &! *; $@B@ C *1 & K * & ; $ ( L / $$*@ M IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 13. IBM Haifa Research Lab – Event Processing 1 E &$ 1 ; 1 $$ ; N E 3 & G !& G !& *@! 1 E 1 & 9 $ 9 * $$ ; 2 $ $$ ; $ & G G !& !& '* * $$ ; G !& IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 14. IBM Haifa Research Lab – Event Processing &$ @N N ( & && 9 ! G !* & * $$ ( IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 15. IBM Haifa Research Lab – Event Processing &$ @ *@! ! $ @! IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 16. IBM Haifa Research Lab – Event Processing @ & ; & ; 9 ! ( *! + 4 ( $ ; $ & $ IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 17. IBM Haifa Research Lab – Event Processing @ & ; & ! 9 $ 9 & & 9 E (( IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 18. IBM Haifa Research Lab – Event Processing 1 &$ E ,$ IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 19. IBM Haifa Research Lab – Event Processing 1 - . + 4@ & ! + *$ *$ 1 # 7 $ : quot; * $ # @& $ & $ 4 9+ & 4 *$ @ $ ( 1 ; $ $ 1 % IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 20. IBM Haifa Research Lab – Event Processing $ + & & & 4 $ ! * $ * $ ! ! + *$ 7 @ *$ $ $ : 7 ! ! * @ *$ :( && $$ & @@ 9 *$ 9 & @ 7 + & : IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 21. IBM Haifa Research Lab – Event Processing IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 22. IBM Haifa Research Lab – Event Processing quot; * $ *# + $ & ! ! !quot; # # $% # !quot; & ' !(& ) ' # # # Event-Id Time-Stamp Quote Volume $% )quot; E1 9:00 33.23 E2 9:10 33.04 320,000 E3 9:20 33.11 280,000 E4 9:30 33.01 400,000 * # E5 9:40 32.90 315,000 # E6 9:50 33.04 320,000 E7 10:00 33.20 303,000 +%% %%% + , E8 10:10 33.33 219,000 E9 10:20 33.11 301,000 E10 10:40 33.00 210,000 & # + E11 10:50 32.78 400,000 -quot; E12 11:00 32.70 176,000 How many times the trade programming is triggered ; Which arguments are used in each triggering? IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 23. IBM Haifa Research Lab – Event Processing 1 , @ G ! *@ G & *$ 9 $ & & $ + & & $ 1 $ ! *@ G @ G ; 7 & : & + & E& & 7 & : + * & 3 ! 4 $ , &$ 9 @ G & 9 & & E& @ & ( 3 ; & & * G & 9 $$ G 9 & G & G ( & & * G ! ( & ; 4 + 4@ ! * ! * 4 + 4@ ! * 0 & E & @$ I 0 & & @$ ! * 0 G * I6 0 G *( @ ; ! * & !* ( IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 24. IBM Haifa Research Lab – Event Processing & . $ / # 0 . 1 2 # 0 . + / # # # # 0 . 3 / 4 0 . 5quot; / & # 0 . 6 # ( #0 . 7 # 0 IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 25. IBM Haifa Research Lab – Event Processing ; 1 E $ E , $ & @ $ $ * *$ & $ IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 26. IBM Haifa Research Lab – Event Processing E &$ & G + & $ + G ! 9 * && * - $$* & . - $$*. & * 1 E !quot;# $ % $ $ ! &$ $ ! ' ( ( *$ () $ ) * + #* ) $ ) ' ( (* , -* & $ $ $ + . $ / ( . $ $ ! $ + $ $ + $ 0- ! $ % $ ) . $ : IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 27. IBM Haifa Research Lab – Event Processing 1 E ,+ & # & & + ! + , & $ 1 +; IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 28. IBM Haifa Research Lab – Event Processing 1 E , & & !*; < 9 49 & = & !*; < 9 49 & 9 =, & $ 7 ( ( 9$ 49 & $ = quot; # E &$ ; LP; 9 *@ & @ M9 L *@ & @ 9 J' M9 L G , 9 G M $ & O ! quot; # ! 9 *9 + 'F & 7 5 : * & $ E quot; # 1 & 9 & J 9 Q $$ + & quot; # A &9 9 4 IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 29. IBM Haifa Research Lab – Event Processing 1 E $$ quot; $$ + E $ 9 $ & E 7 ( ( *@ & @ & & :# ! $ ; E + + + ,+ + 4 - E & .$ ( IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 30. IBM Haifa Research Lab – Event Processing $ $ + $$ 7 & & @ $ $ :( IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 31. IBM Haifa Research Lab – Event Processing *$ 2 2 & 1 E & 2 $ 4 & , & * ! &$ 9! & IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 32. IBM Haifa Research Lab – Event Processing 2 3 7 '9((9 : + < '9((9 = 2 7 '9((9 : + * < '9((9 = 3 & E 9 !* $ IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 33. IBM Haifa Research Lab – Event Processing 2 1 7< '9((9 =9 9 9 L<+'9Q9+ =: 3 9 $ * + + $$ ( $ + 7 * ; < G9 9 9 9 9 =: + <& 9 & E9 =7 9 9 9 : + ! + IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 34. IBM Haifa Research Lab – Event Processing & @ &$ G 7 '9Q9 : '9(( 7 9 9 @ *$ : + & !* 4 ! 3 &$ $ & 9 & *! & & 7 $ : IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 35. IBM Haifa Research Lab – Event Processing & @ $ O $ @ &$ 7 '9 9 9L M: '9 + $ * 6 <39 9 quot;9 9 3 9 3quot;9 9 quot;= 7 9 : + ! & & , &E ( * &$ $ $ @ &$ $ ( IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 36. IBM Haifa Research Lab – Event Processing 1 E & ! 7 '9Q9 : '9(( + E N O E 7 : + 7 : 7 E : E $ 7$ & * $ : 3 @ 7 '9Q9 : + < '9Q9 = ! !* *$ 1 E & *! & + & IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 37. IBM Haifa Research Lab – Event Processing 0 $ ; 2 $ N G 7 :( quot; & &$ IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 38. IBM Haifa Research Lab – Event Processing $ - .$ &$ $ 1 $ ! && $ *$ 9 ( ( @ G ( I *@ G ( IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 39. IBM Haifa Research Lab – Event Processing & 7 : * *& * , $ 9 * *& G ; N L ! M@ 7 & : L ! M@ @ L M @ E$ ; 7 ! @ : & 7 ! @ : ! 66 4 O ! 9 + , O $ ! 5 ! $ * 2 $ * 2 @ & ; G $$ @ & ; & &$ * * & IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 40. IBM Haifa Research Lab – Event Processing & 7 : 1 *$ * , $ E F @ $ F $ E / & , $ ! $ E L M 1 &$ $ * 2 @ 9 ! @ E 21 & ,L M - & . ! @ 2 3 & @ ! @ 3 & 9+ 3 ! E$ ( & *! , ( ( $ IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 41. IBM Haifa Research Lab – Event Processing & 7 : & && ,+ $ , E & E & * 7 ! &$ : IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 42. IBM Haifa Research Lab – Event Processing $ &$ + $ $ ( E &$ ; G 7 '9 :& * &$ < 'B9 )= $ & &$ & *$ ; E , * & & &$ , 1 E , * E , $ $ 1 ; &$ 2 & & $ !* $ $ !* $ ( IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 43. IBM Haifa Research Lab – Event Processing & E &$ 7 : 1 E quot; 6L @ 9 @ M>+ 6 & 1 E $$ + $ *@ G 9 @ G *$ 3 7 E@ H6 @ : 7 * @ 4 @ I6 * @ 4 : 7 @ 4 @ I6 @ 4 : 77 @ : * @ !* @ : IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 44. IBM Haifa Research Lab – Event Processing & E &$ 7 : & $ * *& ; N 7 @ G :9 N 71 & @ *@ G ( E@ : 2 ; @ & 1 *; & 1 &$ ; & & ; 1 ; 7 & : IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 45. IBM Haifa Research Lab – Event Processing & . $ / # 0 . 1 2 # 0 . + / # # # # 0 . # . 3 / 4 0 # . 5quot; / & # 02 . 6 # ( #0 . 7 # 0 2 IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 46. IBM Haifa Research Lab – Event Processing IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 47. IBM Haifa Research Lab – Event Processing $$ &$ &@ $ @ $ 7 ( ( : IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 48. IBM Haifa Research Lab – Event Processing E &$ $ N $ &$ $ @ $ @ $ IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 49. IBM Haifa Research Lab – Event Processing N 1 ; Ignore Orders for N & 4 *+ Customer John Galt & 1 E ! & 8 IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 50. IBM Haifa Research Lab – Event Processing &$ $ 1 ; N & 4 *+ When recent of ice-scrapers sales & Untypically High is 1 E Raise Price Salt 3 & of 8 IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 51. IBM Haifa Research Lab – Event Processing $ 1 ; N & 4 *+ When More than 15 Orders & O * 1 E Wait for service With the same agent ! & Assign help to agent 8 3 & 1 IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 52. IBM Haifa Research Lab – Event Processing 2 1 ; N & 4 *+ When More than 50% Stock quotes & value with BMC, EMC, CA, 1 symbol from the list HP, CHKP E is up by 1% Within 30 minutes ! the last & Apply program 70 trade 8 3 & IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 53. IBM Haifa Research Lab – Event Processing ! IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 54. IBM Haifa Research Lab – Event Processing + $ *, &! &$ ! $ ! $ / $ IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation
  • 55. IBM Haifa Research Lab – Event Processing + * && * 7 & 9! $ : A IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation