I'm not sure what is happening on youtube, but I am developing a similar application for our client. So what we do, we use the best of both worlds, such as SQL and NoSQL ..
We save the video to disk and save the path to these videos in the MySQL db table. Then we have a separate table that contains the genre and video mapping, and which video belongs to a particular genre.
Today, with a huge amount of user data, we can use this data like never before, so you see that now everything has changed than in 2007, and with the popularity and dependence of people on the Internet when they appear on sites like you, with us There is an extensive set of unstructured data that, when used correctly, can give you excellent results. Thus, in our project, we store the site administrator and inform about such things as custom db, video placements and genre mapping, etc. In MySQL, we store unstructured user interaction data in a NoSQL database. Then we use NoSQL data to do all the analytics and provide the user with relevant results.
source share