Getting Started in CEP: How to Build an Event Processing Application

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

1 comments

Comments 1 - 1 of 1 previous next Post a comment

  • + guest605457e guest605457e 10 months ago
    Very Good Analysis

    Jeff Frier
    netvision.com
Post a comment
Embed Video
Edit your comment Cancel

Notes on slide 1

Getting Started in CEP: How to Build an Event Processing Application These materials can be reproduced only with written approval from Gartner. Such approvals must be requested via e-mail: vendor.relations@gartner.com.

19 Favorites & 1 Group

Getting Started in CEP: How to Build an Event Processing Application - Presentation Transcript

  1. Getting Started in CEP: How to Build an Event Processing Application Tim Bass Founder and CTO SilkRoad
  2. Our Agenda
    • UNDER CONSTRUCTION
    www.thecepblog.com
  3. Business Event Clouds Adapted from Roy Schulte, Gartner Web 2.0 & social nets Click streams RSS, Atom feeds Poll Web page scrapes Orders ATM transactions Credit card authorizations and transactions Airline reservations Telco Call Records Financial trade “ticks” RFID networks Bar code scans Device & application alerts e-mail, IM Insurance claims Traditional OLTP Sensor Networks Web and Net Other Transaction Streams Factory floor Micropayments Web commerce Inquiries Large Companies Experience 10 4 to 10 7 Business Events Per Second
  4. Our Agenda
    • Summary of CEP/EP and Example Use Cases
    • How To Build an Event Processing Application
    • Wrap Up
  5. A Perspective on CEP/EP
  6. CEP is a Key Enabler in Many Kinds of BAM Courtesy of Roy Schulte, Gartner Process Monitoring Unstructured Data Situational Awareness Track and Trace Comparison Prediction Reality
    • Monitor metrics
    • Sequence stitching
    • Alert on anomalies
    • Drill down to detail records
    • Fraud
    • Hot prospect
    • Customer churn
    Pattern Matching Model Construct Execute Monitor B2B
  7. Summary of Event Processing Use Cases
    • Cyber and algorithmic trading — Finance, energy
    • Compliance reporting and monitoring — MiFID, RegNMS, SOX
    • Adaptive CRM — Call centers and web clicks
    • Financial controls — "Track and trace," , surveillance
    • Fraud detection — Web commerce, AML, credit cards, telco
    • Track and Trace – Patients, packages, pharmaceuticals
    • Military — Situational awareness, intelligence
    • Security and Networks — Intrusion detection (IDS) and NMS
    • Sensor networks — RFID, GPS and others
    • Transportation operations — Trucks, airlines, ships or trains
    • Service Level Agreements (SLAs) – Telco, B2B, networks
  8. Fraud Detection Use Case Courtesy of TIBCO Software, 8th Annual Japan's International Banking & Securities System Forum, Tokyo, Japan, Feb 2007 Overall 100 Million Hits Handled Between 3PM – 4 PM Peak Approx. 250 Million Hits Per Day Across the Three Sites Approx. 12,000 Hits Per Second During Peak Period Across the Three Sites Session Info Three Server Farms ~600-700 Application Servers
  9. Algorithmic Trading Use Case Courtesy of Progress Apama apama event scenario Multi-Dimensional Any-To-Any Correlation ! ! ! ! time real-time data streams S&P500 NYSE NASDAQ FTSE Example Event Scenario ( S&P moves by 2%) AND ( IBM price within 2% of $59.18 OR MSFT price within 1% of $43.49 ) WITHIN ( any 2 minute time period ) THEN ( BUY IBM & SELL MSFT )
  10. MMO Engine (HERO) Monitoring Courtesy of Simutronics, StreamBase and SL Corporation
  11. Key Take Aways
    • Event processing applications can be:
      • Complex, processing simple events into complex events and situations with real-time sense-and-respond capabilities
        • False detections should be very low
        • Accurate detection should be very high
      • Low latency stream processing
        • Event processing should be fast and latency should be low
        • Analytics are relatively simple (compared to complex situation detection)
    • Complex situation detection and stream processing are:
      • Complimentary in many, if not most, future CEP/EP applications
      • Work hand-in-hand to solve complex problems
  12. Our Agenda
    • Summary of CEP/EP and Example Use Cases
    • How To Build an Event Processing Application
    • Wrap Up
  13. Key EDA Concepts Aggregate events across multiple sources; correlate with historical data, refine Detect events across the enterprise in real-time. Normalize and contextualize. Manage resources, processes; Invoke actions in real-time Analyze & Visualize Sense Respond ©2007, Tim Bass
  14. How To Use a Functional Reference Architecture as a Framework for EP 24 EVENT SOURCES EXTERNAL . . . Visualization, BAM, User Interaction DISTRIBUTED LOCAL EVENT SERVICES . . EVENT PROFILES . . DATA BASES . . OTHER DATA Adapted by Tim Bass from the JDL: Steinberg, A., & Bowman, C., Handbook of Multisensor Data Fusion, CRC Press, 2001 EVENT PRE-PROCESSING LEVEL ONE EVENT TRACKING Functional Reference Architecture for CEP/EP DB MANAGEMENT Historical Data Profiles & Patterns LEVEL TWO SITUATION DETECTION LEVEL THREE PREDICTIVE ANALYSIS LEVEL FOUR ADAPTIVE BPM
  15. How To Know Where You Are Headed
    • Multi-level inference in a distributed event-decision architectures
      • User Interface (Dashboards, BAM, Visualization, Portals)
        • Human visualization, monitoring, interaction and situation management
      • Level 4 – Process Refinement (Adaptive BPM)
        • Decide on control feedback, for example resource allocation, sensor and state management, parametric and algorithm adjustment
      • Level 3 – Impact Assessment (Predictive Analytics)
        • Impact assessment, i.e. assess intent on the basis of situation development, recognition and prediction
      • Level 2 – Situation Refinement (Situational Detection)
        • Identify situations based on sets of complex events, state estimation, etc.
      • Level 1 – Event Refinement (Event Track and Trace)
        • Identify events & make initial decisions based on association and correlation
      • Level 0 – Event Preprocessing
        • Cleansing, transformation of raw event data to produce semantically understandable data
    Level of Inference Low Med High
  16. How To Scope Your Application
    • Determine Event Sources
      • Do you have access to the events?
      • What are the security requirements?
    • Determine Event Transport(s) Services
      • Publish and subscribe messaging? JMS?
      • Feed backed transport such as RSS or ATOM
      • Request / Reply (Polling) and SOA
    • Determine Your Adaptation Requirements
        • SNMP
        • File adapters such as Unix syslog
        • Database
    Low Med
  17. How To Think About EP Analytics
    • Do You Need Edge Processing?
      • Rule-based edge filtering?
      • Event routing and distribution services?
      • High performance hardware services?
    • Determined Event Processing Requirements?
      • Event stream processing using continuous queries?
      • Filtering, transformation and routing?
      • State management over long periods of time?
      • Statistical methods to deal with uncertainty?
      • Modelling and visualization Tools
    Low Med
  18. Events Sources (1/2)
    • Devices as Event Sources
      • Routers, hubs, switches, and similar network or telecommunication devices
      • Network appliances designed for alerting, like a firewall, sniffer or an IDS
      • Sensors and sensor networks including RFID readers
    • Log Files as Event Sources
      • Application log files including syslog ()
      • Other flat file event logs
    • Databases as Event Sources
      • Change (insert, update, or delete) to a row of the source table events
      • Events captured in real time during the transaction
    • Data Feeds as Event Sources
      • Market data feeds
      • News feeds (RSS / Atom)
      • Other feeds from feed handlers
  19. Events Sources (2/2)
    • Message-Oriented Middleware (MOM) as Event Sources
      • JMS
      • TIBCO RV
      • IBM MQ
    • Analytics as Event Sources
      • Rules-engines
      • Statistical analytics (e.g. Bayesian inference engines)
      • Artificial neural networks
      • Filters and signal processors (e.g. Kalman filters)
      • CEP and ESP engines (could also be or include one or more of the above)
    • Process and Resource Management Systems as Event Sources
      • BPM systems
      • CRM systems
      • Tealeaf adapter for Customer Experience Monitoring/Analytics.
    • Users as Event Sources
      • E-mail, SMTP
      • IM
    • Timers as Event Sources
  20. Events Transformation Services
    • XML Transformations
      • XPath (including JXPath)
      • XSLT
      • XQuery
      • XStream
      • DOMToXML and XMLToDOM
    • Scripting Transformations
      • PHP
      • PERL
      • Regular Expressions (Regex)
    • Event Processing Agent Transformations
      • Event Processing Languages (EPLs)
    • Other Transformations
      • Cryptographic Transformations
      • Encoding Transformations
      • CVS Transformations
      • Vendor Specific Transformations
  21. Event Preprocessing and Track and Trace
    • Use Case Example: Fraud Detection
      • Financial services / ecommerce application
      • Hundreds of web servers, many server farms
      • Real-time click-stream processing to detection fraud
    • How To Get Started?
      • Passive hardware sniffing?
      • Pre-process header and payload information?
      • Pre-filter?
      • Session vector management?
    • Your Turn, You Be the Designer
  22. Correlation Across Numerous Platforms The Heart of Complex Event Processing
    • Use Case Example: Fraud Detection
      • Financial services / ecommerce application
      • Pre-processing (edge processing) “solved”
        • Data normalized and cleansed for data integration
      • Numerous fraud-detection and security platforms
    • How To Get Started?
      • Cross-platform correlation rules?
      • Rules, Bayesian networks (BN) or neural nets (e.g.)
    • Your Turn, You Be the Designer
  23. An EP Functional Reference Architecture 24 EVENT SOURCES EXTERNAL . . . Visualization, BAM, User Interaction DISTRIBUTED LOCAL EVENT SERVICES . . EVENT PROFILES . . DATA BASES . . OTHER DATA Adapted by Tim Bass from the JDL: Steinberg, A., & Bowman, C., Handbook of Multisensor Data Fusion, CRC Press, 2001 EVENT PRE-PROCESSING LEVEL ONE EVENT TRACKING Functional Reference Architecture for CEP/EP DB MANAGEMENT Historical Data Profiles & Patterns LEVEL TWO SITUATION DETECTION LEVEL THREE PREDICTIVE ANALYSIS LEVEL FOUR ADAPTIVE BPM
  24. Other Design Factors to Consider
    • Historical Data, Databases, Patterns
      • Regulatory Issues
      • Privacy Issues
      • Capacity Planning
    • Visualization
      • BAM
    • Work Flow and BPM
    • EDA and SOA Design Principles
      • Intelligent agents as services (hint, you need both)
  25. Wrap Up and Your Questions
    • Event processing varies in complexity
      • Simple event processing with stand alone systems
      • High performance stream processing and edge services
      • Distributed heterogeneous architecture integrating SOA and EDA
    • CEP/EP vendors vary in capability
      • Stand alone systems, purpose built applications
      • EP integrated with adapters, analytics, dashboards
      • Complete extensible enterprise integration
    • So, Please Consider a Framework to Help You Plan Where You are Going
  26. Thank You! Tim Bass

+ Tim BassTim Bass, 2 years ago

custom

5615 views, 19 favs, 3 embeds more stats

Getting Started in CEP: How to Build an Event Proce more

More info about this document

© All Rights Reserved

Go to text version

  • Total Views 5615
    • 5595 on SlideShare
    • 20 from embeds
  • Comments 1
  • Favorites 19
  • Downloads 0
Most viewed embeds
  • 15 views on http://jisi.dreamblog.jp
  • 4 views on http://burningthemidnightoil.wordpress.com
  • 1 views on http://alicia-yaneth.blogspot.com

more

All embeds
  • 15 views on http://jisi.dreamblog.jp
  • 4 views on http://burningthemidnightoil.wordpress.com
  • 1 views on http://alicia-yaneth.blogspot.com

less

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel
File a copyright complaint
Having problems? Go to our helpdesk?

Categories

Groups / Events