December 2018
Intermediate to advanced
500 pages
12h 33m
English
Now, we can run the drone_service.py script, which launches the development server for Tornado 5.1.1 to our new version of the web API that uses the non-blocking features of Tornado, combined with an asynchronous execution. Make sure that the drone_service.py script is not running anymore. Execute the following command:
python async_drone_service.py
The following line shows the output after we execute the previous command. The Tornado HTTP development server is listening at port 8888:
Listening at port 8888
In our new version of the API, each HTTP request is non-blocking. Thus, whenever the Tornado HTTP server receives an HTTP request and makes an asynchronous call, it is able to start ...
Read now
Unlock full access