I recently started dealing with large sets of data stored in XML files. I've always wondered how Facebook and other networking sites store all the information associated with individual profiles (name, profile picture, wall posts, etc.) and I feel like XML is definitely not the best way to store so much information. I've tried finding information about it with google but haven't been having too much luck.
How do huge sites such as Facebook store and deal with so much data? I would really like to do some reading about this, so if you know of any good websites please let me know!
When you request a copy of your information on Facebook, you can choose to receive it in an HTML or JSON format: HTML: An easy to view format of your data on Facebook. You'll receive a ZIP file that, once opened and extracted, will contain an HTML file named index that you can open like a web page on your web browser.
Facebook was developed from the ground up using open source software. The site is written primarily in the PHP programming language and uses a MySQL database infrastructure.
Each data center houses tens of thousands of computer servers, which are networked together and linked to the outside world through fiber optic cables. Every time you share information on Facebook, the servers in these data centers receive the information and distribute it to your network of friends.
The file, which can take less than ten minutes to create and download, contains all of your Facebook history, including photos, private messages and other highly intrusive information, such as: The names of the Facebook profiles you've visited and when. Your entire Facebook search history.
Rather than being stored in an XML file, Facebook uses a relational database--specifically, a modified version of MySQL. If you're interested in their implementation, the MySQL official site has a whole page of articles related to Facebook's MySQL usage at http://www.mysql.com/customers/view/?id=757
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With