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

RefSeqs JBrowse route is unusably slow with a large number of sequences #345

Closed
njbooher opened this issue Aug 1, 2022 · 1 comment
Closed

Comments

@njbooher
Copy link
Contributor

njbooher commented Aug 1, 2022

Setup

>>> import sys; print(sys.version)
3.8.8 (default, Aug 11 2021, 06:52:42) 
[GCC 8.5.0 20210514 (Red Hat 8.5.0-3)]
>>> import platform; print(platform.python_implementation()); print(platform.platform())
CPython
Linux-5.14.9-200.fc34.x86_64-x86_64-with-glibc2.2.5

Expected behaviour

JBrowse on this page should load within a couple seconds
https://db.abalone.dbgenome.org/feature/?feature_id=1224439

Actual behaviour

JBrowse doesn't load because the RefSeqs api endpoint takes too long to load

From what I understand this is likely caused by ModelSerializer being slow.

https://hakibenita.com/django-rest-framework-slow

I will be testing the suggestions from that post today and probably make a pull request.

@azneto
Copy link
Collaborator

azneto commented Aug 1, 2022

Performance upgrades are really welcome. Thanks.

@njbooher njbooher closed this as completed Aug 2, 2022
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

No branches or pull requests

2 participants