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 performances of metadata endpoint #4347

Merged
merged 1 commit into from
Mar 6, 2024
Merged

Conversation

charlesBochet
Copy link
Member

I have investigated the performances of /metadata endpoint which is used to load all metadata:

  1. we are missing indexes, I have added them directly on production database and created the following ticket ticket here with follow ups (good first issue): Performance improvements on metadata and core schemas #4346
  2. totalCount feature is forcing a lot of count requests (one by field, one by object), even with index each requests takes 10ms. This is ~500ms and we don't actually use it in the front

@charlesBochet charlesBochet merged commit e5c09de into main Mar 6, 2024
15 checks passed
@charlesBochet charlesBochet deleted the improve-performances branch March 6, 2024 17:09
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.

None yet

2 participants