Re:Parallelising Python with Threading and Multiprocessing
by shogunmike on Saturday May 03, 2014 @01:11PM
(#7691504)
I was going to discuss Parallel Python (http://www.parallelpython.com/) in the next article - have you used that? How does it compare to joblib?
[ Parent
| on HN ]
Re:Parallelising Python with Threading and Multiprocessing
by tiger10guy on Saturday May 03, 2014 @01:35PM
(#7691611)
I haven't used that, but it looks interesting. After a brief look it seems like they both submit jobs to Python interpreters started up in other processes.
Parallel Python (PP) seems to have a clunkier API, but also more functionality. I think the biggest advantage is that it can distribute jobs over a cluster instead of just different cores on the same machine. I might look into PP if I need to do things on a cluster, but I think I'll still stick with joblib when I'm on one machine.
That's just my first impression. I'd be interested to read your blog post.
Re:Parallelising Python with Threading and Multiprocessing
by harlowja on Sunday May 04, 2014 @02:13AM
(#7693486)
Feel free to checkout http://docs.openstack.org/developer/taskflow/ (it has a similar set of concepts to both of the mentioned libraries here, joblib and parallel python).