1

I have 5 workers doing different tasks and i am passing the same input to all the 5 workers and retrieving the collective output of all the 5 workers.

I am using gearman library of python and i have tried using

 m_client.submit_multiple_jobs(site, background=False, wait_until_complete=False)

Now i need to make sure that all these 5 workers are working in parallel. How can i achieve it ?

Thanks in Advance.

pacifier
  • 181
  • 6
  • I don't understand what do you mean with "make sure the all these 5 workers are running in parallel". Anyway, do not use python_gearman since it is no longer supported. There is a new python library https://github.com/Yelp/pygear which works better and uses a more updated version of the gearman protocol. – drolando Jan 12 '15 at 02:21

0 Answers0