Distributing simple tasks

Piet van Oostrum piet at cs.uu.nl
Wed Feb 11 11:12:06 CET 2009


Noam Aigerman wrote:
> Hi,
> 
> Suppose I have an array of functions which I execute in threads (each
> thread get a slice of the array, iterates over it and executes each
> function in it’s slice one after the other). Now I want to distribute
> these tasks between two machines, i.e give each machine half of the
> slices and let it run them in threads as described above. Is there an
> easy way, or an article on this matter you can point me to?

Have a look at MapReduce (google for MapReduce Python).
-- 
Piet van Oostrum <piet at cs.uu.nl>
URL: http://pietvanoostrum.com [PGP 8DAE142BE17999C4]
Private email: piet at vanoostrum.org



More information about the Python-list mailing list