Practical Complex x Event Processing Using JBoss Mi iddleware - - PowerPoint PPT Presentation

practical complex x event processing using jboss mi
SMART_READER_LITE
LIVE PREVIEW

Practical Complex x Event Processing Using JBoss Mi iddleware - - PowerPoint PPT Presentation

Practical Complex x Event Processing Using JBoss Mi iddleware Stack Case Study by y Freedom OSS Practical Open Source Solu olutions For Your Business What is Complex Event Proce cessing (CEP)? CEP is a technology that provides s us


slide-1
SLIDE 1

Practical Complex Using JBoss Mi

Case Study by

Practical Open Source Solu

x Event Processing iddleware Stack

y Freedom OSS

  • lutions For Your Business™
slide-2
SLIDE 2

What is Complex Event Proce

CEP is a technology that provides

detect specific logical events which physical events over a period of tim

Stateful event processing provides

ability to “sense and respond” and

Why is CEP important, particularly

SOA promotes the usage of Ev

and encourages the shift from b

  • peration towards real-time, bu
  • f communicating.

Business processes themselve

driven way. Consider insurance example where most of the acti customers actions.

Because of the overall shift tow

process events intelligently beco where CEP comes in.

cessing (CEP)?

s us with means to define and ich might be made up of multiple time. es us with “situation awareness,” d “track and trace.” ly in the context of SOA? vent Driven Architecture (EDA) batch or pull oriented method of usiness-oriented, push methods es tend to operate in an event- ce or banking industries for ctivities are driven as results of ward EDA, having the capability to ecomes paramount and this is

slide-3
SLIDE 3

What is Complex Event Proce

Today there are many applications

level monitoring to intelligent proce familiar use cases can be listed as:

Medical pandemic detection Fraud detection Intrusion detection Algorithmic trading Traffic hotspots detection RFID based shipmen/arrival/sa Stock trading patterns

Organizations are increasingly ado

effectively manage the increasing n from IT systems, business processe as RFID

cessing (CEP)? (cont’d)

ns of CEP in enterprises from low

  • cessing. Some practical and

s: sales patterns dopting EDA as a platform to g number of events generated sses and physical sensors such

slide-4
SLIDE 4

Business Case Overview – U

Fees Calculation Engine Highly complex, customizable fee

wealthy individuals

Increase frequency of billing from Up to the minute view of fees reve Ability to forecast Fees can be effected by multiple f

IF my portfolio contains more t My expensive art work goes up I’m late on my $20M mortgage Fed has lowered the interest ra It’s after May 1st THEN My fees for the quarter amoun

holdings AND

Bill me at my summer residence

US Trust (Bank of America)

e structures designed for ultra m every 6 months to monthly venue factors and products: than 20% of Red Hat stock AND up in value 10% AND e payment AND rate three times in a row AND nt to 1% of my Real Estate nce

slide-5
SLIDE 5

Business Case Overview – U

Multiple event source systems:

Portfolio Management (3rd P Trading (in-house developed Banking (3rd Party) Mortgage (3rd Party) Market Data (in-house deve Many more…

Existing implementation was a

COBOL programs that were ex and test

US Trust (Bank of America)

s: Party) ed) eloped) a set of batch Mainframe extremely difficult to change

slide-6
SLIDE 6

Technology Solution Overview

EDA

Event streams derived from variou

Applications

Events are published via Technolo IBM’s IMS MS SQL Server Batch File Feeds Oracle’s Siebel CRM Canonical Event Format

CEP Platform Architecture

JBoss MQ Message Bus topics, s JBoss Cache with Property Chang JBoss Rules Inference Engine CEP Domain Specific Language ( JGroups for cache replication JBoss Application Server

iew –EDA and CEP

ious Legacy, COTS and Distributed

  • logy Event Adapters

, segregated by Business Event Type nge Listeners (DSL)

slide-7
SLIDE 7

Client Facing Systems

Fees Events JBOSS MQ Mess

Portfolio Management Investment Policy Statements

Legacy Trade Information

IMS Database

“Cha Banking Information

JBOSS Cache

Working Memory

Inverted Facts DB

  • Backend Systems

Back Office System

Local Java Interfaces

Fees Events ssage Bus - Topics

harles River” Trade Data Customer Information

JBOSS Rules

Analysts

Fees Rules

slide-8
SLIDE 8

Sample of CEP Domain Spec

myRHATStocksListener(int myShares, in RHATPrice = SELECT Avg(St FROM StockTickerStream AS Stream 'RHAT'; IF myShares * RHATPrice > 0 sendEvent(Portfolio) } myArtAppraisalsListener(Set MyArt) { ARTValue = SELECT Stream. 60 Days] FROM ArtAppraisals GROUP B H 1000000 AND Stream.ArtID IN MyArt sendEvent(Art, ARTValue);

ecific Language (DSL)

, int, myPortfolioValue) { Stream.Price) [Range = 1 Day] am WHERE Stream.Symbol = 0.2 * myPorfolioValue THEN io); .ArtValue, Stream.ArtID [Range = lsStream AS Stream BY ArtID Having Avg(Stream.ArtValue) > rt;

slide-9
SLIDE 9

Sample of CEP Domain Specific

} myLatePaymentsListener() { LatePayments = SELECT Cou FROM AccountsPay WHERE S 'MORTGAGE' A 20000000; IF LatePayments > 0 THEN sendEvent(LatePaym } myFeesUpdateEvent(Event Portfolio, Ev NewFee = NewFee + 0.001 * P Art.ARTValue + 0.001 * LatePayment }

cific Language (DSL) cont’d

  • unt(*) [Range > 30 Days]

ayableStream AS Stream Stream.PaymentType = AND Stream.PaymentValue > yment); Event Art, Event LatePayments) { * Portfolio.myPorfolioValue - 0.0005 * nts.PaymentValue;

slide-10
SLIDE 10

Delivered Value

Up to the minute company reve

management, allowing for bette

$5M per year in additional fees Complete sunset of the Legacy CEP Platform Reuse

Fraud Monitoring complex e Tax Slots complex event

venue visibility for upper tter financial planning es revenue cy Fees Application event

slide-11
SLIDE 11

About Freedom Open Source

Freedom OSS is a professional se

focus on the practical implementa products

Freedom Architects and Engineer

implementing stable, scalable and

Our Core Practice Areas:

JBoss Professional Services P Red Hat Professional Services Practical SOA Technical Architecture Practice S.W.A.T Professional Service Continuous Improvement Proce Agile Application Development

ce Solutions

services organization with a tation of JBoss/Red Hat family of ers are fanatical about nd blazingly fast systems. s Practice ces Practice ice ce Practice

  • cess Practice

nt Practice

slide-12
SLIDE 12

About Freedom Open Source

On-Shore Solution Centers in PA, Off-Shore Solution Centers in East Leading technical architecture pro

companies

Extremely talented team of about

  • rganized around various Centers

Privately held corporation

ce Solutions

A,NJ,NC and Texas astern Europe rovider for many Fortune 1000 t 150 technical resources rs of Excellence (CoE)

slide-13
SLIDE 13

Ques stions?