chapter 13: Multiprocessing – When a Single CPU Core Is Not Enough

Multithreading versus multiprocessing 1221 Hyper-threading versus physical CPU cores 1224 Creating a pool of workers 1226 Sharing data between processes 1228 Remote processes 1229 Summary

13.1 Multithreading versus multiprocessing

13.1.1 Linux

Automatic Install Script

$ sudo wget -qO- https://get.docker.com/ | sh

remove hell-world

$ sudo docker rm `sudo docker ps -aq`
$ sudo docker rmi hello-world

.

13.2 Hyper-threading versus physical CPU cores

13.3 Creating a pool of workers

13.4 Sharing data between processes

13.5 Remote processes

13.6 Summary