Multiprocessing vs Threading Python [duplicate]
Here are some pros/cons I came up with. Multiprocessing Pros Separate memory space Code is usually straightforward Takes advantage of multiple CPUs & cores Avoids GIL limitations for cPython Eliminates most needs for synchronization primitives unless if you use shared memory (instead, it’s more of a communication model for IPC) Child processes are interruptible/killable Python … Read more