blsqr / citationweb

map the citation relations in your bibliography (WIP)
0 stars 0 forks source link

Make HTTP requests parallel #11

Open blsqr opened 6 years ago

blsqr commented 6 years ago

At multiple stages during searching for references, HTTP requests are being made to the CrossRef API. These take approximately one second per call, which is mostly due to limitations on their side.

To that end, it would make sense to parallelise the API calls (if there is more than one).

blsqr commented 6 years ago

Inspiration: http://skipperkongen.dk/2016/09/09/easy-parallel-http-requests-with-python-and-asyncio/