大型网站(Google、Facebook 等)如何将信息实时传播到所有服务器?

发布于 2024-09-07 15:14:41 字数 205 浏览 2 评论 0 原文

我正在寻找一些技术来研究。我很惊讶你可以进入[在此处插入大型网站]的界面,更新设置并在几秒钟内将其推出,以便全面启用。 AdWords 就是一个很好的例子。如果您进入 AdWords 并更改广告活动,这些设置将以唯一 ID 存储在服务器上。广告代码使用该 ID 调用服务器,并立即提取信息(尺寸、颜色等)以显示广告。谷歌为何能够如此迅速地将其推送到数十万台服务器上?他们使用什么类型的数据库系统?

I'm looking for some technologies to research. I'm amazed that you can go into [insert large site here]'s interface, update a setting and within seconds it's pushed out so it's live across the board. A good example of this is adwords. If you go into adwords and change a campaign those settings are stored on the server with a unique id. The ad code calls the server with that id and the information(size,colors, etc) is pulled up instantly to show the ad. How is that Google can push that out to hundreds of thousands of servers so quickly? What type of db systems are they using?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

行至春深 2024-09-14 15:14:41

Google 发布了有关其 Google 文件系统(或“BigFiles”)的研究论文一旦已知)和 BigTable,两者都在其服务中广泛使用。这些内容本身可能会很好读,因为它们可能引用了现有技术。

Google has published research papers for its Google File System (or "BigFiles" as it was once known) and BigTable, both of which are used extensively in their services. Those would probably make good reading, in and of themselves and because they probably cite prior art.

木森分化 2024-09-14 15:14:41

您可能想了解 Oracle 如何构建 RAC 以跨多个数据库传播数据:http://download.oracle.com/docs/cd/B14117_01/server.101/b10727/ha_strea.htm

You might want to read how Oracle has built RAC to propagate data across many DBs: http://download.oracle.com/docs/cd/B14117_01/server.101/b10727/ha_strea.htm

ぇ气 2024-09-14 15:14:41

我知道 Facebook 使用点对点方式在其服务器上推送更新。

第一个服务器获得更新,然后将其发送给其他执行相同操作的服务器......直到更新出现在所有服务器上!

I know that Facebook use peer-to-peer to push update on their server.

The first server get the update, then he send it to some others who does the same thing.. and on until the update is on all of their server!

恏ㄋ傷疤忘ㄋ疼 2024-09-14 15:14:41

我一直在研究类似的信息。

寻找“结构化数据”。

详细信息:MojoDB、CouchDB。
在 mojodb 网站上查找比较。

Facebook 已将 Cassandra(分布式数据库)开源。我认为他们和其他许多人现在都在使用它。

还可以寻找 Hadoop 框架和 Map/Reduce,作为一个感兴趣的问题。

I have been looking into similar pieces of information.

Look for "Structured Data".

Specifics: MojoDB, CouchDB.
Look for comparisions on mojodb website.

Facebook has made Cassandra (distributed database) open source. I think they and many others use it now.

Also look for Hadoop framework and Map/Reduce, as a matter of interest.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文