Async and Parallel requests in Python
It runs 4 different methods to compare:
- Synchronous Requests
- Asynchronous Requests with
Tornado - Asynchronous Requests with
Grequests - Asynchronous Requests with
built-in multiprocessing
To make things work,
- Clone the repo
cdinto repo- run ->
python3.6 -m venv venv - then ->
source venv/bin/activate - then ->
pip install -r req.pip
And finaly to just run main file:
python3 main.py
An Example output would be:
