element-hq / element-hq/synapse

Calculating remote hosts to send events to is memory intensive

Open
#13,376 0 comments 0 reactions 0 assignees View on GitHub
A-Federation A-Performance T-Task
Dominant language
Python
Stars
4.6k
Forks
600
Avg merge
5d 22h
Merged PRs (30d)
51

Description

This issue has been migrated from [#13376](https://github.com/matrix-org/synapse/issues/13376).

---

Whenever we create a new event we need to figure out where to send it, which ends up pulling out the full state:

https://github.com/matrix-org/synapse/blob/43adf2521cc6952dcc7f0e3006dbfe52db85721a/synapse/handlers/message.py#L1451-L1453

we should figure out a better way of calculating these hosts without having to pull out the full state.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.