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

Allow getting multiple GOTerms at Once #46

Open
monprin opened this issue Dec 27, 2016 · 4 comments
Open

Allow getting multiple GOTerms at Once #46

monprin opened this issue Dec 27, 2016 · 4 comments

Comments

@monprin
Copy link
Contributor

monprin commented Dec 27, 2016

Currently have to make many 'getitem' calls to get a list of many terms (such as for enrichment computation). This introduces significant slowdown to other wise near instant functions (such as enrichment).

@schae234
Copy link
Member

schae234 commented Dec 27, 2016 via email

@monprin
Copy link
Contributor Author

monprin commented Dec 27, 2016

There is already, and it does help with subsequent requests, but it doesn't help with the first requests. It's not a huge deal. I was able to get the actual enrichment computation down to almost trivial, and I have a couple other optimizations in mind, so it should be under 20 seconds for any normal query now, which won't cause me to lose sleep if we publicize the server. Though it is still somewhat accidental DDoS prone.

@schae234
Copy link
Member

BTW, Are you using the built in enrichment function inside of the Ontology object? That one should be pretty fast.

@monprin
Copy link
Contributor Author

monprin commented Dec 28, 2016 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants