Better schedule builds among agents #324
Labels
No labels
Roadmap
V
bug
docs
duplicate
enhancement
good first issue
help wanted
idea
invalid
question
wontfix
Idea
Roadmap
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference: vieter-v/vieter#324
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This idea just popped into my head, gonna dump it here.
What if each agent registered itself with the server on startup, providing the server with the agent's polling frequency, amount of allowed builds, and a unique identifier (uuid for example), along with some metrics on how powerful the agent is.
These values could then be used by the server to better schedule the builds among agents (e.g. if it knows 5 agents are polling and 5 jobs are waiting, it'll spread those among those 5 agents). Heavier jobs could also be scheduled on more powerful agents, or agents with fewer running jobs etc, I think there's a lot of potential here, all without having to convert to a persistent connection-based system.