You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’ve been using this library for scraping tasks and encountered a performance issue that could be resolved with the integration of aiohttp for asynchronous network calls.
Currently, while performing scraping operations, the CPU-intensive tasks get blocked due to synchronous network requests, leading to inefficiencies. One way to improve this is by using aiohttp, which would allow the network calls to be handled asynchronously, thus preventing CPU-bound tasks from being delayed or blocked.
Moreover, using aiohttp could help avoid the need for creating multiple threads to execute the scraping jobs quickly we can just use event loop, which in turn would reduce the complexity and improve the overall performance of the application.
It would be great if the library could consider switching to or adding an option for aiohttp for the network requests.
Looking forward to hearing from you guys.
The text was updated successfully, but these errors were encountered:
I’ve been using this library for scraping tasks and encountered a performance issue that could be resolved with the integration of aiohttp for asynchronous network calls.
Currently, while performing scraping operations, the CPU-intensive tasks get blocked due to synchronous network requests, leading to inefficiencies. One way to improve this is by using aiohttp, which would allow the network calls to be handled asynchronously, thus preventing CPU-bound tasks from being delayed or blocked.
e.g.
Moreover, using aiohttp could help avoid the need for creating multiple threads to execute the scraping jobs quickly we can just use event loop, which in turn would reduce the complexity and improve the overall performance of the application.
It would be great if the library could consider switching to or adding an option for aiohttp for the network requests.
Looking forward to hearing from you guys.
The text was updated successfully, but these errors were encountered: