-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Support systemd socket-based activation #47185
Comments
The
|
@guignome isn't that what this extension is for? see: https://github.com/quarkiverse/quarkus-systemd-notify |
@melloware My understanding is that the Quarkus systemd notify extension is used to tell systemd when a quarkus app starts or stops. Whereas what is needed here is for a quarkus application to receive its preinitialized sockets from systemd, instead of creating them internally |
The main task would be figuring out a way to get |
Description
systemd can start services "on-demand", when a client connects to a socket. This works by having systemd listen on a socket, start the relevant service when a client connects to the socket, and pass the file descriptor of the socket to the service.
This would allow devops teams to run many Quarkus applications on limited hardware, by only starting quarkus applications as-needed.
Example
/etc/systemd/system/quarkus-app.socket
And the matching
/etc/systemd/system/quarkus-app.service
Implementation ideas
Similar socket activation for NodeJS apps
Podman socket activation
The text was updated successfully, but these errors were encountered: