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

The 1st game weekend went alright from technical point of view (less so if we look at how the team played).

One phenomena is still reproducable. If you multitask with your phone, switch to other apps during the game chat and then come back, you sometimes end up in a situation where the topic is not updated. Status avatars do blink, indicating there is a a constant flow of posts.

A browser refresh or a visit via the index page is needed to see the missed posts.

All this using an up to date Android device w. Chrome.

2 个赞

Thanks for helping us figure these incidents out – it’s a process.

2 个赞

We had a derby game last evening, so it was an great opportunity to monitor this:

  • One senior user logged the whole game with Chrome Dev Tools network inspector, and no error statuses were reported on the client :+1:
  • I ran a quick poll during the game, got a few dozen responses which were 94% postivive (no issues). This is a very good result and I am not sure if a clean 100% is even possible with this survey method (random users, random HW, random network conditions). So I consider anything above 90% a success. :+1:

To sum it up, on the CDCK SaaS infra this is now a marginal issue and the features generally work well even under a heavy/spiky load. Give me a nod if you wish to deep dive into this, and I’ll provide a potential date and time. After all you never know what happens in a game, and how the audience reacts to the events.

COVID-restrictions have eased up, so currently the arenas can be sold to full capacity. This has an impact on our audience as the HC fans will be on-site at the games, rather that furiously chatting online.

2 个赞

我们合并了一个性能补丁,它将影响那些活动量大的网站,特别是在许多用户都在一个主题中并且帖子收到点赞时。在这些事件中,一种可能的结果就是这种“冻结”行为。

在一个我们托管的单一网站上,这一更改使得每个事件日帖子端点的请求减少了 1200 万次,这与较新回复的实时更新竞争。

4 个赞

好的。我们周五至周六将连续举行两场德比,所以会很热闹。尽管我们新体育场的盛大开幕将有 13,000 人参加,这可能会对我们的负荷产生积极或消极的影响。

将进行监控,短期和长期 :+1:

4 个赞

如果CDCK有人对深度日志记录感兴趣,我们预计今晚18:30 - 21:00,尤其是明天17:00 - 19:30会有大量活动。芬兰当地时间UTC+2。

1 个赞

最近一切都好吗?

我将在 3-4 小时后回复您。

通常情况下,这并不是一个问题(成功率 >90%),近期也没有成为投诉的来源。另一方面,我们的常规用户知道如果发生这种情况该怎么做(快速刷新或访问索引页),所以他们可能没有注意到。

无论如何,我们将在 45 分钟后(UTC+2 17:00)开始一场比赛,届时我将就此事进行用户调查,并可能进行一些客户端日志记录。

@codinghorror 这是结果。

我们像以前一样进行了一次投票。这次的问题是用伦敦语言写的,所以你们也可以读懂。我问用户关于完全停止冻结以及他们使用的客户端设备类型。调查结果:

  • 回复数量少,误差范围大
  • 大约 85/15 的结果。这与之前的投票完全一致。没有变好或变坏
  • 我联系了几位报告冻结的用户。他们确实遇到了完全停止类型的冻结,可以通过刷新浏览器或访问索引页来解决。所以仍然可以重现这个问题。

比赛比平时早进行,实际上是由于 COVID 混乱而改期到这一天。因此,同时在线用户数量相对较低。在正常情况下,我预计会有更多的用户和帖子,因为这是一场客场比赛,进了 7 个球,最终结果是惨痛的失利。

2 个赞

很久没出现了,但昨天意外地重现了这个问题。一场激烈的比赛和在比赛结束前 6 秒的戏剧性失利导致聊天信息激增,我的视图停止了更新。我无法通过访问索引页来恢复,不得不刷新浏览器。

所以这个问题仍然存在,尽管不常见。正如在其他地方讨论过的,一旦聊天具有某种主题存档功能,我们就可以准备好进行试点。

1 个赞