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

Speed up and fix My Analyses #811

Merged
merged 5 commits into from Aug 17, 2020
Merged

Speed up and fix My Analyses #811

merged 5 commits into from Aug 17, 2020

Conversation

adelavega
Copy link
Collaborator

/myanalyses is quite slow right now.

One improvement is to only return the fields that matter for the listing, for both private and public analyses.

This seems to reduce the data transfered by 5x and speed up the query by up to 10x.

However, I'm still getting a situation where the query hangs on the frontend, and I only see a spinning icon.
I tested this with an account with only a few analyses, so I don't think having too many analyses is the issue.

Instead, I think there's scenarios where the logic goes awry and it just hangs.

@adelavega
Copy link
Collaborator Author

I'm also seeing scenarios where it says "No Analyses" even when I know that is not the case.

@adelavega
Copy link
Collaborator Author

adelavega commented Aug 15, 2020

@rwblair let's take a look on monday. I think there's actually something funky with this, and I'm seeing it across accounts, so I don't think it's just my huge analysis list, like I thought earlier.

the upside is once we get this fixed, it should actually be quite quick compared to before.

@adelavega
Copy link
Collaborator Author

Unfortunately looks like this is behavior from our recent PR... so you were right @rwblair just had to merge to find the bugs.

I reverted the server to a previous state for now as the "My Analysis" listing is pretty important.

@adelavega adelavega changed the title Speed up /myanalyses Speed up and fix My Analyses Aug 15, 2020
@adelavega
Copy link
Collaborator Author

Good to go, app feels snappy.

@adelavega adelavega merged commit 1e79f20 into master Aug 17, 2020
@adelavega adelavega deleted the fix/myanalyses branch August 17, 2020 17:39
@adelavega adelavega mentioned this pull request Aug 17, 2020
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