SlideShare una empresa de Scribd logo
1 de 63
Descargar para leer sin conexión
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Event Processing Applied to
Streams of TV Channel Zaps and
Sensor Middleware with Virtualization
PhD Defense
P˚al Evensen
Department of Electrical Engineering and Computer Science
University of Stavanger, Norway
April 23rd, 2013
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Outline
Introduction
Background
Project Context
Research Contributions
SenseWrap
SenseWrap
EventCaster
System Architecture
Esper and EPL
Television Statistics
Background
Implementation
Statistics
Deployment
Paradigm Comparison
Performance
Complexity
Conclusions
AdScorer
Overview
Experiments
Live Scoring Results
Summary
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
From this
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
To this
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Request/Reply
Client Server
Request
Reply
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
To this
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
and this
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Publish/Subscribe
Publisher Subscriber
Publisher
Subscriber
Subscriber
Subscriber
Event
Service
Notification
publish
notify
subscribe/unsubscribe
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
IS-Home
Altibox at home
INTERNET
From 10 to 400
Mbit/s, both ways
DIGITAL TV
Choose between
150 TV channels,
film rental and more.
ALARM SERVICES
Alarm monitoring
centre. Direct alarm
connection to the fire
brigade.
 MOBILE PHONE
SERVICES
Same rate, no
matter who you call
IP TELEPHONY
No charges to
Landlines in
Scandinavia
Tv
FILM RENTAL
Choose from
1000 titles
Now in HD too
FOOTBALL
The whole Premier
League and
Tippeligaen (Norwegian
football pools league)
NEWS
Up to date local news
TV-GUIDE
A complete overview
for your TV evening
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Research Contributions
Two main topics:
1. Sensors in smart homes
• Middleware for hiding the heterogeneity of devices
2. Event processing applied to TV channel zaps
• Architecture for efficient processing of high volumes of events
• Evaluating programming models for stateful event processing
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Outline
Introduction
Background
Project Context
Research Contributions
SenseWrap
SenseWrap
EventCaster
System Architecture
Esper and EPL
Television Statistics
Background
Implementation
Statistics
Deployment
Paradigm Comparison
Performance
Complexity
Conclusions
AdScorer
Overview
Experiments
Live Scoring Results
Summary
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Motivation
Sensors
and
actuators
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
SenseWrap Features
• IP-enabling sensor devices
• Uniform interface to hetereogeneous devices
• A “blueprint” for developers of smart home applications
• Automatic network configuration and service discovery
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
SenseWrap Architecture
Virtual
Sensor
Physical sensors
Sensewrap
Virtual
Sensor
Sensor protocol (ZigBee, Bluetooth, etc)
z
e
r
o
c
o
n
f
Driver Driver
Gateway
Service
UDP TCP
Service
TCP
Service
HTTP
Client Client Client
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Outline
Introduction
Background
Project Context
Research Contributions
SenseWrap
SenseWrap
EventCaster
System Architecture
Esper and EPL
Television Statistics
Background
Implementation
Statistics
Deployment
Paradigm Comparison
Performance
Complexity
Conclusions
AdScorer
Overview
Experiments
Live Scoring Results
Summary
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Event-Driven Architecture
Event Processing
Network
Event
Processing
Agents
Event ConsumersEvent Producers
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Components
• Esper
• HornetQ
• Custom Java glue
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Event Flow and Interfaces
Event
Processor
Adapter
Event
Publisher
Event
Processor
Event
Publisher
Message bus
Producer Core
Event
EPL
EPL
Update
Listener
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Event Processing Language (EPL)
• Declarative query language derived from SQL
• Operates on stream data as opposed to relational data
• Looks for event patterns that matches the query, and
produces an output event
• Includes additional operators, such as sliding windows
• Part of the Esper framework (Open Source)
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Continuous Queries
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Sliding Windows
win:time(10 sec)
time
0 10 20
now
e1 e2 e3 e4 e5
1 select ∗ from ChannelWin.win:time(10 sec)
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Event Patterns
Simple
A
Event
Complex
C
Event
Simple
B
Event
1 select ∗ from pattern [every a=A −> b=B]
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Outline
Introduction
Background
Project Context
Research Contributions
SenseWrap
SenseWrap
EventCaster
System Architecture
Esper and EPL
Television Statistics
Background
Implementation
Statistics
Deployment
Paradigm Comparison
Performance
Complexity
Conclusions
AdScorer
Overview
Experiments
Live Scoring Results
Summary
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Current State of TV Viewer Statistics
• Sample size is 0.045 % of Norwegian television households
• Only 0.022 % of American households are sampled
• Data collection requires specialized equipment
• Transferred once a day
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Motivation
• IP-based Set Top Boxes (STBs) allows for more accurate
statistics
• Ads can be evaluated on an individual basis
• Additional behavioral markers such as mute and volume
changes allows for better understanding
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
The Future of Media Measurement
• Current measurement methods for TV not in line with new
models of media consumption
• Gartner: The online/offline division of media will be replaced
by measured/unmeasured by 2015
• STB data increasingly being used to augment traditional TV
ratings
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Altibox Deployment of IPTV
• Over 320,000 STBs deployed in Norway and Denmark
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Our Scenario
• Two-way communication
• Immediate transfer of zap, mute, hdmi and volume events
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Observed Events
• Channel change event (also called a zap event)
• HDMI status event: TV set on/off
• STB audio on/off event (mute)
• STB volume change event
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Number of zap events/day over a 15-day period
31 1 2 3 4 5 6 7 8 9 1011121314
2
2.2
2.4
2.6
·106
Avg=2212097
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Zapping Activity
0 5 10 15 20
0
0.5
1
1.5
·105
Time (hrs)
30 Minutes
15 Minutes
5 Minutes
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
EPL Viewer Statistics
Esper Engine
Zaps ChannelWin
channelName,
viewersselect(...)
channelName,
viewers
1 select channelName, viewers
2 from ChannelWin
3 output snapshot every 1 sec
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Trude/18
Sykkel:Girod`Italia14.etappe
Sport&Spill
Reisemål
Lørdagsmagasinet
Sportsnyhetene
Været
Vinnpåminuttet9:12
Nyhetene
GodkveldNorge
Sportsnyhetene
Film:Mordpåkreditt
Sykkel:Girod`Italia-oppsummering
Farmen30:30
Nyhetene
Akvariet
TV2hjelperdeg11
0
10000
20000
30000
40000
50000
60000
12:00 14:00 16:00 18:00 20:00 22:00
Viewers
Time
Viewers for TV2 Norge + TV2 HD, Saturday 21.05.2011, Separated by Zip Codes
Total viewers
0001-3999
4000-5999
6000-7999
8000-9999
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
30000
35000
40000
45000
50000
55000
60000
65000
70000
10:00 12:00 14:00 16:00 18:00 20:00 22:00
Seere
Tidspunkt
Seerstatistikk for TV2 Norge og NRK1, Lørdag 21.05.2011
TV2 Norge + HD
NRK1 + HD
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Annoyance Detection
• Aimed at detecting ads/programs that is causing viewers to
change channel
• Triggers an output event on rapid drop in viewers on a
particular channel
• Sliding window algorithm, continously comparing viewer
number with the last minute average
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Annoyance Detector
Annoyance detector
ZapSnap
.win.time
(1 min)
channelName,
viewers,
avg(viewers)
avg(viewers)
having(...)
channelName,
viewers
1 select channelName, viewers, avg(viewers)
2 from ChannelWin(viewers > 2000).win:time(1 min)
3 group by channelName
4 having viewers < avg(viewers) ∗ 0.85
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Deployment Details
• Processes over 40,000 events/min at peak hours
• Deployed in the Altibox network across four servers:
ZapCollector Message
bus
Database
Core
+
Manager
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
CPU load - ZapCollector
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
CPU load - Message bus
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
CPU load - EventCaster instance
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Outline
Introduction
Background
Project Context
Research Contributions
SenseWrap
SenseWrap
EventCaster
System Architecture
Esper and EPL
Television Statistics
Background
Implementation
Statistics
Deployment
Paradigm Comparison
Performance
Complexity
Conclusions
AdScorer
Overview
Experiments
Live Scoring Results
Summary
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
EPL and Java Implementations
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Experimental Setup for Performace Evaluation
• 2,117,897 zap events (one day)
• RHEL6,Quad Core 2.4GHz CPU, 14GB RAM
• Processing capacity tested by loading events from:
• Memory
• Disk
• Network: UDP and HornetQ
• Memory consumption tested by loading events from:
• Memory
• Disk
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Processing capacity
Memory Disk UDP HornetQ
0
2
4
6
8
·105
Events/sec
Esper Java
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Memory consumption
From memory From disk
600
800
1,000
1,200
1,400
1,600 1,570
1,401
590 577
Memoryused(MB)
Esper Java
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Performance Evaluation - Observations
• The Java implementation outperforms the Esper version
• Can be accredited to abstraction overhead imposed by the
Esper engine
• Performance margin decrease as network overhead is
introduced, but is still significant
• UDP benchmarks offer 45% higher throughput with the Java
version
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Halstead’s Metrics
• Metrics that describe the complexity and effort required to
write a program
• Sees a program as a series of tokens, classified as either
operands or operators
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Complexity Metrics
0 100 200 300 400
Vocabulary (n1+n2)
Program length (N1+N2)
Total operators (N1)
Total operands (N2)
Unique operators (n1)
Unique operands (n2)
Lines of code
(Java)
(EPL)
Viewer Statistics
Annoyance Detector
Parsing and Query Setup
Utility Functions
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Complexity Evaluation - Observations
• The EPL implementation scores slightly better for the viewer
statistics application
• EPL scores significantly better for the annoyance detector
• Initial effort was similar for both applications
• Expanding EPL applications is significantly easier than Java
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Summary
• The Java implementation is the most performant
• The Esper implementation is easier to expand
• Can be attributed to different degrees of abstraction
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Outline
Introduction
Background
Project Context
Research Contributions
SenseWrap
SenseWrap
EventCaster
System Architecture
Esper and EPL
Television Statistics
Background
Implementation
Statistics
Deployment
Paradigm Comparison
Performance
Complexity
Conclusions
AdScorer
Overview
Experiments
Live Scoring Results
Summary
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Deployment
TV Network
AdDetector
Mute
AdSuccess-
Evaluator
STBs
Inputadapters Stats
Ad start
Channel zap events Filtering,
transformation
Zap
Ad success score
Historical
stats
Processing
QueueingInput
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Defining an advertisement as a context in EPL
Listing 1: Context declaration
1 create context AdBreakCtx as
2 initiated by
3 AdIdentified(begin=true) as ad
4 terminated by
5 AdIdentified(detectId=ad.detectId, begin=false) as endAd
Listing 2: Populating the context
1 context AdBreakCtx
2 create window STBsnapshots.win:keepall() as STBWin
3 insert where
4 channel in (context.ad.channel) and hdmi=true and mute=false
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Experimental Setup for AdScorer Evaluation
• 1.5 hour of prime time TV was recorded
• Advertisement times were manually recorded
• 23 days of STB data was sent through the system in order to
reach a correct state
• Logged STB data and AdIdentified-events was then pushed to
the system
• Simulation run
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Viewer numbers
Figure: Viewership (in thousands) for the three largest channels, NRK1,
TV2, and TVN.
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Viewer numbers
12	
  
13	
  
14	
  
15	
  
16	
  
17	
  
18	
  
19	
  
20	
  
21	
  
S E S E S E
TVN	
  
Figure: Viewership (in thousands) for a single channel (TVN).
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Retained Viewers
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Gained Viewers
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Raw output for a single ad
1 Event: {
2 AdId: Mitsubishi ASX,
3 channel: TV2 Norge,
4 startTime: 22:55:12,
5 stopTime: 22:55:32,
6 viewersBegin: 83846,
7 retained: 79244,
8 IAR: 94.51,
9 mutes: 141,
10 viewersLost: 4602,
11 average volume: 49.64
12 }
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Summary
• AdScorer is capable of delivering an unprecedented level of
detail, not possible through the current measurement regime
• The results indicate that our implementation is capable of
scoring advertisements on multiple channels simultaneously in
near real-time with consistent results
Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer
Thank You for listening!

Más contenido relacionado

Destacado

Report on ESPN TV Channel
Report on  ESPN TV ChannelReport on  ESPN TV Channel
Report on ESPN TV ChannelTechno Suchen
 
Indian Tv Channel must be banned in Bangladesh
Indian Tv Channel must be banned in BangladeshIndian Tv Channel must be banned in Bangladesh
Indian Tv Channel must be banned in BangladeshMohammod Al Emran
 
Luxury TV Channel investment offer
Luxury TV Channel investment offerLuxury TV Channel investment offer
Luxury TV Channel investment offerluxchannel
 
Assignment 7 – tv channel research! complete (1)
Assignment 7 – tv channel research!  complete (1)Assignment 7 – tv channel research!  complete (1)
Assignment 7 – tv channel research! complete (1)Abc Abc
 
Program Proposal to TV Channel -Safeeron Ki Dunya (World of Ambassadors )
Program Proposal to TV Channel -Safeeron Ki Dunya (World of Ambassadors )Program Proposal to TV Channel -Safeeron Ki Dunya (World of Ambassadors )
Program Proposal to TV Channel -Safeeron Ki Dunya (World of Ambassadors )Diplomatrix
 
Assignment #7 TV Channel Research
Assignment #7 TV Channel ResearchAssignment #7 TV Channel Research
Assignment #7 TV Channel Researchmedia_jojo
 
10 Things You Need To Know About The Future of Television
10 Things You Need To Know About The Future of Television10 Things You Need To Know About The Future of Television
10 Things You Need To Know About The Future of TelevisionAlan Wolk
 
Who TV Channel break first the Imran Khan news
Who TV Channel break first the Imran Khan news Who TV Channel break first the Imran Khan news
Who TV Channel break first the Imran Khan news Mediatrack Pakistan
 
Television Industry PowerPoint
Television Industry PowerPointTelevision Industry PowerPoint
Television Industry PowerPointlexi_officer
 

Destacado (12)

TV Channel: RTR Planeta
TV Channel: RTR PlanetaTV Channel: RTR Planeta
TV Channel: RTR Planeta
 
Report on ESPN TV Channel
Report on  ESPN TV ChannelReport on  ESPN TV Channel
Report on ESPN TV Channel
 
Indian Tv Channel must be banned in Bangladesh
Indian Tv Channel must be banned in BangladeshIndian Tv Channel must be banned in Bangladesh
Indian Tv Channel must be banned in Bangladesh
 
Luxury TV Channel investment offer
Luxury TV Channel investment offerLuxury TV Channel investment offer
Luxury TV Channel investment offer
 
Assignment 7 – tv channel research! complete (1)
Assignment 7 – tv channel research!  complete (1)Assignment 7 – tv channel research!  complete (1)
Assignment 7 – tv channel research! complete (1)
 
Program Proposal to TV Channel -Safeeron Ki Dunya (World of Ambassadors )
Program Proposal to TV Channel -Safeeron Ki Dunya (World of Ambassadors )Program Proposal to TV Channel -Safeeron Ki Dunya (World of Ambassadors )
Program Proposal to TV Channel -Safeeron Ki Dunya (World of Ambassadors )
 
Assignment #7 TV Channel Research
Assignment #7 TV Channel ResearchAssignment #7 TV Channel Research
Assignment #7 TV Channel Research
 
10 Things You Need To Know About The Future of Television
10 Things You Need To Know About The Future of Television10 Things You Need To Know About The Future of Television
10 Things You Need To Know About The Future of Television
 
TV 2020 - The future of television
TV 2020 - The future of televisionTV 2020 - The future of television
TV 2020 - The future of television
 
Who TV Channel break first the Imran Khan news
Who TV Channel break first the Imran Khan news Who TV Channel break first the Imran Khan news
Who TV Channel break first the Imran Khan news
 
Television
TelevisionTelevision
Television
 
Television Industry PowerPoint
Television Industry PowerPointTelevision Industry PowerPoint
Television Industry PowerPoint
 

Similar a Event Processing Applied to Streams of TV Channel Zaps and Sensor Middleware with Virtualization

Media Monitors Pakistan
Media Monitors PakistanMedia Monitors Pakistan
Media Monitors PakistanJawwad Rizvi
 
Simply Business and Snowplow - Multichannel Attribution Analysis
Simply Business and Snowplow - Multichannel Attribution AnalysisSimply Business and Snowplow - Multichannel Attribution Analysis
Simply Business and Snowplow - Multichannel Attribution AnalysisStewart Duncan
 
IPTV Service Assurance
IPTV Service AssuranceIPTV Service Assurance
IPTV Service AssuranceTTI Telecom
 
Introduction to Time Series Analytics with Microsoft Azure
Introduction to Time Series Analytics with Microsoft AzureIntroduction to Time Series Analytics with Microsoft Azure
Introduction to Time Series Analytics with Microsoft AzureCodit
 
Zenoss as Core Element for Video QOS
Zenoss as Core Element for Video QOS Zenoss as Core Element for Video QOS
Zenoss as Core Element for Video QOS Zenoss
 
Production Monitoring with ServicePulse
Production Monitoring with ServicePulseProduction Monitoring with ServicePulse
Production Monitoring with ServicePulseParticular Software
 
Flink Forward San Francisco 2018: David Reniz & Dahyr Vergara - "Real-time m...
Flink Forward San Francisco 2018:  David Reniz & Dahyr Vergara - "Real-time m...Flink Forward San Francisco 2018:  David Reniz & Dahyr Vergara - "Real-time m...
Flink Forward San Francisco 2018: David Reniz & Dahyr Vergara - "Real-time m...Flink Forward
 
Group Project - Final - Linked in
Group Project - Final - Linked inGroup Project - Final - Linked in
Group Project - Final - Linked inSanket Butoliya
 
eSmart Systems, Digitalizing the future
eSmart Systems, Digitalizing the futureeSmart Systems, Digitalizing the future
eSmart Systems, Digitalizing the futureDutch Power
 
Production Monitoring with ServicePulse and the Particular Service Platform
Production Monitoring with ServicePulse and the Particular Service PlatformProduction Monitoring with ServicePulse and the Particular Service Platform
Production Monitoring with ServicePulse and the Particular Service Platformdanc25
 
The Science Beyond the Technology of Monetization
The Science Beyond the Technology of MonetizationThe Science Beyond the Technology of Monetization
The Science Beyond the Technology of MonetizationAppNexus
 
ICCC21 2021 statistics report
ICCC21 2021 statistics reportICCC21 2021 statistics report
ICCC21 2021 statistics reportJavier Tallón
 
Roi Lavan - Convertro (All Things Data 2015)
Roi Lavan - Convertro (All Things Data 2015)Roi Lavan - Convertro (All Things Data 2015)
Roi Lavan - Convertro (All Things Data 2015)Shuki Mann
 
PAC 2020 Santorin - Gopalkrishnan Yadav
PAC 2020 Santorin - Gopalkrishnan YadavPAC 2020 Santorin - Gopalkrishnan Yadav
PAC 2020 Santorin - Gopalkrishnan YadavNeotys
 
Atw segments 1 & 2 final 6 6-09
Atw segments 1 & 2 final 6 6-09Atw segments 1 & 2 final 6 6-09
Atw segments 1 & 2 final 6 6-09Robert L. Ussery
 
WSO2Con USA 2015: Patterns for Deploying Analytics in the Real World
WSO2Con USA 2015: Patterns for Deploying Analytics in the Real WorldWSO2Con USA 2015: Patterns for Deploying Analytics in the Real World
WSO2Con USA 2015: Patterns for Deploying Analytics in the Real WorldWSO2
 

Similar a Event Processing Applied to Streams of TV Channel Zaps and Sensor Middleware with Virtualization (20)

AV Latency Measurement
AV Latency MeasurementAV Latency Measurement
AV Latency Measurement
 
Media Monitors Pakistan
Media Monitors PakistanMedia Monitors Pakistan
Media Monitors Pakistan
 
Simply Business and Snowplow - Multichannel Attribution Analysis
Simply Business and Snowplow - Multichannel Attribution AnalysisSimply Business and Snowplow - Multichannel Attribution Analysis
Simply Business and Snowplow - Multichannel Attribution Analysis
 
IPTV Service Assurance
IPTV Service AssuranceIPTV Service Assurance
IPTV Service Assurance
 
Introduction to Time Series Analytics with Microsoft Azure
Introduction to Time Series Analytics with Microsoft AzureIntroduction to Time Series Analytics with Microsoft Azure
Introduction to Time Series Analytics with Microsoft Azure
 
Zenoss as Core Element for Video QOS
Zenoss as Core Element for Video QOS Zenoss as Core Element for Video QOS
Zenoss as Core Element for Video QOS
 
Production Monitoring with ServicePulse
Production Monitoring with ServicePulseProduction Monitoring with ServicePulse
Production Monitoring with ServicePulse
 
Java project titles
Java project titlesJava project titles
Java project titles
 
Flink Forward San Francisco 2018: David Reniz & Dahyr Vergara - "Real-time m...
Flink Forward San Francisco 2018:  David Reniz & Dahyr Vergara - "Real-time m...Flink Forward San Francisco 2018:  David Reniz & Dahyr Vergara - "Real-time m...
Flink Forward San Francisco 2018: David Reniz & Dahyr Vergara - "Real-time m...
 
Group Project - Final - Linked in
Group Project - Final - Linked inGroup Project - Final - Linked in
Group Project - Final - Linked in
 
eSmart Systems, Digitalizing the future
eSmart Systems, Digitalizing the futureeSmart Systems, Digitalizing the future
eSmart Systems, Digitalizing the future
 
Conviva at Inter BEE 2017
Conviva at Inter BEE 2017Conviva at Inter BEE 2017
Conviva at Inter BEE 2017
 
Production Monitoring with ServicePulse and the Particular Service Platform
Production Monitoring with ServicePulse and the Particular Service PlatformProduction Monitoring with ServicePulse and the Particular Service Platform
Production Monitoring with ServicePulse and the Particular Service Platform
 
The Science Beyond the Technology of Monetization
The Science Beyond the Technology of MonetizationThe Science Beyond the Technology of Monetization
The Science Beyond the Technology of Monetization
 
ICCC21 2021 statistics report
ICCC21 2021 statistics reportICCC21 2021 statistics report
ICCC21 2021 statistics report
 
Orchestrated Assurance
Orchestrated Assurance Orchestrated Assurance
Orchestrated Assurance
 
Roi Lavan - Convertro (All Things Data 2015)
Roi Lavan - Convertro (All Things Data 2015)Roi Lavan - Convertro (All Things Data 2015)
Roi Lavan - Convertro (All Things Data 2015)
 
PAC 2020 Santorin - Gopalkrishnan Yadav
PAC 2020 Santorin - Gopalkrishnan YadavPAC 2020 Santorin - Gopalkrishnan Yadav
PAC 2020 Santorin - Gopalkrishnan Yadav
 
Atw segments 1 & 2 final 6 6-09
Atw segments 1 & 2 final 6 6-09Atw segments 1 & 2 final 6 6-09
Atw segments 1 & 2 final 6 6-09
 
WSO2Con USA 2015: Patterns for Deploying Analytics in the Real World
WSO2Con USA 2015: Patterns for Deploying Analytics in the Real WorldWSO2Con USA 2015: Patterns for Deploying Analytics in the Real World
WSO2Con USA 2015: Patterns for Deploying Analytics in the Real World
 

Último

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
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
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
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
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
 
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
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
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
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
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
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 

Último (20)

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
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
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
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.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
 
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
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
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...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
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
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 

Event Processing Applied to Streams of TV Channel Zaps and Sensor Middleware with Virtualization

  • 1. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Event Processing Applied to Streams of TV Channel Zaps and Sensor Middleware with Virtualization PhD Defense P˚al Evensen Department of Electrical Engineering and Computer Science University of Stavanger, Norway April 23rd, 2013
  • 2. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Outline Introduction Background Project Context Research Contributions SenseWrap SenseWrap EventCaster System Architecture Esper and EPL Television Statistics Background Implementation Statistics Deployment Paradigm Comparison Performance Complexity Conclusions AdScorer Overview Experiments Live Scoring Results Summary
  • 3. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer From this
  • 4. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer To this
  • 5. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Request/Reply Client Server Request Reply
  • 6. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer To this
  • 7. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer and this
  • 8. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Publish/Subscribe Publisher Subscriber Publisher Subscriber Subscriber Subscriber Event Service Notification publish notify subscribe/unsubscribe
  • 9. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer IS-Home
  • 10. Altibox at home INTERNET From 10 to 400 Mbit/s, both ways DIGITAL TV Choose between 150 TV channels, film rental and more. ALARM SERVICES Alarm monitoring centre. Direct alarm connection to the fire brigade.  MOBILE PHONE SERVICES Same rate, no matter who you call IP TELEPHONY No charges to Landlines in Scandinavia
  • 11. Tv FILM RENTAL Choose from 1000 titles Now in HD too FOOTBALL The whole Premier League and Tippeligaen (Norwegian football pools league) NEWS Up to date local news TV-GUIDE A complete overview for your TV evening
  • 12. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Research Contributions Two main topics: 1. Sensors in smart homes • Middleware for hiding the heterogeneity of devices 2. Event processing applied to TV channel zaps • Architecture for efficient processing of high volumes of events • Evaluating programming models for stateful event processing
  • 13. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Outline Introduction Background Project Context Research Contributions SenseWrap SenseWrap EventCaster System Architecture Esper and EPL Television Statistics Background Implementation Statistics Deployment Paradigm Comparison Performance Complexity Conclusions AdScorer Overview Experiments Live Scoring Results Summary
  • 14. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Motivation Sensors and actuators
  • 15. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer SenseWrap Features • IP-enabling sensor devices • Uniform interface to hetereogeneous devices • A “blueprint” for developers of smart home applications • Automatic network configuration and service discovery
  • 16. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer SenseWrap Architecture Virtual Sensor Physical sensors Sensewrap Virtual Sensor Sensor protocol (ZigBee, Bluetooth, etc) z e r o c o n f Driver Driver Gateway Service UDP TCP Service TCP Service HTTP Client Client Client
  • 17. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Outline Introduction Background Project Context Research Contributions SenseWrap SenseWrap EventCaster System Architecture Esper and EPL Television Statistics Background Implementation Statistics Deployment Paradigm Comparison Performance Complexity Conclusions AdScorer Overview Experiments Live Scoring Results Summary
  • 18. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Event-Driven Architecture Event Processing Network Event Processing Agents Event ConsumersEvent Producers
  • 19. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Components • Esper • HornetQ • Custom Java glue
  • 20. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Event Flow and Interfaces Event Processor Adapter Event Publisher Event Processor Event Publisher Message bus Producer Core Event EPL EPL Update Listener
  • 21. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Event Processing Language (EPL) • Declarative query language derived from SQL • Operates on stream data as opposed to relational data • Looks for event patterns that matches the query, and produces an output event • Includes additional operators, such as sliding windows • Part of the Esper framework (Open Source)
  • 22. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Continuous Queries
  • 23. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Sliding Windows win:time(10 sec) time 0 10 20 now e1 e2 e3 e4 e5 1 select ∗ from ChannelWin.win:time(10 sec)
  • 24. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Event Patterns Simple A Event Complex C Event Simple B Event 1 select ∗ from pattern [every a=A −> b=B]
  • 25. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Outline Introduction Background Project Context Research Contributions SenseWrap SenseWrap EventCaster System Architecture Esper and EPL Television Statistics Background Implementation Statistics Deployment Paradigm Comparison Performance Complexity Conclusions AdScorer Overview Experiments Live Scoring Results Summary
  • 26. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Current State of TV Viewer Statistics • Sample size is 0.045 % of Norwegian television households • Only 0.022 % of American households are sampled • Data collection requires specialized equipment • Transferred once a day
  • 27. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Motivation • IP-based Set Top Boxes (STBs) allows for more accurate statistics • Ads can be evaluated on an individual basis • Additional behavioral markers such as mute and volume changes allows for better understanding
  • 28. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer The Future of Media Measurement • Current measurement methods for TV not in line with new models of media consumption • Gartner: The online/offline division of media will be replaced by measured/unmeasured by 2015 • STB data increasingly being used to augment traditional TV ratings
  • 29. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Altibox Deployment of IPTV • Over 320,000 STBs deployed in Norway and Denmark
  • 30. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Our Scenario • Two-way communication • Immediate transfer of zap, mute, hdmi and volume events
  • 31. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Observed Events • Channel change event (also called a zap event) • HDMI status event: TV set on/off • STB audio on/off event (mute) • STB volume change event
  • 32. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Number of zap events/day over a 15-day period 31 1 2 3 4 5 6 7 8 9 1011121314 2 2.2 2.4 2.6 ·106 Avg=2212097
  • 33. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Zapping Activity 0 5 10 15 20 0 0.5 1 1.5 ·105 Time (hrs) 30 Minutes 15 Minutes 5 Minutes
  • 34. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer EPL Viewer Statistics Esper Engine Zaps ChannelWin channelName, viewersselect(...) channelName, viewers 1 select channelName, viewers 2 from ChannelWin 3 output snapshot every 1 sec
  • 35. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Trude/18 Sykkel:Girod`Italia14.etappe Sport&Spill Reisemål Lørdagsmagasinet Sportsnyhetene Været Vinnpåminuttet9:12 Nyhetene GodkveldNorge Sportsnyhetene Film:Mordpåkreditt Sykkel:Girod`Italia-oppsummering Farmen30:30 Nyhetene Akvariet TV2hjelperdeg11 0 10000 20000 30000 40000 50000 60000 12:00 14:00 16:00 18:00 20:00 22:00 Viewers Time Viewers for TV2 Norge + TV2 HD, Saturday 21.05.2011, Separated by Zip Codes Total viewers 0001-3999 4000-5999 6000-7999 8000-9999
  • 36. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer 30000 35000 40000 45000 50000 55000 60000 65000 70000 10:00 12:00 14:00 16:00 18:00 20:00 22:00 Seere Tidspunkt Seerstatistikk for TV2 Norge og NRK1, Lørdag 21.05.2011 TV2 Norge + HD NRK1 + HD
  • 37. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Annoyance Detection • Aimed at detecting ads/programs that is causing viewers to change channel • Triggers an output event on rapid drop in viewers on a particular channel • Sliding window algorithm, continously comparing viewer number with the last minute average
  • 38. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Annoyance Detector Annoyance detector ZapSnap .win.time (1 min) channelName, viewers, avg(viewers) avg(viewers) having(...) channelName, viewers 1 select channelName, viewers, avg(viewers) 2 from ChannelWin(viewers > 2000).win:time(1 min) 3 group by channelName 4 having viewers < avg(viewers) ∗ 0.85
  • 39. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Deployment Details • Processes over 40,000 events/min at peak hours • Deployed in the Altibox network across four servers: ZapCollector Message bus Database Core + Manager
  • 40. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer CPU load - ZapCollector
  • 41. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer CPU load - Message bus
  • 42. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer CPU load - EventCaster instance
  • 43. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Outline Introduction Background Project Context Research Contributions SenseWrap SenseWrap EventCaster System Architecture Esper and EPL Television Statistics Background Implementation Statistics Deployment Paradigm Comparison Performance Complexity Conclusions AdScorer Overview Experiments Live Scoring Results Summary
  • 44. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer EPL and Java Implementations
  • 45. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Experimental Setup for Performace Evaluation • 2,117,897 zap events (one day) • RHEL6,Quad Core 2.4GHz CPU, 14GB RAM • Processing capacity tested by loading events from: • Memory • Disk • Network: UDP and HornetQ • Memory consumption tested by loading events from: • Memory • Disk
  • 46. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Processing capacity Memory Disk UDP HornetQ 0 2 4 6 8 ·105 Events/sec Esper Java
  • 47. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Memory consumption From memory From disk 600 800 1,000 1,200 1,400 1,600 1,570 1,401 590 577 Memoryused(MB) Esper Java
  • 48. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Performance Evaluation - Observations • The Java implementation outperforms the Esper version • Can be accredited to abstraction overhead imposed by the Esper engine • Performance margin decrease as network overhead is introduced, but is still significant • UDP benchmarks offer 45% higher throughput with the Java version
  • 49. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Halstead’s Metrics • Metrics that describe the complexity and effort required to write a program • Sees a program as a series of tokens, classified as either operands or operators
  • 50. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Complexity Metrics 0 100 200 300 400 Vocabulary (n1+n2) Program length (N1+N2) Total operators (N1) Total operands (N2) Unique operators (n1) Unique operands (n2) Lines of code (Java) (EPL) Viewer Statistics Annoyance Detector Parsing and Query Setup Utility Functions
  • 51. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Complexity Evaluation - Observations • The EPL implementation scores slightly better for the viewer statistics application • EPL scores significantly better for the annoyance detector • Initial effort was similar for both applications • Expanding EPL applications is significantly easier than Java
  • 52. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Summary • The Java implementation is the most performant • The Esper implementation is easier to expand • Can be attributed to different degrees of abstraction
  • 53. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Outline Introduction Background Project Context Research Contributions SenseWrap SenseWrap EventCaster System Architecture Esper and EPL Television Statistics Background Implementation Statistics Deployment Paradigm Comparison Performance Complexity Conclusions AdScorer Overview Experiments Live Scoring Results Summary
  • 54. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Deployment TV Network AdDetector Mute AdSuccess- Evaluator STBs Inputadapters Stats Ad start Channel zap events Filtering, transformation Zap Ad success score Historical stats Processing QueueingInput
  • 55. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Defining an advertisement as a context in EPL Listing 1: Context declaration 1 create context AdBreakCtx as 2 initiated by 3 AdIdentified(begin=true) as ad 4 terminated by 5 AdIdentified(detectId=ad.detectId, begin=false) as endAd Listing 2: Populating the context 1 context AdBreakCtx 2 create window STBsnapshots.win:keepall() as STBWin 3 insert where 4 channel in (context.ad.channel) and hdmi=true and mute=false
  • 56. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Experimental Setup for AdScorer Evaluation • 1.5 hour of prime time TV was recorded • Advertisement times were manually recorded • 23 days of STB data was sent through the system in order to reach a correct state • Logged STB data and AdIdentified-events was then pushed to the system • Simulation run
  • 57. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Viewer numbers Figure: Viewership (in thousands) for the three largest channels, NRK1, TV2, and TVN.
  • 58. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Viewer numbers 12   13   14   15   16   17   18   19   20   21   S E S E S E TVN   Figure: Viewership (in thousands) for a single channel (TVN).
  • 59. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Retained Viewers
  • 60. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Gained Viewers
  • 61. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Raw output for a single ad 1 Event: { 2 AdId: Mitsubishi ASX, 3 channel: TV2 Norge, 4 startTime: 22:55:12, 5 stopTime: 22:55:32, 6 viewersBegin: 83846, 7 retained: 79244, 8 IAR: 94.51, 9 mutes: 141, 10 viewersLost: 4602, 11 average volume: 49.64 12 }
  • 62. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Summary • AdScorer is capable of delivering an unprecedented level of detail, not possible through the current measurement regime • The results indicate that our implementation is capable of scoring advertisements on multiple channels simultaneously in near real-time with consistent results
  • 63. Introduction SenseWrap EventCaster Television Statistics Paradigm Comparison AdScorer Thank You for listening!