# 实时更新主题在高活动下冻结

**URL:** <https://meta.discourse.org/t/real-time-updating-of-topics-freezes-under-high-activity/166789>\
**Category:** Support\
**Created:** [2020年十月9日 16:28 UTC](https://meta.discourse.org/t/real-time-updating-of-topics-freezes-under-high-activity/166789 "2020-10-09T16:28:26Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2020年十月13日 06:01 UTC](https://meta.discourse.org/t/real-time-updating-of-topics-freezes-under-high-activity/166789/11 "2020-10-13T06:01:35Z")

</div>

我刚刚合并了以下内容：

[https://review.discourse.org/t/perf-backoff-background-requests-when-overloaded-10888/16227](https://review.discourse.org/t/perf-backoff-background-requests-when-overloaded-10888/16227)

它确保即使有 1000 人正在查看某个主题并不断发布帖子，也不会导致服务器崩溃。

客户端在这些情况下的表现现在要干净得多。

预见到 @ljpp 可能会问的问题，我目前仍在决定是否将其向后移植。这涉及 API 变更，且改动较大。如果我们决定向后移植……可能还需要几周时间。我需要在生产环境中在高负载下观察这一机制，而由于我们的托管资源非常充裕，类似这样的事件极少发生，因此要捕捉到这样的场景还需要一段时间。

---

_[View the full topic](https://meta.discourse.org/t/real-time-updating-of-topics-freezes-under-high-activity/166789)._
