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

Alternative room transports to full mesh (SPEC-45) #49

Open
matrixbot opened this issue Oct 2, 2014 · 5 comments
Open

Alternative room transports to full mesh (SPEC-45) #49

matrixbot opened this issue Oct 2, 2014 · 5 comments
Labels
A-S2S Server-to-Server API (federation) feature Suggestion for a significant extension which needs considerable consideration

Comments

@matrixbot
Copy link
Member

We shouldn't assume that every room will use full mesh. Ideally rooms should be have configuration along with the policy server explaining how to distribute events amongst the participating servers.

We could have a list of distribution protocols in the room config with two transports that servers MUST support:

  1. The current full mesh transport.
  2. A simple list of endpoints to pass events to.

Rooms SHOULD support at least one of these two transports. A server can then always join the room by falling back to the simple list of endpoints if it doesn't understand the other federation protocols in the room.

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

(Reported by @NegativeMjark)

@matrixbot
Copy link
Member Author

Jira watchers: @erikjohnston @NegativeMjark @ara4n

@matrixbot
Copy link
Member Author

what is the use case for this? who is actually going to be implementing extensible room sync protocols? is it to let us rewrite the algo in future without breaking the world, or to allow folks implementing their own s2s APIs have an easier learning curve? or something else?

-- @ara4n

@matrixbot
Copy link
Member Author

To allow alternative sync protocols in the future. I think it would be useful to allow servers to create rooms using newer protocols without having to worry about locking out older servers from those chat rooms.

-- @NegativeMjark

@matrixbot
Copy link
Member Author

Ftr, there have been some vague suggestions around circular hashing, petri nets, clos switches or DHT-based routing thrown around, but nothing concrete afaik.

-- @ara4n

@matrixbot matrixbot changed the title Alternative room transports to full mesh Alternative room transports to full mesh (SPEC-45) Oct 31, 2016
@matrixbot matrixbot added the feature Suggestion for a significant extension which needs considerable consideration label Nov 7, 2016
@turt2live turt2live added the A-S2S Server-to-Server API (federation) label Feb 7, 2019
@ara4n
Copy link
Member

ara4n commented May 4, 2019

Stuff happened around this for https://matrix.org/blog/2019/03/12/breaking-the-100bps-barrier-with-matrix-meshsim-coap-proxy/. We need to find someone to fund more work around it.

@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
Projects
None yet
Development

No branches or pull requests

3 participants