-
Notifications
You must be signed in to change notification settings - Fork 74
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
Multiple object relations performance #762
Comments
Hi,
Could you describe your use case, please? Or maybe some kind of warning would be a good solution? |
Relations are eagerly loaded by There are few things we can do in API:
For graph: there could be an extra node with text |
I guess we will opt for removing relationship information from ObjectItemResponseSchema and make endpoints that will allow iteration Initiated by #881 |
Feature Category
Describe the problem
A file with 1400 related samples takes around 30-40s to load.
Clicking on Relations tab in file details kills the browser tab with this amount of relations.
Describe the solution you'd like
Implement some kind of pagination on related samples.
OR/AND
Improve the process of getting related samples from the db e.g. optimize the db joins.
Describe alternatives you've considered
Increasing number of processes available.
Increasing requests timeouts.
Both slightly helped, but we can scale like this just for a while, before we will start hitting the limits again.
The text was updated successfully, but these errors were encountered: