|
|
|
|
|
by jw887c
1041 days ago
|
|
Multiprocessing is great as a first pass parallelization but I've found that debugging it to be very hard, especially for junior employees. It seems much easier to follow when you can push everything to horizontally scaled single processes for languages like Python. |
|
All these are much more reliably solved with horizontal scaling.
[edit] by the way, a very useful minimal sugar on top of multiprocessing for one-off tasks is tqdm's process_map, which automatically shows a progress bar https://tqdm.github.io/docs/contrib.concurrent/