concurrencyceleryweb-workerdjango-celeryceleryd

Celery: number of workers vs concurrency


What is the difference between having:

  1. one worker with concurrency 4 or
  2. two workers with concurrency 2 each

for the same queue.

Thanks


Solution

  • Intersting question.

    Things that I can think of (I'm sure there are a lot more):

    Of course, you have price for that: more processes that takes more resources (CPU/Memory etc).

    I found this question which is quite similar.