You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Does it fit the projects scope?
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
The text was updated successfully, but these errors were encountered: