luobuda commented on issue #1404:
URL: https://github.com/apache/incubator-brpc/issues/1404#issuecomment-851778255


   > > 需要注意的就是在bthread中使用会切pthread,所以不能使用pthread 
local,连接数配置需要考虑并发请求数,而不是ptrhead数
   > 
   > 请问 “连接数配置需要考虑并发请求数,而不是ptrhead数” 是什么意思呢?指的是 
https://gist.github.com/luobuda/3d7f9cd4ca187a6e27f507f210449a2d 这里面的 :
   > 
   > ```
   > #每个connectionpool中的连接数
   > connection_num: 3
   > #每个实例最大的连接数
   > max_connection_per_instance:5
   > ```
   > 
   > 这些吗?
   这两个配置是对单个mysql实例来说的,“连接数配置需要考虑并发请求数,而不是ptrhead数” 
其实说的链接数:pthread=M:N这种关系,baikal-client用的libmariadb异步接口
   


-- 
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: dev-unsubscr...@brpc.apache.org
For additional commands, e-mail: dev-h...@brpc.apache.org

Reply via email to