<p dir="auto">I have few questions regarding celery. Please help me with that.</p>
<p dir="auto"><strong>Sorry for posting this here</strong>. I asked the same in stackoverflow (<a href="https://stackoverflow.com/questions/56681692/queries-regarding-celery-scalability" rel="nofollow">https://stackoverflow.com/questions/56681692/queries-regarding-celery-scalability</a>) but no reply.</p>
<ol dir="auto">
<li>
<p dir="auto">Do we need to put the project code in every celery worker? If yes, if I am increasing the number of workers and also I am updating my code, what is the best way to update the code in all the worker instances (without manually pushing code to every instance everytime)?</p>
</li>
<li>
<p dir="auto">Using <code class="notranslate">-Ofair</code> in celery worker as argument disable prefetching in workers even if have set <code class="notranslate">PREFETCH_LIMIT=8 or so</code>?</p>
</li>
<li>
<p dir="auto">IMPORTANT: Does rabbitmq broker assign the task to the workers or do workers pull the task from the broker?</p>
</li>
<li>
<p dir="auto">Does it make sense to have more than one celery worker (with as many subprocesses as number of cores) in a system? I see few people run multiple celery workers in a single system.</p>
</li>
<li>
<p dir="auto">To add to the previous question, whats the performance difference between the two scenarios: single worker (8 cores) in a system or two workers (with concurrency 4)</p>
</li>
</ol>
<p dir="auto">See <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5486201" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/845" data-hovercard-type="issue" data-hovercard-url="/celery/celery/issues/845/hovercard" href="https://github.com/celery/celery/issues/845">#845</a>. Sorry for creating duplicate issue, but I'm unable to reopen <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5486201" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/845" data-hovercard-type="issue" data-hovercard-url="/celery/celery/issues/845/hovercard" href="https://github.com/celery/celery/issues/845">#845</a>.</p>