Skip to content
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

(feat) Unix socket server support #220

Open
1 task done
eirnym opened this issue Jan 20, 2025 · 1 comment
Open
1 task done

(feat) Unix socket server support #220

eirnym opened this issue Jan 20, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@eirnym
Copy link

eirnym commented Jan 20, 2025

Does it fit the projects scope?

  • This is relevant

Why?

TCP servers are nice when you have few of them on a host.

Unix sockets are faster I'm able to manage them easily in nginx, e.g. I can match hostname to unix socket file to have indefinite servers without touching nginx config.

Solution?

Go has well known support for listening Unix socket and it works quite well. Two options to add: unix_socket_pathname and unix_socket_mask.

Alternatives?

Docker translation between TCP and Unix sockets is quite slow thus not an option.

Extra Context

No response

@eirnym eirnym added the enhancement New feature or request label Jan 20, 2025
@enchant97
Copy link
Owner

It seems possible to implement and I can see it may be useful to some people.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants