In this lesson, you’ll see why you might want to use concurrent.futures
rather than multiprocessing
. One point to consider is that concurrent.futures
provides a couple different implementations that allow you to easily change how your computations are happening in parallel.
In the next lesson, you’ll see which situations might be better suited to using either concurrent.futures
or multiprocessing
. You’ll also learn about how that ties in with the Global Interpreter Lock (GIL).
tinachoudhary on April 6, 2020
Thanks a lot for the tutorial, it is explained well.