matrix-org / matrix-org/matrix-spec

We should spec the max size of an EDU over federation

Open
#807 13 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-S2S
Dominant language
HTML
Stars
330
Forks
150
Avg merge
2h 21m
Merged PRs (30d)
3

Description

Currently, there is effectively no limit to the size of a /_matrix/federation/v1/send/{txnId} request, because some EDUs (eg presence, receipts) can reasonably contain an unlimited quantity of data. I think we should specify some limits to the amount of data such EDUs can contain.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the /_matrix/federation/v1/send/{txnId} endpoint and review how EDUs such as presence and receipts are described in the Matrix specification. Define and document limits for the amount of data those EDUs can contain, with the specification clearly stating the resulting maximum size.

Written by the indexing model from the issue text.

Assessment

Domain
api, distributed-systems
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.