Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Number of Workers in CeleryExecutor #44

Open
andyneff opened this issue Jun 15, 2020 · 0 comments
Open

Number of Workers in CeleryExecutor #44

andyneff opened this issue Jun 15, 2020 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@andyneff
Copy link
Member

num_workers is not honored by the CeleryExecutor.

There are numerous technical issues preventing this mechanism from working in the celery case.

Two potential workarounds include:

  • Wrapping a task in a chain to make it count as multiple tasks. This will effectively decrease the concurrency rate with respect to a specific task.
  • Create multiple routes/keys/queues and run multiple celery worker parents, one for each queue. This has an increased overhead as more worker parents are added.
@andyneff andyneff added enhancement New feature or request help wanted Extra attention is needed labels Jun 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant