element-hq / element-hq/dendrite

Device list updates can cause tremendous federation traffic

未关闭
#1,663 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
C-Federation T-Task X-Performance
主要语言
Go
星标
965
派生
101
PR 合并指标
30 天内没有已合并 PR

描述

*This issue was originally created by [**@kegsay**](https://github.com/kegsay) at .*

Because the update needs to go to all users who share a room with the user who changed device, this can lead to an EDU being sent to hundreds of servers. This spikes the goroutine count on the metrics. We should cap how many destination queues can be alive so at least this is bounded. Longer term we probably want to not do full mesh routing for fed traffic.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。