How to get several celery workers to do the same tasks?

I have one task that checks the speed of a URL, but I want this to be done by several celery workers on different servers. I want the same URL to be checked by several employees.

How can i do this?

+6
source share
1 answer

If you can set ignore_result=True . Try Broadcast

If you could not, check the "Routing Tasks" and send the task several times in different queues, for example, for different IDCs and corresponding employees.

+7
source

Source: https://habr.com/ru/post/915984/


All Articles