running mutliple worker in parallel in gearman-python

133 Views Asked by At

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.

0

There are 0 best solutions below