|
|
|
|
|
by hot_gril
1004 days ago
|
|
Subprocessing is the only way to do full parallelism in Python. The title includes parallelism, and the article says how threading can achieve it specifically if your CPU-bound portion is inside C modules (which release the GIL), but it's relevant to mention how you do parallelism in the general case. |
|
If you wrote the subprocess, add quality and some communication hooks. If you didn't, get a better one or kill -9 it regularly.