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

Implement a global resource-control for WMAgent work acquisition #11266

Open
amaltaro opened this issue Sep 2, 2022 · 0 comments
Open

Implement a global resource-control for WMAgent work acquisition #11266

amaltaro opened this issue Sep 2, 2022 · 0 comments

Comments

@amaltaro
Copy link
Contributor

amaltaro commented Sep 2, 2022

Impact of the new feature
WMAgent

Is your feature request related to a problem? Please describe.
Each agent has its own database and resource control, making it sub-optimal to control how much work the agents have allocated / pending for each site.

Describe the solution you'd like
I would suggest to make a central resource-control database, such that agents can consult it before pulling work from central workqueue, and also update it once work has been materialized into jobs.
It's basically the same scenario we have right now, but instead of having one resource control per agent, we would have a single place which would give an overview for the whole central production system.
It would be a single place for setting sites to enabled/disabled/drain as well.

Of course, REST APIs should be properly written to read/write to this unique resource control.

Describe alternatives you've considered
Keep using the current mechanism

Additional context
None

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

No branches or pull requests

2 participants