Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video streaming analytics #1192

Open
ybyzek opened this issue Mar 21, 2022 · 0 comments
Open

Video streaming analytics #1192

ybyzek opened this issue Mar 21, 2022 · 0 comments
Assignees
Labels
recipe use case A tutorial with an extended business use case

Comments

@ybyzek
Copy link
Contributor

ybyzek commented Mar 21, 2022

Sample code (this code sample is not ksql-ready, it needs to be adapted):

select hour, count(distinct(user_id)) as viewers 
from video_activity
group by hour
order by hour
select hour, video_id, count(*) as views
from user_activity
where type = 'play'
group by video_id, hour
order by hour
select video_id, type, count(*)
from user_activity
where type = 'stop' or type = 'pause'
group by video_id, type

Idea: Maybe flag the videos that aren't being watched to the end?

Inspiration: https://databricks.com/notebooks/QoS/index.html#03.operational_dashboard.html

@ybyzek ybyzek added recipe use case A tutorial with an extended business use case labels Mar 21, 2022
@krisajenkins krisajenkins self-assigned this Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
recipe use case A tutorial with an extended business use case
Projects
None yet
Development

No branches or pull requests

2 participants