Conversation
|
Thanks for the contributions. I merged the filesPath and opensearch changes. Can you update the PR to only include the socket change? I'll be happy to merge unix socket support, but I'll need to do some research to understand how you're doing it with systemd-socket and piped-proxy. This is using systemd socket activation? |
|
Socket activation imposes a performance penalty because a new process must be launched for each connection. piped-proxy supports natively setting up its own TCP connection. |
|
OK, I'm wrong about the performance penalty. It doesn't work by creating a new process per connection. I'll do some testing on your solution. |
|
Socket activation means that the service is automatically started when a connection is made to the socket. But since the I've changed the module to use systemd sockets only when |
|
I'm still using this without any issues. |
Hi :)
This PR adds the
filesPathoption to the frontend module, which i use to host the frontend with a different web server.Also i changed the piped-proxy to use systemd sockets and added the
listenPathoption which allows setting a path to a unix socket for the proxy to listen on.Another change is the extra
sedin the frontendpostPatchto change the opensearch url. Upstream doesn't do this in the docker container setup, but i think there is no reason to not do it.