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
High response times and system load after adding data sets #2789
Comments
@jkmarx reported the v1.6.5 test site being very slow |
@scottx611x Can use this issue as the Neo4J issue or should we write a separate issue? Possible routes
|
Potential avenues for a fix from Fritz: Hi Nils, thanks to Scott we now know what the bottleneck with uploading new docs is: it's the creation of the annotation set hierarchy in Neo4J (https://github.com/refinery-platform/neo4j-ontology). What the tool basically does is creating sub-ontologies for every user based on the annotation of available datasets. Creating this ontology takes about 1sec for ~500 datasets for 1 users. Given that you guys have ~360 users it takes ~6mins. Back in the day there were no users so I didn't spend time optimizing and went the safe route (update the hierarchy for all users whenever a dataset was uploaded, shared, or deleted). Apparently this is no longer feasible given the increase in users. I see 3 general ways to improve this:
|
Steps to reproduce
It appears that this happens after adding several data sets.
Observed behavior
Site responds very slowly. High CPU utilization and system load.
Expected behavior
Site responds without delays. Normal CPU utilization and system load.
Notes
The text was updated successfully, but these errors were encountered: