In the previous chapter, we studied how to use the threading
module to solve two case problems. Throughout this present chapter, we will study how to use the multiprocessing
module, which implements a similar interface to that of threading
. However, here we will use the processes paradigm.
This chapter covers the following topics:
Understanding the concept of a process
Understanding multiprocessing communication
Using multiprocessing to obtain Fibonacci series terms with multiple inputs
Crawling the Web using
ProcessPoolExecutor