3 ms·
> You need to duplicate your process, then pay the price of memory usage ... I believe the implementation of the Python multiprocessing package uses fork() on
by hgs3 3y ago
> You need to duplicate your process, then pay the price of memory usage ...
I believe the implementation of the Python multiprocessing package uses fork() on *nix systems which means memory should be copy-on-write.
Processes do have the advantage of being self-contained meaning if one crashes, then it will not take down the entire system. Also, the message passing model can theoretically scale to processes running on separate hardware. Thread's cannot do that.