element-hq / element-hq/dendrite

Device list updates can cause tremendous federation traffic

Open
#1,663 0 comments 0 reactions 0 assignees View on GitHub
C-Federation T-Task X-Performance
Dominant language
Go
Stars
965
Forks
101
PR merge metrics
No merged PRs in 30d

Description

*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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.