SlideShare ist ein Scribd-Unternehmen logo
1 von 32
Complex Event Processing
Across Web Applications
   Mike Clymer - Founder, CoBaLU

       Glue Conference 2009

     http://www.clynetic.com
Agenda
Problem Space and Solutions
CEP and Web Application Use Cases
Complex Event Processing (CEP)
Overview
Approaching CEP Design for the Web
Final Thoughts
Q&A
Problems
Web as a platform is growing radically
Consumer Web is increasingly about
real-time information sharing
Information overload for the consumer
 Too complex - data loses meaning

Efficiency vs effectiveness in data
consumption
 Your time is valuable
Current Solutions
Feed subscription ser vices / tools
 Too many data streams, lose focus
 Constant monitoring

Aggregators
 Narrows the focus some
 Still a fire-hose of data
 Too noisy
Current Solutions
Grouping, tagging, and filtering (for
previous solutions)
 Still requires too much management and setup

Semantic applications *
 Are becoming more available
 Relatively new to the consumer conscience
 Top-Down approach has similar goals to CEP
   * http://www.readwriteweb.com/archives/10_semantic_apps_to_watch.php
Goals for Improvement
 Require the user to monitor less data
 Guide the user with intelligently filtered
 data for context and relevance
  Discovery and analysis

 Create situational knowledge that is
 actionable from many data streams
 The Implicit Web
  Paying attention to what is important - context
Agenda
Problem Space and Solutions
CEP and Web Application Use Cases
Complex Event Processing (CEP)
Overview
Approaching CEP Design for the Web
Final Thoughts
Q&A
CEP and Web Apps
The various tools, ser vices, and content
consumed create a seemingly unrelated
net work of data nodes
Interested in computing events related
to “real life”, or web usage
Could build event models from data
related to the social graph
Web App CEP Use Cases
 Yelp recommendations for vendors and
 services based on FB status, Amazon
 purchases, and Google calendar
 Media getting news leads faster
 (Twitter) *
 Tracking global health trends
  http://www.google.org/flutrends/
  Use location to warn of epidemic hotspots
   * http://www.readwriteweb.com/archives/can_media_take_tips_from_t witter_techmemes_experie.php
Web App CEP Use Cases
 Professional net work user lists
 employer as one recently acquired
  Notifies user to update contacts / endorsements
  Grabs relevant job listings from additional
  sources

 Customer Development application
 tracking message boards, blogs and
 Twitter about customer problems, needs,
 wants, likes, complaints, reviews
Web App CEP Use Cases
 Conference management app
  Connects attendees, speakers, and domain
  experts based on event calendars, session
  attendance, Twitter trends, and user profiles
  Uses location to increase net working
  opportunities from previous correlation
  Helps conference organizers manage conference
  hotspots based on location of attendees, Twitter
  trends, service usage
Agenda
Problem Space and Solutions
CEP and Web Application Use Cases
Complex Event Processing (CEP)
Overview
Approaching CEP Design for the Web
Final Thoughts
Q&A
CEP / EP Visually
                                                                                                                    Detected &
Real-Time                                           Situation                                                        Predicted
 Events                                            Refinement
                                                                                                                    Situations




                                             Patterns from
                                             Historical Data

                                               * Adapted by Mike Clymer from (Tim Bass):
     http://www.slideshare.net/TimBassCEP/getting-started-in-cep-how-to-build-an-event-processing-application-presentation-717795
CEP / EP Concepts
The main focus of CEP is to build a
net work technology that creates
knowledge that is both actionable and
situational
CEP is made for processing large
amounts of real-time data with
dynamic analysis and low-latency
Power comes from processing real-time
and historical data in an event cloud
CEP / EP Concepts
CEP uses raw events as input and
processes the event data to detect
actionable situations. CEP then triggers
the right action, at the right time
Typical CEP progression
 event >> correlation >> assessment >> decision >>
 action


                        * Adapted by Mike Clymer from (Tim Bass):
     http://www.thecepblog.com/2007  /05/14/what-is-complex-event-processing-part-1/
CEP / EP Concepts
Many different definitions for CEP
CEP: Architecture vs Algorithm
 Architectures for the event transport
   Can be built as EDA, ESP
   Needed to supply CEP with the input events
 Algorithms for event processing and pattern
 detection (situation recognition)
   Define an Event Processing Language (patterns)
CEP / EP Concepts

Event is the atomic element for analysis
Event is some activity that happened
Events are context dependent
Event patterns related to timing and
causal relationships bet ween events
CEP / EP Concepts
Events are represented by abstractions
 Raw data should be modeled as events

Events are organized into hierarchies
representing abstractions of real-life
hierarchies
Event hierarchies provide the ability to
apply computation and analysis to
related sets of events
CEP / EP Concepts
Goal of CEP w.r.t. ESP:
  Identify the meaningful events within those
  event streams
  Employ techniques such as:
    Detection of complex patterns of many events
    Event correlation and abstraction
    Building event hierarchies, and relationships
    bet ween events such as causality,
    membership, and timing
                * Adapted by Mike Clymer from (Wikipedia):
           http://en.wikipedia.org/wiki/Event_Stream_Processing
Common CEP / EP Uses
      Algorithmic trading - Finance, Energy
      Fraud detection - Web Commerce, Credit
      Track and trace - Patients, Packages
      Sensor net works - RFID, GPS
      MMOGs - Player monitoring
      Net work security - Intrusion detection
                                          * Adapted by Mike Clymer from (Tim Bass):
http://www.slideshare.net/TimBassCEP/getting-started-in-cep-how-to-build-an-event-processing-application-presentation-717795
Agenda
Problem Space and Solutions
Complex Event Processing (CEP)
Overview
CEP and Web Application Use Cases
Approaching CEP Design for the Web
Final Thoughts
Q&A
Architectural Approach
                           Normalize with              Build and Track            Analyze Events          Compare, Correlate,
                         Common Event Data              Event State             Context / Scenario        Analyze Scenarios
Event Sources                                                                                                                        CEP Consumers
                                                                                                                                        User Interface
     Web

     Data
                                                                                                                                                 Web
                                                             Level One          Level Two        Level Three
   Collection
                                                                                                                                                 API
                                             Event
     Agent
                                          Pre-Process           Event           Situation         Predictive
                                                              Tracking          Detection          Analysis


     Data
   Collection                                                  Messaging Backbone                                                                GUI
     Agent
                                                                    CEP Engine
                                                                                     DB Management
                                                   Level Four

     Data                                                                                          Profiles
                                                    Process                     Historical
   Collection                                                                                        and                                       Pub / Sub
                                                   Refinement                       Data
     Agent                                                                                        Patterns

                                                  Take Action
                                                 from Detected
                                                   Situations
                                                          * Adapted by Mike Clymer from (Tim Bass):
                http://www.slideshare.net/TimBassCEP/getting-started-in-cep-how-to-build-an-event-processing-application-presentation-717795
CEP Design Thoughts
Build a messaging backbone to direct
communication bet ween collecting
events, processing events, and
analyzing situations (ner vous system)
 Message queues
 Jabber like application ser vers for pub / sub

Define sets of event patterns, or a
pattern language (EPLs)
 Possibly use DSL - Spec for specific problem
CEP Design Thoughts
Normalize incoming data streams
 Define and adhere to standard formats
 Identify common event data and event pattern
 sets

Try to leverage data standards
 Improves data transport, eases event
 comparison

Utilize data snapshots for historical
and pattern analysis
CEP Design Thoughts
Make use of domain specific agentry
 Agents to collect from heterogeneous data
 sources (sensors)
 Agents to handle basic event processing and
 normalization (pre-processing)
 Agents to apply rules and perform analysis
 (Bayesian nets, neural nets, semantic rules, etc)
 Possibly use agents to drive actions from
 detected situations
CEP Design Thoughts
Design for low-latency, high throughput
 Situation and context detection are often
 associated with a time element
 Data collection agentry will often produce high-
 volumes of data based on the diversity of data
 nodes
 Messaging backbone should be scalable for
 concurrency
Agenda
Problem Space and Common Solutions
Complex Event Processing (CEP)
Overview
Applying CEP to the Consumer Web
Approaching CEP Design for the Web
Final Thoughts
Q&A
Final Thoughts
Design CEP applications with passive
user experience in mind
 Value is derived from helping user figure out what
 is important
 UX is applicable to thirdparty ser vice consumers

Standards, protocols, and reference
architectures can be “good enough”
 Definitely needed for common info exchange
 Practical application > Optimal theory
Final Thoughts
Design with goal adding true data
utility
 Data pass-through is not enough
 Context is the key to data enrichment

Tim O'Reilly Quote: quot;Create more value
than you capture.quot;
 Different context, but relevant to our discussion
Agenda
Problem Space and Common Solutions
Complex Event Processing (CEP)
Overview
Applying CEP to the Consumer Web
Approaching CEP Design for the Web
Final Thoughts
Q&A
Further Exploration
http://complexevents.com/
http://www.thecepblog.com/2007   /05/14/what-
is-complex-event-processing-part-1/
http://www.slideshare.net/TimBassCEP/slideshows
http://en.wikipedia.org/wiki/
Complex_event_processing
http://apama.typepad.com/my_weblog/
http://epthinking.blogspot.com/
Further Exploration
http://www.amazon.com/Distributed-Event-
Based-Systems-Gero-M%C3%BChl/dp/
3540326510/ref=sr_1_3?
ie=UTF8&s=books&qid=1241925043&sr=8-3
http://www.amazon.com/XMPP-Definitive-Real-
Time-Applications-Technologies/dp/059652126X/
ref=sr_1_1?
ie=UTF8&s=books&qid=1241973202&sr=8-1
http://www.amazon.com/Power-Events-
Introduction-Processing-Distributed/dp/
0201727897   /ref=sr_1_1?
ie=UTF8&s=books&qid=1241973250&sr=8-1

Weitere ähnliche Inhalte

Kürzlich hochgeladen

So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Kaya Weers
 
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observabilityitnewsafrica
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integrationmarketing932765
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...itnewsafrica
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...itnewsafrica
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 

Kürzlich hochgeladen (20)

So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)
 
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 

Empfohlen

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 

Empfohlen (20)

Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 

Complex Event Processing Across Web Applications

  • 1. Complex Event Processing Across Web Applications Mike Clymer - Founder, CoBaLU Glue Conference 2009 http://www.clynetic.com
  • 2. Agenda Problem Space and Solutions CEP and Web Application Use Cases Complex Event Processing (CEP) Overview Approaching CEP Design for the Web Final Thoughts Q&A
  • 3. Problems Web as a platform is growing radically Consumer Web is increasingly about real-time information sharing Information overload for the consumer Too complex - data loses meaning Efficiency vs effectiveness in data consumption Your time is valuable
  • 4. Current Solutions Feed subscription ser vices / tools Too many data streams, lose focus Constant monitoring Aggregators Narrows the focus some Still a fire-hose of data Too noisy
  • 5. Current Solutions Grouping, tagging, and filtering (for previous solutions) Still requires too much management and setup Semantic applications * Are becoming more available Relatively new to the consumer conscience Top-Down approach has similar goals to CEP * http://www.readwriteweb.com/archives/10_semantic_apps_to_watch.php
  • 6. Goals for Improvement Require the user to monitor less data Guide the user with intelligently filtered data for context and relevance Discovery and analysis Create situational knowledge that is actionable from many data streams The Implicit Web Paying attention to what is important - context
  • 7. Agenda Problem Space and Solutions CEP and Web Application Use Cases Complex Event Processing (CEP) Overview Approaching CEP Design for the Web Final Thoughts Q&A
  • 8. CEP and Web Apps The various tools, ser vices, and content consumed create a seemingly unrelated net work of data nodes Interested in computing events related to “real life”, or web usage Could build event models from data related to the social graph
  • 9. Web App CEP Use Cases Yelp recommendations for vendors and services based on FB status, Amazon purchases, and Google calendar Media getting news leads faster (Twitter) * Tracking global health trends http://www.google.org/flutrends/ Use location to warn of epidemic hotspots * http://www.readwriteweb.com/archives/can_media_take_tips_from_t witter_techmemes_experie.php
  • 10. Web App CEP Use Cases Professional net work user lists employer as one recently acquired Notifies user to update contacts / endorsements Grabs relevant job listings from additional sources Customer Development application tracking message boards, blogs and Twitter about customer problems, needs, wants, likes, complaints, reviews
  • 11. Web App CEP Use Cases Conference management app Connects attendees, speakers, and domain experts based on event calendars, session attendance, Twitter trends, and user profiles Uses location to increase net working opportunities from previous correlation Helps conference organizers manage conference hotspots based on location of attendees, Twitter trends, service usage
  • 12. Agenda Problem Space and Solutions CEP and Web Application Use Cases Complex Event Processing (CEP) Overview Approaching CEP Design for the Web Final Thoughts Q&A
  • 13. CEP / EP Visually Detected & Real-Time Situation Predicted Events Refinement Situations Patterns from Historical Data * Adapted by Mike Clymer from (Tim Bass): http://www.slideshare.net/TimBassCEP/getting-started-in-cep-how-to-build-an-event-processing-application-presentation-717795
  • 14. CEP / EP Concepts The main focus of CEP is to build a net work technology that creates knowledge that is both actionable and situational CEP is made for processing large amounts of real-time data with dynamic analysis and low-latency Power comes from processing real-time and historical data in an event cloud
  • 15. CEP / EP Concepts CEP uses raw events as input and processes the event data to detect actionable situations. CEP then triggers the right action, at the right time Typical CEP progression event >> correlation >> assessment >> decision >> action * Adapted by Mike Clymer from (Tim Bass): http://www.thecepblog.com/2007 /05/14/what-is-complex-event-processing-part-1/
  • 16. CEP / EP Concepts Many different definitions for CEP CEP: Architecture vs Algorithm Architectures for the event transport Can be built as EDA, ESP Needed to supply CEP with the input events Algorithms for event processing and pattern detection (situation recognition) Define an Event Processing Language (patterns)
  • 17. CEP / EP Concepts Event is the atomic element for analysis Event is some activity that happened Events are context dependent Event patterns related to timing and causal relationships bet ween events
  • 18. CEP / EP Concepts Events are represented by abstractions Raw data should be modeled as events Events are organized into hierarchies representing abstractions of real-life hierarchies Event hierarchies provide the ability to apply computation and analysis to related sets of events
  • 19. CEP / EP Concepts Goal of CEP w.r.t. ESP: Identify the meaningful events within those event streams Employ techniques such as: Detection of complex patterns of many events Event correlation and abstraction Building event hierarchies, and relationships bet ween events such as causality, membership, and timing * Adapted by Mike Clymer from (Wikipedia): http://en.wikipedia.org/wiki/Event_Stream_Processing
  • 20. Common CEP / EP Uses Algorithmic trading - Finance, Energy Fraud detection - Web Commerce, Credit Track and trace - Patients, Packages Sensor net works - RFID, GPS MMOGs - Player monitoring Net work security - Intrusion detection * Adapted by Mike Clymer from (Tim Bass): http://www.slideshare.net/TimBassCEP/getting-started-in-cep-how-to-build-an-event-processing-application-presentation-717795
  • 21. Agenda Problem Space and Solutions Complex Event Processing (CEP) Overview CEP and Web Application Use Cases Approaching CEP Design for the Web Final Thoughts Q&A
  • 22. Architectural Approach Normalize with Build and Track Analyze Events Compare, Correlate, Common Event Data Event State Context / Scenario Analyze Scenarios Event Sources CEP Consumers User Interface Web Data Web Level One Level Two Level Three Collection API Event Agent Pre-Process Event Situation Predictive Tracking Detection Analysis Data Collection Messaging Backbone GUI Agent CEP Engine DB Management Level Four Data Profiles Process Historical Collection and Pub / Sub Refinement Data Agent Patterns Take Action from Detected Situations * Adapted by Mike Clymer from (Tim Bass): http://www.slideshare.net/TimBassCEP/getting-started-in-cep-how-to-build-an-event-processing-application-presentation-717795
  • 23. CEP Design Thoughts Build a messaging backbone to direct communication bet ween collecting events, processing events, and analyzing situations (ner vous system) Message queues Jabber like application ser vers for pub / sub Define sets of event patterns, or a pattern language (EPLs) Possibly use DSL - Spec for specific problem
  • 24. CEP Design Thoughts Normalize incoming data streams Define and adhere to standard formats Identify common event data and event pattern sets Try to leverage data standards Improves data transport, eases event comparison Utilize data snapshots for historical and pattern analysis
  • 25. CEP Design Thoughts Make use of domain specific agentry Agents to collect from heterogeneous data sources (sensors) Agents to handle basic event processing and normalization (pre-processing) Agents to apply rules and perform analysis (Bayesian nets, neural nets, semantic rules, etc) Possibly use agents to drive actions from detected situations
  • 26. CEP Design Thoughts Design for low-latency, high throughput Situation and context detection are often associated with a time element Data collection agentry will often produce high- volumes of data based on the diversity of data nodes Messaging backbone should be scalable for concurrency
  • 27. Agenda Problem Space and Common Solutions Complex Event Processing (CEP) Overview Applying CEP to the Consumer Web Approaching CEP Design for the Web Final Thoughts Q&A
  • 28. Final Thoughts Design CEP applications with passive user experience in mind Value is derived from helping user figure out what is important UX is applicable to thirdparty ser vice consumers Standards, protocols, and reference architectures can be “good enough” Definitely needed for common info exchange Practical application > Optimal theory
  • 29. Final Thoughts Design with goal adding true data utility Data pass-through is not enough Context is the key to data enrichment Tim O'Reilly Quote: quot;Create more value than you capture.quot; Different context, but relevant to our discussion
  • 30. Agenda Problem Space and Common Solutions Complex Event Processing (CEP) Overview Applying CEP to the Consumer Web Approaching CEP Design for the Web Final Thoughts Q&A
  • 31. Further Exploration http://complexevents.com/ http://www.thecepblog.com/2007 /05/14/what- is-complex-event-processing-part-1/ http://www.slideshare.net/TimBassCEP/slideshows http://en.wikipedia.org/wiki/ Complex_event_processing http://apama.typepad.com/my_weblog/ http://epthinking.blogspot.com/

Hinweis der Redaktion