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 摘要。