Python App Scraping ———09.09.201

2017-09-10  本文已影响0人  腾腾4ever

IO Bound vs. CPU Bound

Python GIL, multithreading, multiprocessing

- IO Bound vs. CPU Bound

IO Bound vs. CPU Bound

- Python Interpreter

- Python GIL (global interpreter lock)


- Multiprocessing

- Python多进程multiprocessing.Pool

- [Multiprocessing系列]Multiprocessing基础 (RECOMMEND***)

- python多进程编程multiprocessing 

(Last sentence***). Make sure start() all the processes and then join() them all. If start() and join() each individual process, once the individual process is being start(), it will stuck its father process and thus the system could not run the next start() on the next individual process. This results in a serial processing instead of parallel.

上一篇下一篇

猜你喜欢

热点阅读