-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
支持UNIX Domain socket #1561
Comments
#1560 已经在PR中了 |
试用了1560提交的那个版本的uds,发现两个问题:1. 如果客户端先启动,服务端后期动,客户端无法连接到服务端。2. 服务端生成sock文件如果不删除,会bind失败。 |
|
我就是先启动client,然后再启动server。之后就一直连不上了。 |
Connection refused的情况应该是sock文件存在,但是没有进程在监听 |
客户端的connection_type采用pooled方式,当启动多个客户端进程时,会打印: |
已合入master |
Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)
否
Describe the solution you'd like (描述你期望的解决方法)
支持UNIX domain socket 以更好的支持进程间通信。
UNIX domain socket采用共享内存技术,在单机中的进程间通信有着更好的性能。
Describe alternatives you've considered (描述你想到的折衷方案)
Additional context/screenshots (更多上下文/截图)
The text was updated successfully, but these errors were encountered: