Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[bioontology-support] API limits

John Graybeal jgraybeal at stanford.edu
Thu May 31 21:27:06 PDT 2018


Hi Sean, thanks for the question.

The default (and current) limit for requests is 15 requests/second. (This is set in https://github.com/ncbo/ontologies_api/blob/6bb08dab3d4ed01daa3a7f0fc34c36e702987e92/config/config.rb, and the code that handles it is https://github.com/ncbo/ontologies_api/blob/master/config/rack_attack.rb. The final settings can be overwritten in https://github.com/ncbo/bioportal_config/blob/master/ontologies_api/config/environments/production.rb but this one is not.)

Please be aware that there are queries that will overload the system when run at anything approaching 15 requests/second. Downloading large ontologies via API by walking their pages, getting ontology recommendations on large bodies of text, and searching within large branches are 3 examples of operations that can overload BioPortal.

We encourage anyone considering repeated requests to avoid parallelizing their requests, instead waiting for one to complete before issuing the next. (Considering that a number of other people may also be making expensive requests at the same time.)

John


On May 30, 2018, at 1:21 PM, Mullane, Sean *HS <SPM9R at hscmail.mcc.virginia.edu<mailto:SPM9R at hscmail.mcc.virginia.edu>> wrote:

Hello,

Can you tell me what, if any, limits there are on the BioPortal API in terms of requests/sec or requests/day or other rate limits as applicable?

Thanks,
Sean Mullane
_______________________________________________
bioontology-support mailing list
bioontology-support at lists.stanford.edu<mailto:bioontology-support at lists.stanford.edu>
https://mailman.stanford.edu/mailman/listinfo/bioontology-support

========================
John Graybeal
Technical Program Manager
Center for Expanded Data Annotation and Retrieval /+/ NCBO BioPortal
Stanford Center for Biomedical Informatics Research
650-736-1632


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/bioontology-support/attachments/20180601/a25dd24d/attachment-0001.html>


More information about the bioontology-support mailing list