-
Notifications
You must be signed in to change notification settings - Fork 8
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
Make queue size configurable by workers #52
Comments
I've rolled a basic solution according to the requirements outlined in issue #52. I welcome any comments and advice to further improve the program. This pull request doesn't fully comply with the guidelines. Here's a list of the missing items:
I'm also confused about the following:
Thanks, |
I agree the terminology can be confusing. In Dask, Dask workers is analogous to Scaler clusters as each Dask worker can hold more than one process to execute tasks. In Scaler's context, "Cluster" means a group of workers running under the same parent PID. It's mainly used to make clean up the workers easier. The term has diverged a bit from the original meaning as more worker implementations are created. E.g. The IBM Spectrum Symphony Worker is for all intents and purposes a "Worker" but it behaves more like a "Cluster" as communicates with the Symphony Grid Scheduler (and by extension Symphony Grid Workers) and can run tasks concurrently. The cluster level doesn't have the ability to handle messages, messages are sent directly between the Scheduler and Workers. |
Currently queue size is configured by the scheduler is applied globally across all connected workers. This was deemed not a problem up until the introduction of the IBM Spectrum Symphony worker which features workers with alternative implementations. Some workers running on higher specced hosts or workers that can execute multiple tasks concurrently should be allowed to accept more tasks into its queue.
This issue will track the progress of moving the queue size configuration into the worker side.
The worker will send the queue size info using the heartbeat payload and the existing
--per-worker-queue-size
scheduler flag will become a noop and will be removed in the future.The text was updated successfully, but these errors were encountered: