News for hackers. Stuff that matters.
Re:Mpire: A Python package for easier and faster multiproces... by xapata on Friday August 11, 2023 @01:20PM (#37091216)
How is coordinating between different machines any different than coordinating between different processes?

A multiprocessing implementation is a good prototype for a distributed implementation.

Re:Mpire: A Python package for easier and faster multiproces... by uniqueuid on Friday August 11, 2023 @01:34PM (#37091415)
To be honest, I don't think both are similar at all.

Parallelizing across machines involves networks, and well, that's why we have jepsen, and byzantine failures, and eventual consistency, and net splits, and leadership election, and discovery - so in short a stack of hard problems that in and of itself is usually much larger than what you're trying to solve with multiprocessing.

Re:Mpire: A Python package for easier and faster multiproces... by xapata on Friday August 11, 2023 @04:01PM (#37093293)
True, the networking causes trouble. I usually rely on a communication layer that addresses those troubles. A good message queue makes the two paradigms quite similar. Or something like Dask (https://www.dask.org/).