Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

massive storm of presence EDUs when joining a large room #3120

Open
richvdh opened this issue Apr 18, 2018 · 3 comments
Open

massive storm of presence EDUs when joining a large room #3120

richvdh opened this issue Apr 18, 2018 · 3 comments
Labels
A-Federated-Join joins over federation generally suck A-Join Joining a room (there is another label for federated joins) A-Performance Performance, both client-facing and admin-facing A-Presence O-Frequent Affects or can be seen by most users regularly or impacts most users' first experience S-Major Major functionality / product severely impaired, no satisfactory workaround. T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues.

Comments

@richvdh
Copy link
Member

richvdh commented Apr 18, 2018

after you do your send_join to a room, all the servers in the room seem to immediately send you presence updates. Since this will often be the first contact you get from those servers, we then end up doing hundreds of server key requests, all of which end up starving out the actual join request - contribuiting to the join itself taking ages.

@richvdh
Copy link
Member Author

richvdh commented Apr 18, 2018

possibly related to #2514

@ara4n
Copy link
Member

ara4n commented May 1, 2019

dup #3962?

@richvdh
Copy link
Member Author

richvdh commented May 2, 2019

dup #3962?

I don't think so. #3962 is about presence updates that we don't expect. AFAICT the EDUs referred to in this issue are expected - the problem is just that there are a lot of them, and they all arrive during the join dance and tend to block it.

@reivilibre reivilibre added A-Presence A-Performance Performance, both client-facing and admin-facing A-Federated-Join joins over federation generally suck S-Major Major functionality / product severely impaired, no satisfactory workaround. T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues. O-Frequent Affects or can be seen by most users regularly or impacts most users' first experience A-Join Joining a room (there is another label for federated joins) labels May 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Federated-Join joins over federation generally suck A-Join Joining a room (there is another label for federated joins) A-Performance Performance, both client-facing and admin-facing A-Presence O-Frequent Affects or can be seen by most users regularly or impacts most users' first experience S-Major Major functionality / product severely impaired, no satisfactory workaround. T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
Projects
None yet
Development

No branches or pull requests

3 participants