简体   繁体   English

“新闻提要”的基础架构

[英]Infrastructure for a “news-feed”

I'd like to offer a news-feed like feature for users of our website. 我想为我们网站的用户提供类似新闻提要的功能。 When the user logs in, he is shown a list of the latest updates across various areas of the site. 用户登录后,将显示该站点各个区域的最新更新列表。

I'm afraid that this is going to be difficult to scale. 恐怕这将很难扩展。

What are some networking / database topologies that can support a scalable infrastructure without having lots of copies of the same data? 有哪些网络/数据库拓扑可以支持可伸缩的基础结构,而无需拥有大量相同数据的副本? (I'd like to make it so if a piece of data is updated, each user's feed is also updated live). (我想这样做,以便在更新一条数据时,也可以实时更新每个用户的供稿)。

Thanks for the assistance and advice. 感谢您的协助和建议。

  1. Don't prematurely optimize. 不要过早优化。
  2. This might be more of a question for the Server Fault crowd . 对于服务器故障人群,这可能是一个更大的问题。
  3. Performance at scale often requires having lots of copies of the same data - you tagged the question "facebook," and that's part of how Facebook does it. 大规模的性能通常需要拥有大量相同数据的副本-您将问题标记为“ facebook”,这是Facebook做到这一点的一部分。 Twitter, too. Twitter也一样。 You are asking for a system that's fast ("updated live"), cheap ("without having lots of copies of the same data") and good (does the previous two correctly). 您要的是一种快速(“实时更新”),廉价(“没有大量相同数据的副本”)和良好(正确地完成前两个)的系统。 Pick two. 选择两个。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM