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

Use chain cover index in get_auth_chain_ids #9482

Closed
clokep opened this issue Feb 24, 2021 · 1 comment · Fixed by #9576
Closed

Use chain cover index in get_auth_chain_ids #9482

clokep opened this issue Feb 24, 2021 · 1 comment · Fixed by #9576
Assignees
Labels
T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements.

Comments

@clokep
Copy link
Member

clokep commented Feb 24, 2021

We have an instance of Synapse that is spending a lot of CPU time in get_auth_chain_ids. @erikjohnston suggested the CPU load could be reduced:

but we should probably just make get_auth_chain_ids use the chain cover index (its just a simplified version of get_auth_chain_diff), which should be much faster

@clokep clokep added the T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements. label Feb 24, 2021
@richvdh
Copy link
Member

richvdh commented Feb 24, 2021

this might help with #7893.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants