Server-agent model #24
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#24
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?
The goal should be to distribute the work as much as possible. For that, I currently have the following idea:
Agent Registration
An agent registers itself with the repository server when starting up. All agents & the server will require a copy of a secret to authenticate requests. After registration, the agent will stay on stand-by until the repository server sends a new request. The repository server will also periodically send a heartbeat request to make sure the agent is still ready to accept connections. If this heartbeat check failed, the repository server will remove the agent from its list of agents until it reregisters.
This idea is too complicated for a first version of the project. It would be better to just build the packages on the host of the vieter server, without any additional components. This would allow me to get this project up and running a lot sooner.
This is just too complex in general, it would be way too much work to implement.