Upload
opher-etzion
View
958
Download
0
Embed Size (px)
Citation preview
IBM Software Group – Event Processing technologies
© 2007 IBM Corporation
������������������������ ���������� ��������������� ����� �����
���������������� ������� �������������
���������� ���������� �������������������������������
�
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
�� ��������������� ����
I am wearing three
different hats today
Additional hat – a catalyst in establishing the event processing
community
Once a week I am
wearing the Professor hat and teach an event
processing course
The hat that is providing
food to my children:
IBM Employee
�
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
����������������� ������������ !"#
� ������ ��������� �������$���%!&������������ ��������'�����(���������)*��������������+
� �� ��������)������� ��������(����+
� ��������� ��������� ��������,�������������� ���������������������������� ��������
� �� ��� ��- ���,����������������� ��
� ������ ����������.������������� �� �������,���(����
� /� ������(����������,��� ��� ������,�� �0��������������
� ������0���,����(������(���� �������0������(,� ���.�-��1�
� ��,,&����-,�����2���� ������(������������� �-(�������������������������������� ������������
� 3�� �������,��������(��������.� ����������������������������� ���$������� �������������� ������� �� ����,����� ����������������������'4
�
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
3(�,���
What is event processing ?
Coopetition and EPTS
Event Processing Standards and their role
�
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
�������������� ����������
�
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
������ ����������������������0���������0� 1�
3 ���� ������������ ����-���� �& �(������������ ����������������������,(������
3 ���� ����
5������ �������������0 ������ � ����
6�������
5������-�������1���-(���������� �������7/*�0����� !����(���
6�������5������-�������1���-(���������� �������������������,����
�8�/799:9��2�������
:� ������� ;�,� ������� ,������� ������<4=���,,����-����0��������������� !!=��������������� �������"<4>�-������ �"�!!!�� ���,� �4��"<?�������-����� ������ ���(��4
55��6�0���:� �,�;�� !!>
�
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
����&� �����-�����
� :�����0� �����(,��������������,,�0������ ���� �������
� ����.��(����-���(���������������-������������4
� $0���������& ����������� ��.��(����-���(��������������� �@(������� ��������.��(������������������0����)������������,�0+ ����.��(�����'4
� ��������������-�� �0�������$� ����������� ����(���������������'�� ��� �����$��������������,�.'��������������-����� ������-��������� ��������
���������
� ����!����"�#���� ������"�������������������������$
� ����������������������������� ����������$����������$����������$����������$
�
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
����������������
� :������� �����������������$�����������������������������������������'��������$�����������,���,��� ���������,,'����( �����$�4�4������-��������� (������������ ��������'������� ��,���4�
� �������(�� �A�������������� ��� �����������$�����(����.�,����,��)�������������+'�����,�����,,��������4
� ��������� �� �������� ��(���������
� 7���������������-���
� ��������������������� �����B0� 1�,�0
� 2��� ����� �-,��
� :������������ �-,��
� :���)-(����������(�����+ ������-��������,�������
� ���������������$0������ (��( ����� �� ��������-����������'�����&������$� ����� ��,'�������������� �,������������������������
�
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
������ ������������
� 6���������������,�����������,��0���������� �����-�����
��������� *:������0���������������� ����������-(��������� �������������-��������,������������ ���(������4
�����,�.������� ��������� ���� ������������)����,�.�������+���4�4��(,���,���������� ��� ������������ �� ���������� ��(,��$����)����,�.�� ������������������+ � � �������������-������,��C'���������������� ����� ������������-���(����������������-������������ ����������������������������� ���������$-(������������� ��'4
CEP
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
������ ������������
� 6���������������,�����������,��0���������� �����-�����
��������� *:������0���������������� ����������-(��������� �������������-��������,������������ ���(������4
�����,�.������� ��������� ���� ������������)����,�.�������+���4�4��(,���,���������� ��� ������������ �� ���������� ��(,��$����)����,�.�� ������������������+ � � �������������-������,��C'���������������� ����� ������������-���(����������������-������������ ����������������������������� ���������$-(������������� ��'4
CEP
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
������ ������������
� 6���������������,�����������,��0���������� �����-�����
��������� *:������0���������������� ����������-(��������� �������������-��������,������������ ���(������4
�����,�.������� ��������� ���� ������������)����,�.�������+���4�4��(,���,���������� ��� ������������ �� ���������� ��(,��$����)����,�.�� ������������������+ � � �������������-������,��C'���������������� ����� ������������-���(����������������-������������ ����������������������������� ���������$-(������������� ��'4
CEP
�
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
������ ���������� ���5�������( �
Consume and
react to either raw or complex
events
Generate and
may publish
eventsperform operations
on events
Event Processing
EventConsumer
EventProducer
�
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
Pro
du
cers
Event Flow C
on
su
me
rs*����������� ����� ����D�,�� ��� ����� ���2�(��
�
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
������������� � ��������������������� ���������� ��������
Getting the right Getting the right
information in the
right granularity to
the right person at
the right time
Diagnose Diagnose
problems based
on symptoms and
solve them
Quick observation Quick observation
into exceptional
business behavior
and notification to the
appropriate people
Mitigate or Mitigate or
eliminate
predicted events
Real-time business service visibility based on IT events
Value is in recognizing the significance of an event from a business context
Active Diagnostics
Information
Dissemination
Business Monitoring
Predictive Processing
Service Availability
DetectDecide
Respond
�
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
�-�AE��( ����$�'
�
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
�-�AE��( ����$��'
�
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
�-�AE��( ����$���'
�
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
�-�AE���( ���������
�
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
�-�AE��( ����$�'�
�
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
9� ��� ������$�'�
�
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
9� ��� ������$��'�
��
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
�5��& �������(�,�����,�3�� ���0
Ev
en
t Flo
wEvent
SensorsBusiness Processes
Services &Applications
Event Producer
Event Consumer
Event
Processing
Network
Event Bus
Event Consolidator
Event Handler
State Machines
Event Actuators
Business Processes
Services &
ApplicationsState
Machines
Ev
en
t Secu
rity S
erv
ices
Ev
en
t Mo
nito
ring
an
d A
naly
tic In
frastru
ctu
re
Three major building blocks:
• Event Producers,
• Event Processing Network• Event Consumers
© 2006 TIBCO Software Inc. All Rights Reserved. Confidential and Proprietary.��
TIBCO’- Event Processing Reference Architecture
24
EVENT PRE-PROCESSING
EVENTSOURCES
EXTERNAL
.
.
.
LEVEL ONE
EVENTREFINEMENT
USERINTERFACE
Event Processing (EP/CEP)
DB MANAGEMENT
HistoricalData
Profiles &Patterns
DISTRIBUTED
LOCAL
EVENTSERVICES
.
.EVENT
PROFILES..
DATABASES
.
.OTHER DATA
LEVEL TWO
SITUATIONREFINEMENT
LEVEL THREE
IMPACTASSESSMENT
LEVEL FOUR
PROCESSREFINEMENT
Adapted from JDL: Steinberg, A., & Bowman, C., Handbook of Multisensor Data Fusion, CRC Press, 2001
��
Oracle’s architecture
Publication(Publishers)
Event DataProcessing
SelectionCorrelationDistribution
Consumption(Consumers*)
publish consume
Applications Files/DBs FeedsSensor Data Propagations
* Consumers can act as publishers
��
Oracle’s architecture – cont.
Event DataProcessing
Stream
Stream
Stream
Stream
Stream
Single or multiple stepsLocal or distributed
Select
Process
Compose
Retain
Deliver/propagate
��
IBM Software Group – EDA Initiative
Event-Driven Processing in IBM © 2007 IBM Corporation
���������������������
��
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
�����& ���� ���������� ����������
� �5���������(��������( �����-�(������� !!<���������,(��������,��1���������� ����������������-� �� ��������� �0���������� ��4
� :��� ����������(�������-��0��������� ��� �����,,������� ��� �������� ����������������5������������� �� !!=����8�0�� ���6F4
� >!�����,���� ����������� ����� ������,��������������4�� �������������������������� ���������� ��(,���0� �������( �4� ������,�0������� )1��0�������� + ����������������1�������������� ��������(�����������������������,�4
� ������(����� ���� ���������������� ��0� ���� �,,�,�(����������������
� ����� ����-�� ��������������0�����������(���� �-,�������� ����,����$0������(�������� 1������������������( ��,���'4�
� *��������0� ���
� 0� 1����)�������(���,���� �+G
� ��,,���� ��� ������ ������( ��
� ��������������6����-� � !!=�� ������-��3 ��,��
��
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
����� ���� ����( �� ���������
����6����-� � !!=
� :������ >!�����,����������4
� �� ��(��������������(��������� ��� ������ ������( ��
������ ����,���
� ����� ����������������������-,�������������,������ ��(�����-������������ ��(,�����������������
� ����� �������������1��,�������3 ,��������������-� � !!>���H������������9� ��� ��� ��������� ����������(����
� �� ��(��������
� *������������( �� �������������0�-���������� �,�0� 1� �(��4�
� ������������0�,,�-�����(�,�� ��.������� �-�-,�����������-� � !!#4
��
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
������ ����������������,���������� ����������
� ������������������ 0�������������,����������� ��,�A����������
� ������������� !��� �� �����,��������������������������������������-����1�������� ��,������� ���-�����4
��������
� � ��������������� ���-�(��������� ���������$��� �����������0� �����'�� (��� ���������0������������,(�����������,���� �4
� D���� ����(-������������������ ��(�( �������� ��A������
� ��������,,���(���B���� ���A�������� ��������������� ��A���������� ����� ��������� �����*3�� ����A������4
� 8�,������-,���������� ������������������������������,���
� ����������������������-���������� ��� ����A������� -(�����0� 1�0����� ��(�������� ��� ����A���������� �,����������� ��4�
�
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
����� �����(���������� ��������������
�
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
����� �( �� ������ �������� ��������������� ��
"���#� ��
��
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
������������ ��������������� ������
� :������������/�(���I�� ���� �,������ �( ���� E!#4� :���������������������� ����)������������� ������+ -�����������9����,��������(��������4�
� D( �� ��������������
� �� ��� ���� �,������0�������������
� �� ��0�������� �
��
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
�������������8�,������-,���������� ������������������������������,���
��� 1���������� ��(����H����������(���������
� *���-�����$0� 1��������/*5J!>'
� *��� �-(��������(�����$0� 1���������*��J!>'
� � �� �������/���(�����$0� 1�������33��/:J!='
� �� ����������(�����$0� 1�����������B���J!='
�*����(,������� �������� !!>��& ��������� �������� ���������,� �� ��� ��������������(�� ��,��� ������������� 4�
� 8�,������-,������*5��������(�,������ ������� �������� ��������(�����$�����������(�� ��,������������(�� ��,��������'4
� D(�( ��
� �����������K�( ��,
� :�����9
��
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
������ ��������������� ���������� � �,��
��
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
�������� ���� 0������������ �����������/��1���������� ��������-� �� �������� �0������������ 1��
� 2�����(,����9� ��� �� � ���-� �� ����0� �������(�����������,�������,��������� ��4
� 3�9��������� !!>�������L�����( ������� �� ��������������� ��������� �@(������ �������� �������������,���������� �4
� �5����( �����-�(��� �����,��(����������� ���� ��5����������� ���������,,�0�������(�� ��������������������� ������� �����,����� ��� ����(����� ��� �����������&��������� ��� ��$� �-��'��������������� �����,��������(������0����� ��� �
� 5��1���
� D�������,��� 1���
� ��,��� �
� ���(�� ��,������
� �L:� ����0���.�� ������0����(����� ����� ������
� ����������1���� �������������
� ������-��������0������� �����0�������
� 8�� ���.���,���� ������ ������ ��
��
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
�����,(����������� ������(����� �� ��������������� ������������������ �� ���� ��-����������,���G��������D:E��������������������0&������ 4
� .����������������� ������ ������������� �������� ������������� ��-(�,�����-,��1���� �������� ���������0�,,� ��(��������&���0� 1�������(,��-���������0� �����������(������������ ��������,��������������,,�0��� ����������������������� �� ���� ��$�4�4�-(����������,����'���������������,�������������������������,��������,����4
��
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
g
2��.���,�
Producers Agents
Consumers
if the customer has breached his credit limit the second time within the last 48
hours then divert the workflow based on policies that relate to the history of credit violations in the last year.
Transform validate
Retrospective pattern
�� ����,���
���� ��� �-�,���
����,��������,���(���
��
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
������,���������������� ��0� 1
� �� ����,��������� ���,�����H� �����(������ �(������(�������� ���$0� 1��, ��������� �� ���'4
� ���� ��� �-�,����� �������� (��( ��
� /���,�"��9��� ��������������� /���,� ��*�����&����������������$�������������( ������,������
0� 1�,�0����� (���������'
� ������������ ���������������:���
� ��-,������ �(��������� ��$�����������������������(��������1'� ��-,������(����(,���,����������
�����,��������/���(������ ������������,���������� ���$�(�����7�/'��� ����������������&
� ������(�������
� � ���������,���� ������������������,����������� ��,���&���,����������,���������$��� ��(������(�,�0� 1'
� � ������������&,���(��������������� ��0�������.� ����������(�������,����
��
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
�� ����,���
� �� 1�����������(���,���� ������ �� ���4
� ��,,�-������(�����0����������,�(�������� �����������
� �( ������ ����������BB����,�.������4���B��M"N<
� �������:� ������-������� ����,����� ��������� ������� ��4
�
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
3�9�2D��� �����,��� �����,���������� ��
Code / Execution
PlatformSpecific
Models (PSM)
UML Models -platform specific
PlatformSpecific
Models (PSM)
UML Models -platform specific
Model Driven Architecture (MDA)
ComputationIndependent
Models (CIM)
Business ModelsComputationIndependent
Models (CIM)
Business Models
Platform
IndependentModels (PIM)
UML Models
Platform
IndependentModels (PIM)
UML ModelsProduction Rule
Representation
(PRR)
Related StandardsEvent Metamodel
& Profile
EMP
Business
Motivation Model
(BMM)
BusinessProcess Definition
(BPDM)
UML Behavior
UML State
XML
XSDJava
RDF
RDFSOWL
Ontology Definition
(ODM)
UML Pins
�
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
�����D� ����
� ��������
� �(,���,���������� ������� �����������(�� ��� ����������� ����������&��O
� *��� ���
� /��� ������ �����$�(��� ������ (��( ��'
� 7���� ��,������������ �-(����$�4�4�����&�����'
� *����������������� �-(�����$�4�4�� �-,������� ���'�
� *������ �,����������� ���� (��( ��.���,������������� ������������� ��
� �D�$��*���������� ���'����-��� ������*��� �-(���������������$��*�'�������������-�,���B����������������� ��� ���3����
� .���,���������������������� (��( ���
� �0����� 5��1�����.�����
��
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
���� ��� �-�,���������� ��
� ��,,�-��,��1������� ����� ��,���,������� ��
� ��& 6������������B����� �������������-����
��
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
/���(���������� �
� ������������� ����
� ������,����������-�����&&& ����,��0�����������)�1�,,���������,��� + 0��1��0��������,��,���(����$0����� �������'4
� ��,,����-,����-�,��������������� ��
� ���������������(,�
� *���� ��������� ��)��������+ ����� ���(���������� ����,���(��������������� ����,���(�������,����& ��,���������������� �(���,���(����
��
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
.�������,���(��������,��
� �� ����� �������& ���� ������ .��������������� ����� (,���� .������������E/�� :������*5����,�� (,��� ����� ��,���(���� /�����B������ �,&/�����-�����
��
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
�����,���(���& �,����������� ������� ��������
� :6���& �E/��.���������� ��� ����� �����������%��& 2��������2(,����$�� �����2(,��/'�� �5����� �� ���������������������4�
� 8�����,(��� �0��� ��0�,,������������������,O ��� ���� ������0�,,������������� O
��
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
8�0���(,��0����� �
� ������ �������������&/���(����$��/'
� ��������� �
� ����� J�����������$,�1���E/'4
� ������������������ ���$������'��������&,���(���� ���������6���������,�����������
� 5��0������������������
� ��,(���������-(�&����������(����� �����(������ (���� �������( ���
� :��������0� 1����������A���������(���&&& 0�,,�-���(������(,����� �����,���������0� 1�� � �(���������,��,���(���
� ����� ������0�,,�������,�A��������,��� �(�����/
��
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
����,(�����2��� 1�
��
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
�������0���������������� �� ���������� ���/�������� ���2�,������,�*���-����
� �������(����������$)5(�������2(,���:��,���+��5� -� ������8�,,�'
� ����������(������ ��-�������4
� ����0� ������� ��(��� ������������ ��$0�,,O ���������.����'��������,��� �������� ���,�� ��(���
� �� ��0� ������������-��1�������,�@(���,���.�,������������ ������-����������������� ������,������������������(����
� � ��������� ������,�����������,�������� �(�������4
� $�����������'����E/����������� &��,������������ �����-,������� ��� �-�,���4
� $�����������'���:�,������2L*���������������������������� ������������� �������(���$� ������������@(� ��������A�����������( ��������� �,'O ���������������,,����� �-(����������-��������������������,4
��
Event-driven Processing in IBM
Event-Driven Processing in IBM © 2008 IBM Corporation
��� �����������,�������
� ������� ����,,����� (��-�,���� ���������������,�������������� ���������� ���$��� 0������0�(,���������������������,���C'4
� 9�������������� ���������$� ����������,������ ���������� '�������)������� ���+ �������(�����������������������1�� -(���������������0��O ����0�,,�������������0� ,�4
� ��������������� ����P� ����� �,��-,���������������������������Q�� ��(��������0�,,�������������������-�,�������������(����� �������0������������� ���
� ������(��������� �������������� ���1������������
� 3�9�������1���� ��������������,����0����������&����,���������,��� ���������� �������������&/���(���4�