What is the file and folder structure of music on a server for Google Music?
-
We all have our own ways of organizing the music on our personal hard disks. For example: "<Music Folder>/<Artist>/<Album> <Year>/<Track Number>. <Artist> - <Track Name>.<Extension>" How do engineers at Google set up the file and folder structure of music tracks on their servers so that they are organized and can be easily found when requested?
-
Answer:
Folder structure is irrelevant here. In order to efficiently perform a lookup of arbitrary complexity and find the piece of information you're looking for, you're going to need some sort of database. For what it's worth, actual media files might be all thrown together in a single folder, each file havin a name such as 6ba7b810-9dad-11d1-80b4-00c04fd430c8, because all the information for 6ba7b810-9dad-11d1-80b4-00c04fd430c8 is stored in the database under 6ba7b810-9dad-11d1-80b4-00c04fd430c8. Or there might not be a file at all, just a blob of binary data stored directly in the database -- whatever works better. In any case, both the media and the metadata database (which is also stored as regular files - only they're most likely opaque binary data which is only readable by a compatible database program) are most likely split into chunks a single server can handle, and then replicated for redundancy across multiple server farms in Google's datacenters around the globe.
Adam Avramov at Quora Visit the source
Related Q & A:
- How to upload file to a server from Salesforce?Best solution by help.salesforce.com
- What is the different between a computer and a server?Best solution by Yahoo! Answers
- What is a server address on minecraft?Best solution by Yahoo! Answers
- What does a server do?Best solution by pc.net
- What is a good term for a search on Google?Best solution by wiki.answers.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.