社交网络后端架构 [英] Social Networking backend architecture

查看:115
本文介绍了社交网络后端架构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

理想情况下,像Facebook这样的应用程式会储存其「好友」资料吗?
在数据库表中?在一个xml文件中?

解决方案

Facebook工程页面



我们是世界上第二大贩卖的PHP网站



p>我们构建了一个轻量级但功能强大的多语言RPC框架,允许我们无缝,轻松地将任何语言编写的子系统绑定在任何平台上运行在Facebook,C ++,Perl,Python,Erlang, Java,甚至一点点的ML,并且它们一起工作
*我们是世界上最大的memcached用户,一个开源的缓存系统,最初由LiveJournal开发,许多可扩展性改进和性能升级,我们将成为下一个主要版本的主要贡献者
*我们创建了一个定制的搜索引擎,每天提供数百万的查询,完全分布式和完全内存,具有实时更新。


Ideally, where would an application like Facebook store its "Friends" data? In a database table? in an xml file?

解决方案

From Facebooks engineering page:

"Already, we are the second most-trafficked PHP site in the world (Yahoo is #1), and one of the largest MySQL installations anywhere, running thousands of databases."

and

"We've built a lightweight but powerful multi-language RPC framework that allows us to seamlessly and easily tie together subsystems written in any language, running on any platform. Facebook is built in PHP, C++, Perl, Python, Erlang, Java, and even a little bit of ML—and it all works together. * We are the largest user in the world of memcached, an open-source caching system. Originally developed by LiveJournal, we've since made so many scalability improvements and performance upgrades that we will be the primary contributor of features in the next major release. * We've created a custom-built search engine serving millions of queries a day, completely distributed and entirely in-memory, with real-time updates."

这篇关于社交网络后端架构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆