September 2016
Intermediate to advanced
454 pages
9h 23m
English
Before jumping onto the discussion of the multiprocessing module, let's first understand what we mean by parallelization. This will be a very short introduction to parallelization, just enough to understand how to use some features of the multiprocessing module.
Imagine you are standing in a long queue at a checkout counter in a grocery store, waiting for your turn. Now, three more counters are opened to serve the customers and the existing queue is split. As a result, you can pay and get out of the store quickly.
Parallelization, in some sense, accomplishes similar results. In this example, each counter can be imagined as a separate process, carrying out independent ...
Read now
Unlock full access