Upload
others
View
1
Download
0
Embed Size (px)
Citation preview
Complex Event Processing forReal-Time Commerce
Paul Vincent
CTO, Business Rules and CEP, TIBCO Software
© 2008 TIBCO Software Inc. for OMG2
Workshop: DOC4RTES
Presenter
� Presenter:Paul Vincent, CTO Business Rules and CEP, TIBCO Software
� Member OMG PRR and W3C RIF rules standards bodies
� Co-author CEP Blog http://tibcoblogs.com/cep
� TIBCO Software Inc.:
� Provides enterprise software that helps companies achieve service-oriented architecture (SOA) and business process management (BPM)
success
� Headquartered in Palo Alto, California
� Over 3,000 customers and offices in 40 countries
� CEP product is TIBCO BusinessEvents
� Developed from a customer solution and launched 2005
� Currently at Release 3.0
© 2008 TIBCO Software Inc. for OMG3
Workshop: DOC4RTES
Agenda for this session
1. Conventional vsComplex Event Processing
2. Example: CEP in Logistics & Operations
© 2008 TIBCO Software Inc. for OMG4
Workshop: DOC4RTES
Business Processes:BPM & Workflow Processes
IT Services: SOA & traditional Data Processing
PersistenceServices
Conventional Event Processing
NewOrderNew
Order(Lots ofEvents)
SynchronousSynchronousSynchronousSynchronousEventsEventsEventsEvents
EventEventEventEvent----atatatat----aaaa----timetimetimetime
Aggregation asAggregation asAggregation asAggregation asdatadatadatadata
Simple event Simple event Simple event Simple event processingprocessingprocessingprocessing
© 2008 TIBCO Software Inc. for OMG5
Workshop: DOC4RTES
Business Processes:BPM & Workflow Processes
IT Services: SOA & traditional Data Processing
PersistenceServices
Complex Event Processing
ContinuousEventProcessing
NewOrderNew
Order
EventStore
Complex Patterns of Events
AsynchronousAsynchronousAsynchronousAsynchronousEventsEventsEventsEvents
(Lots ofEvents)
High performanceHigh performanceHigh performanceHigh performancepersistencepersistencepersistencepersistence
High performanceHigh performanceHigh performanceHigh performancepatternpatternpatternpattern----matching matching matching matching via rules, states, via rules, states, via rules, states, via rules, states,
& queries& queries& queries& queries
© 2008 TIBCO Software Inc. for OMG6
Workshop: DOC4RTES
CEP Terminology
� CEP (technology) applies pattern detection & filtering to the event clouds & streams and their histories
� Multiple modelling / execution paradigms are available for pattern detection
NewOrderNew
OrderEvent Cloud
Event Streams
CEP
© 2008 TIBCO Software Inc. for OMG7
Workshop: DOC4RTES
What does CEP Solve?
CEP raison CEP raison CEP raison CEP raison dddd’’’’etreetreetreetre: : : : quickly respond to quickly respond to quickly respond to quickly respond to detected variancesdetected variancesdetected variancesdetected variances
Usually: Usually: Usually: Usually: warnings precede threatswarnings precede threatswarnings precede threatswarnings precede threats
Valu
e o
f acti
on
the the the the ““““ Latency ProblemLatency ProblemLatency ProblemLatency Problem““““
© 2008 TIBCO Software Inc. for OMG8
Workshop: DOC4RTES
Where CEP fits in Real-Time Commerce
“Situational Awareness”
“Sense and Respond”
“Track and Trace”
© 2008 TIBCO Software Inc. for OMG9
Workshop: DOC4RTES
Complex Event ProcessingTIBCO CEP Reference Architecture example
ITRULES
BUSINESSRULESStrategic rules
Tactical rules
Operational rules
DecisionProcessing
EventProcessing
© 2008 TIBCO Software Inc. for OMG10
Workshop: DOC4RTES
An Event-Decision Architecture
24
EVENT PRE-PROCESSING
EVENTSOURCES
EXTERNAL
.
.
.
LEVEL ONE
Event Tracking & Refinement
User
Interface&
Systems
Event-Decision Architecture
DB MANAGEMENT
HistoricalData
Profiles &Patterns
DISTRIBUTED
LOCAL
EVENTSERVICES
.
.EVENT
PROFILES..
DATABASES
.
.OTHER DATA
LEVEL TWO
Situation Detection & Refinement
LEVEL THREE
Impact Assessment & Predictive
Analysis
LEVEL FOUR
Process Refinement &
Adaptation
-- Adapted from JDLSteinberg, A., & Bowman, C., Handbook of Multisensor Data Fusion, CRC Press, 2001
© 2008 TIBCO Software Inc. for OMG11
Workshop: DOC4RTES
Events
Requirements for CEP Technology
� Access and Monitor the “Event Cloud”
� JMS, RV, SmartSockets, TCP/IP, etc…
� Timers [Lack of Events]
� Can determine event state changes
� Apply Business Logic
and Intelligence
� When {condition/query} => Then {action}
� Optimized Condition Checking
� Maintain State and Facts over time
� Execute Rules based on addition,
removal, modification of Facts Concept Model
for mapping events to facts and data
Rule / Query Model
for recognizing patterns,defining actions
State Model
for determining time-dependent info
Ex
am
ple
CE
P
Pro
du
ct
Arc
hit
ectu
re (
TIB
CO
’s)
© 2008 TIBCO Software Inc. for OMG12
Workshop: DOC4RTES
Standards and CEP
� CEP Technologies and Standards
EventsEvent Processing
State Model
for determining time-dependent info
Rule Model
for recognizing patterns,
defining actions
Concept Model
for mapping events to facts and data
UMLStateModel
UMLPRR
UML ClassModel
EMP(TBA)
© 2008 TIBCO Software Inc. for OMG13
Workshop: DOC4RTES
Example CEP Solutions
Algorithmic TradingFinancial Services
Supply Chain monitoringBusiness Hub (B2B)
Supply Chain monitoringManufacturing
Anti Money-LaunderingGovernment
Power Grid monitoringEnergy
Track & TraceTransportation
Service monitoringTelecommunications
Track & TraceSupply Chain - Logistics
Personalized Customer
management
Banking
ApplicationsIndustry
© 2008 TIBCO Software Inc. for OMG14
Workshop: DOC4RTES
� High value, real-time business
� Large safety + regulatory requirements
� Lots of issues:
� Gate operations sense and respond
� Maintenance situation awareness
� Baggage track n trace
Example: Airline Operations
© 2008 TIBCO Software Inc. for OMG15
Workshop: DOC4RTES
CEP Solution
© 2008 TIBCO Software Inc. for OMG16
Workshop: DOC4RTES
CEP User Interfaces
© 2008 TIBCO Software Inc. for OMG17
Workshop: DOC4RTES
Summary
� Event-based real-time view of business is very important
� Complex Event Processing brings continuous real-time awareness from the “event cloud”
ComplexEvent
Processing
Thank You