wenxuwan opened a new pull request #1119: URL: https://github.com/apache/dubbo-go/pull/1119
<!-- Thanks for sending a pull request! Read https://github.com/apache/dubbo-go/blob/master/contributing.md before commit pull request. --> **What this PR does**: 1. gettyRPCClientPool 理论上是完全可以删除的,但现在保留,只是gettyRPCClient 不再用切片,而是一个单例 **Which issue(s) this PR fixes**: 1. 现在底层的tcp连接数量其实是由gettyRPCClient 来控制的。 2. gettyRPCClientPool 的数量配置显的有点多余,本身只会加大锁的复杂度。 3. 在dubb-go刚启动的时候,如果大量并发请求,newGettyRPCClientConn 由于没有锁的保护,会打开大量的tcp连接。 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org For additional commands, e-mail: notifications-h...@dubbo.apache.org