-
Notifications
You must be signed in to change notification settings - Fork 108
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
Sub-process Approach for Agent #748
Comments
michaelquigley
added a commit
that referenced
this issue
Sep 12, 2024
michaelquigley
added a commit
that referenced
this issue
Sep 12, 2024
michaelquigley
added a commit
that referenced
this issue
Sep 12, 2024
michaelquigley
added a commit
that referenced
this issue
Sep 12, 2024
michaelquigley
added a commit
that referenced
this issue
Sep 16, 2024
michaelquigley
added a commit
that referenced
this issue
Sep 16, 2024
michaelquigley
added a commit
that referenced
this issue
Sep 17, 2024
michaelquigley
added a commit
that referenced
this issue
Sep 17, 2024
The |
michaelquigley
added a commit
that referenced
this issue
Sep 24, 2024
michaelquigley
added a commit
that referenced
this issue
Sep 24, 2024
michaelquigley
added a commit
that referenced
this issue
Sep 24, 2024
michaelquigley
added a commit
that referenced
this issue
Sep 25, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a sub-task of #463.
In working through the agent implementation I figured out that some of the Caddy-based backends really don't want to allow running multiple instances per-process. The
caddy.Run()
call really expects to only happen a single time per-process.Also, it might be a little less than ideal to lose all of the running shares in a case where an agent process crashes.
So, let's explore a sub-process based agent approach. Instead of having a single large process to manage all of the agent frontends and backends, let's make the core agent into a sub-process manager.
Spawning processes is relatively easy. There may be challenges around discovering which processes correspond to existing shares, and detecting crashed sub-processes.
The text was updated successfully, but these errors were encountered: