YouTube is an American video-sharing website headquartered in San Bruno in California. This service was created by three PayPal employees: Chad Hurley, Steve Chen, and Jawed Karim in 2005.
To help connect users to the videos they are looking for, YouTube uses a ‘complex algorithm’ made up of over one million lines of code. When you search for a video, the algorithm decides which search results it will show you and in what order. One of the main factors used to rank the results is video metadata. This is the title, description, thumbnail and tags that you give your video when you upload it, so you should make sure they are relevant to the content of the video and what people might search for to find it.
“Every video uploaded to YouTube is stored in at least one of Google’s 14 data centres spread across the world. These enormous buildings contain thousands of servers – the powerful computers that handle the billions of Google searches made every day and also store your videos. Giant cooling towers keep the temperature inside at a steady 27 degrees Celsius (80 degrees Fahrenheit) to ensure the equipment runs smoothly, and each piece of data is stored on at least two servers for extra security. The data centres can also communicate with each other to send information between them. When you upload your video it will be stored at the data centre nearest you, but when someone wants to play it, the video will be sent to their nearest data centre for quick access. This also means that in the event of a fire or other disaster, the data is sent to another data centre so that it’s always accessible.”
Find out more at: https://www.howitworksdaily.com/how-does-youtube-work/