Just being noob in this context:
I am try to run one function in multiple processes so I can process a huge file in shorter time
I tried
for file_chunk in file_chunks: p = Process(target=my_func, args=(file_chunk, my_arg2)) p.start() # without .join(), otherwise main proc has to wait # for proc1 to finish so it can start proc2 but it seemed not so really fast enough
now I ask myself, if it is really running the jobs parallelly. I thought about Pool also, but I am using python2 and it is ugly to make it map two arguments to the function.
am I missing something in my code above or the processes that are created this way (like above) run really paralelly?