Facebook 等网站使用什么格式来存储个人资料数据?
我最近开始处理存储在 XML 文件中的大量数据。我一直想知道 Facebook 和其他网站如何存储与个人个人资料相关的所有信息(姓名、个人资料图片、墙贴等),而且我觉得 XML 绝对不是存储如此多信息的最佳方式。我尝试通过谷歌查找有关它的信息,但运气不佳。
像 Facebook 这样的大型网站如何存储和处理如此多的数据?我真的很想阅读一些有关此的内容,所以如果您知道任何好的网站,请告诉我!
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!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Facebook 没有存储在 XML 文件中,而是使用关系数据库——具体来说,是 MySQL 的修改版本。如果您对它们的实现感兴趣,MySQL 官方网站有一整页与 Facebook 的 MySQL 使用相关的文章,位于 http://www.mysql.com/customers/view/?id=757
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
为了在 facebook 下存储数据,他们使用了一种新的数据库,称为“NoSQL”,意味着无需使用 SQL 即可访问数据库中的数据。要了解更多信息,只需在 google 中搜索 NOSQL。我确信你一定会得到你的答案。
Well for storing data under facebook ,they use a new database that is known as "NoSQL" means accessing of data fm DB without having SQL.To know more about it just search for NOSQL in the google. M sure u will definately get ur ans.