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

Improve perf of looking up device lists changes in /sync #17205

Closed
wants to merge 2 commits into from

Conversation

erikjohnston
Copy link
Member

@erikjohnston erikjohnston commented May 16, 2024

Based on #17197

This code path was changed in #17191

The idea here is to add a StreamChangeCache for the device_lists_changes_in_rooms table. Usually this is done by adding or updating a replication stream, but sending a new row for every room ID feels a lot and we just pull it out of the DB anyway.

@erikjohnston erikjohnston force-pushed the erikj/perf_device_lists branch from 16331e2 to 91f30e7 Compare May 16, 2024 09:12
@erikjohnston
Copy link
Member Author

Landed in #17216

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant