Skip to content
This repository was archived by the owner on Nov 25, 2024. It is now read-only.
This repository was archived by the owner on Nov 25, 2024. It is now read-only.

Device list updates can cause tremendous federation traffic #1663

@kegsay

Description

@kegsay

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-FederationT-TaskRefactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.X-PerformanceIssue/PR around something that is slow or taking lots of memory

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions