epam/NGB

Improve NCBI requests stability

mzueva opened this issue · 0 comments

mzueva commented

Background
As we are using NCBI e-itilities extensively we may hit the requests limits at some point. Let's introduce a mechanism to improve such requests stability.

Approach

  1. Allow to optionally specify NCBI API key in the properties. If the key is specified, it shall be used for all requests for NCBI.
  2. Allow to set NCBI attempts count in the properties. If this value is specified, failed NCBI requests shall be retried no N times with a M seconds delay (also specified in the properties).