SlideShare uma empresa Scribd logo
1 de 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

Mais conteúdo relacionado

Último

🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 

Último (20)

🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 

Destaque

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
 

Destaque (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/

Notas do Editor