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

Possibly add something like pools? #28

Open
savagematt opened this issue Feb 3, 2016 · 1 comment
Open

Possibly add something like pools? #28

savagematt opened this issue Feb 3, 2016 · 1 comment

Comments

@savagematt
Copy link
Collaborator

savagematt commented Feb 3, 2016

I can see what they're going for here:

https://pythonhosted.org/airflow/concepts.html#pools

But I don't think the server should be responsible for holding back jobs. Agents should be able to (possibly dynamically) decide how many of a particular job type should be in-flight at one time. i.e. "give me work, but only if there aren't loads of this type of job already running"

If we denormalised the running agent count into each job, the agent could just use that as another filter in addition to job type- no need for special code.

@savagematt
Copy link
Collaborator Author

There's probably some thorny code to write here around controlling agent count in the face of multiple concurrent requests for work.

Also not quite sure how this plays when we switch to push rather than polling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant