How to design a streaming service like YouTube?
Nov 13, 2021
7 Comments
Apparently I’m preparing for SD interview. I came across this question and wonder how videos are stored on distributed file system. Is a file broken into chunks and stored? If so, can a media player play chunk by chunk in serial without combining the chunks?
TC 200
Yoe 5
#faang #interview
comments
There are a lot of sources available for video streaming services on the net.
They simply need to push their hyper curated library to each regional CDN which solves 99% of problems.
YouTube is uniquely difficult in that it has no curated content. Anyone can watch anything at any time uploaded from anyone? CDNs need to dynically populate instead.
A fun point ot make is that I'd you can alter the recommendation system to favor locally cahced content, you can make massive gains in total system load