-
Notifications
You must be signed in to change notification settings - Fork 80
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
调用服务的时候每次都建立一个socket连接问题 #15
Comments
不会的 请求结束后 socket链接就关闭了 Sent from my iPhone
|
高并发的情况下,每次都new socket; 是不是应该维护一个socket连接池,保证socket数量不会太多? |
@nupthale 好 非功能性优化 会放在计划里 |
使用dubbo协议的,官方推荐每服务每提供者每消费者使用单一长连接,那么是不是只维护一个socket连接更合理? |
@eurekao 是的 后期会加上的 |
调用服务的时候每次都建立一个socket连接,var client = new net.Socket(); 这样子是不是可能把dubbo提供的服务端口都占满?
The text was updated successfully, but these errors were encountered: