This is the ultimate concurrency tutorial. Aimed for beginners, we won’t skip the ugly parts (OS low level and computer science concepts). In this tutorial you’ll learn:
_thread
, threading
, concurrent.futures
) and what’s the difference between them, the same for multiprocessing (subprocess
, multiprocessing
or concurrent.futures
).This tutorial will include coding examples for all the concepts in it, along with two main activities, in which we’ll be writing a web server both using multithreading and multiprocessing!
At the end of this tutorial, you’ll feel confident answering the following questions: