“新闻源”的基础设施

发布于 2024-08-29 22:32:38 字数 171 浏览 2 评论 0原文

我想为我们网站的用户提供类似新闻源的功能。当用户登录时,他会看到网站各个区域的最新更新列表。

恐怕这将很难扩展。

有哪些网络/数据库拓扑可以支持可扩展的基础架构,而无需拥有大量相同数据的副本? (我想这样做,如果更新了一条数据,每个用户的提要也会实时更新)。

感谢您的帮助和建议。

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.

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

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

发布评论

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

评论(1

梦行七里 2024-09-05 22:32:38
  1. 不要过早优化。
  2. 对于服务器故障群体来说,这可能更多是一个问题。
  3. 大规模性能通常需要拥有大量相同数据的副本 - 您标记了问题“facebook”,这就是 Facebook 的做法的一部分。推特也是。您需要一个快速(“实时更新”)、便宜(“没有大量相同数据的副本”)和良好(前两个正确)的系统。 选择两个。
  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. Twitter, too. 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.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文