Using Processes
Learn about scaling using processes in Python.
We'll cover the following...
Threads and GIL
Since multithreading is not a perfect scalability solution because of the Global Interpreter Lock (GIL), using processes instead of threads is a good alternative. Python obviously exposes the OS fork
system call to create new processes. However, in most cases, this approach is a little bit too
low-level to be interesting.
Threads and Global Interpreter Lock (GIL)
multiprocessing.Process
Instead, the multiprocessing
package is a ...
Access this course and 1400+ top-rated courses and projects.