Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to deal with large rooms. (SPEC-36) #47

Open
matrixbot opened this issue Oct 1, 2014 · 4 comments
Open

How to deal with large rooms. (SPEC-36) #47

matrixbot opened this issue Oct 1, 2014 · 4 comments
Labels
A-S2S Server-to-Server API (federation) feature Suggestion for a significant extension which needs considerable consideration room-vNext An idea which will require a bump in room version

Comments

@matrixbot
Copy link
Member

For every user in the room we currently have a dedicated state event for them. For large rooms with many 1000s or more members this becomes less than ideal due to the overhead for both clients and servers.

The protocol itself only requires knowledge of which servers are in the room.

(Imported from https://matrix.org/jira/browse/SPEC-36)

(Reported by @erikjohnston)

@matrixbot
Copy link
Member Author

Jira watchers: @erikjohnston @NegativeMjark @richvdh

@matrixbot
Copy link
Member Author

For rooms that have a large number of participants split over a small number of servers we can use the existing full mesh protocol by distributing a list of member servers using membership PDUs for a participant on each server to prove that it should be in the list.

For rooms with a large number of participating servers we might need to look at new protocols for distributing the messages without each server needing to know the full list.

-- @NegativeMjark

@matrixbot
Copy link
Member Author

Is this bug about alternatives to full-mesh routing, or about reducing the number of state events flying around?

-- @richvdh

@matrixbot
Copy link
Member Author

matrixbot commented Dec 1, 2015

full-mesh alternatives seems to be https://github.com/matrix-org/matrix-doc/issues/469, so I assume it's the latter? is this a real problem?

-- @richvdh

@matrixbot matrixbot changed the title How to deal with large rooms. How to deal with large rooms. (SPEC-36) Oct 31, 2016
@matrixbot matrixbot added the spec-bug Something which is in the spec, but is wrong label Nov 7, 2016
@turt2live turt2live added feature Suggestion for a significant extension which needs considerable consideration and removed spec-bug Something which is in the spec, but is wrong labels Aug 7, 2018
@turt2live turt2live added room-vNext An idea which will require a bump in room version A-S2S Server-to-Server API (federation) labels Feb 7, 2019
@richvdh richvdh transferred this issue from matrix-org/matrix-spec-proposals Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-S2S Server-to-Server API (federation) feature Suggestion for a significant extension which needs considerable consideration room-vNext An idea which will require a bump in room version
Projects
None yet
Development

No branches or pull requests

2 participants