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

/state_ids federation requests causes large memory spikes #13246

Closed
erikjohnston opened this issue Jul 11, 2022 · 1 comment
Closed

/state_ids federation requests causes large memory spikes #13246

erikjohnston opened this issue Jul 11, 2022 · 1 comment
Labels
T-Task Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.

Comments

@erikjohnston
Copy link
Member

Especially if we get some in quick succession, as we will cache the state in memory.

We probably want to add a new (specced) endpoint that allows requesting of deltas of state, to reduce the amount of data fetched from the DB.

We could also decide not to cache result of /state_ids? But we might get the same request multiple times.

@erikjohnston erikjohnston added the T-Task Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks. label Jul 11, 2022
@erikjohnston erikjohnston added this to the Server Density milestone Jul 11, 2022
@MadLittleMods
Copy link
Contributor

Duplicate of #6597

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Task Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.
Projects
None yet
Development

No branches or pull requests

2 participants