I was looking at a YouTube video and saw they revamped the progress bar. I couldn’t understand how they would have designed this at scale from the server and client side. Functional Requirements would be the following I imagine: Clients should be able to see what 5-second chunks are replayed the most. Clients should be able to hold and scroll and move to the appropriate second mark. TC:0
This seems pretty damn easy to me. Dm if u want
I can’t DM people. But I imagine it’s a per-chunk counter per video and we can use a similar concept as count views per video? And then we can serve this info as metadata when serving the video
Yes you got it.
Pronhub has had it for years, I wonder if they ever published how they did it (at what I imagine is also large scale)
They anyway track every second of what you watch, I think the graph is from that data. SELECT COUNT(*) FROM PRIVACY_MY_A** WHERE VIDEO_ID = ID GROUP BY TIMESTAMP? Oversimplification probably, but initial thoughts. And.. that’s how I got multiple rejects from FAANGS
I am guessing they are spawning several huge jobs post-upload to pre process a bunch of stuff: chunking, encoding, thumbnailing, etc. The outcome of of those jobs can be used to build the player with preview.
Tech Industry
3d
38616
What happens when most of your team is Indian?
Tech Industry
4h
313
Boss or company
India
Yesterday
707
A list of ethnic slurs on Indians that should be banned on Blind
Tech Industry
Yesterday
1104
PM is irrelevant role and will die in next 2-3 years.
Software Engineering Career
5h
1598
L4 Google -> 45 interviews, 5 offers, AMA
Someone’s been studying system design.
Lol nah, not really