Complex Event Processing © Mark A. Garlick Implementing CEP with SOA

Preview:

Citation preview

Complex Event Processing

© Mark A. Garlick

Implementing CEP with SOA

2Copyright © 2006 AptSoft Corporation. All Rights Reserved

Objective: Introduce and Stimulate Thinking

– Some Event Basics– The Union of CEP and SOA– Application Examples

Challenges:

Definitions

Architectural clarity

Interfaces

Appropriateness

3Copyright © 2006 AptSoft Corporation. All Rights Reserved

Introduction

David Cameron

Vice President, Product Integration

AptSoft Corporation

781.270.4900 x102

david.cameron@aptsoft.com

4Copyright © 2006 AptSoft Corporation. All Rights Reserved

Agenda

Events and CEP Overview

CEP and SOA Together

CEP Application Characteristics

5Copyright © 2006 AptSoft Corporation. All Rights Reserved

The Event

Definition: If a tree falls in a forest…

Source: a1webserver.com

“A state change of note”

6Copyright © 2006 AptSoft Corporation. All Rights Reserved

The Event Object

Instantiation: An apple v. a picture of an apple…

Source: cepolina.com Source: eslijunction.com

“A[n] [electronic] representation of an event with information about the

event”

v.

7Copyright © 2006 AptSoft Corporation. All Rights Reserved

The Event Context

Context: Timing, sequence and relationships

Source: turtletrader.com Source: plum-blossom.net Source: terra.es

“Event patterns”

8Copyright © 2006 AptSoft Corporation. All Rights Reserved

CEP: Correlation and Orchestration

• Developed at Stanford University in the mid-1990’s

• DARPA grant• Theory of activity correlation

and orchestration via new “Event Pattern | Condition | Action” paradigm

“The goal of CEP is to enable the information contained in the events flowing through all of the layers of the enterprise IT infrastructure to be discovered, understood in terms of its impact on high level management goals and business processes, and acted upon in real time.”

Professor David Luckham

Stanford University

9Copyright © 2006 AptSoft Corporation. All Rights Reserved

CEP: Correlation and Orchestration

…non-linear event patterns…

Context-sensitive…

…trigger follow-up activity.

Event Pattern | Condition | Action (ECA) Block

10Copyright © 2006 AptSoft Corporation. All Rights Reserved

CEP: Correlation and Orchestration

Event Pattern

Condition

Action

Bus

ines

s S

tep

Event Pattern

Condition

Action

11Copyright © 2006 AptSoft Corporation. All Rights Reserved

Agenda

Events and CEP Overview

CEP and SOA Together

CEP Application Characteristics

12Copyright © 2006 AptSoft Corporation. All Rights Reserved

Event-driven Applications and CEP

Non-Services ServicesComplex

EventProcessing

Correlation ANDEvent Decisioning, Process Flow and Monitoring

Eve

nt S

ervi

ceNetworks People

Devices

DatabasesApplications

Event CloudEvent Cloud

•Enable a more sophisticated type of event-driven application

•Enable hybrid applications involving synchronous and asynchronous processing.

13Copyright © 2006 AptSoft Corporation. All Rights Reserved

The Added-value of CEP

Event GenerationAggregate EventsAd-hoc StreamsEventFlowsContext CorrelationNon-event Detection

CEP Functionality

14Copyright © 2006 AptSoft Corporation. All Rights Reserved

Agenda

Events and CEP Overview

CEP and SOA Together

CEP Application Characteristics

15Copyright © 2006 AptSoft Corporation. All Rights Reserved

Event-driven Applications and CEP

Unpredictable, non-linear process flowDynamic processing logic

Time-sensitive, closed loop processing

Fraud PreventionRisk Management

Compliance VerificationCustomer Service

Customer AcquisitionCross-selland more!

Business Process Management (BPM)Business Rules Engines (BRE)

Business Activity Monitoring (BAM)

Expense Report Approval v. Ramp Operations Automation

Recommended