[GitHub] [incubator-brpc] GTHubT closed issue #870: serevr端服务存在,client一直处于[E112]Not connected to

2019-08-13 Thread GitBox
GTHubT closed issue #870: serevr端服务存在,client一直处于[E112]Not connected to 
URL: https://github.com/apache/incubator-brpc/issues/870
 
 
   


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


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org
For additional commands, e-mail: dev-h...@brpc.apache.org



[GitHub] [incubator-brpc] zyearn commented on issue #884: 关于多个bthread_start_urgent的调用线程安全

2019-08-13 Thread GitBox
zyearn commented on issue #884: 关于多个bthread_start_urgent的调用线程安全
URL: https://github.com/apache/incubator-brpc/issues/884#issuecomment-520777403
 
 
   每个worker pthread都有它自己的tls TaskGroup,只push自己的WorkStealingQueue,这样push不会有竞争。


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


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org
For additional commands, e-mail: dev-h...@brpc.apache.org



[GitHub] [incubator-brpc] taozhiwei edited a comment on issue #516: h2c/grpc遗留问题

2019-08-13 Thread GitBox
taozhiwei edited a comment on issue #516: h2c/grpc遗留问题
URL: https://github.com/apache/incubator-brpc/issues/516#issuecomment-520841621
 
 
   > @taozhiwei 目前可以把remote window size调大作为workaround,在你们业务场景会带来什么问题么
   
   我已经修改grpc client调用方式了: ManagedChannel channel  = 
NettyChannelBuilder.forAddress("127.0.0.1",8080).flowControlWindow(2097152).usePlaintext().build();


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


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org
For additional commands, e-mail: dev-h...@brpc.apache.org



[GitHub] [incubator-brpc] taozhiwei commented on issue #516: h2c/grpc遗留问题

2019-08-13 Thread GitBox
taozhiwei commented on issue #516: h2c/grpc遗留问题
URL: https://github.com/apache/incubator-brpc/issues/516#issuecomment-520841621
 
 
   > @taozhiwei 目前可以把remote window size调大作为workaround,在你们业务场景会带来什么问题么
   
   我已经修改grpc client调用方式了: ManagedChannel channel  = 
NettyChannelBuilder.forAddress("127.0.0.1",8080).flowControlWindow(2*1024*1024).usePlaintext().build();


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


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org
For additional commands, e-mail: dev-h...@brpc.apache.org



[GitHub] [incubator-brpc] gxkevin opened a new issue #886: brpc log performance

2019-08-13 Thread GitBox
gxkevin opened a new issue #886: brpc log performance
URL: https://github.com/apache/incubator-brpc/issues/886
 
 
   我有个问题,关于log的:
   1:目前我看到brpc的log中,使用了localtime_s/localtime_r,这两个函数应该调用了__tz_convert, 
__tz_convert,有tzset_lock全局锁,每次获取时间都会使用到kernel级别的futex锁,不知道我分析的对不对,这块getimeofday会不会好点
   
#if _MSC_VER >= 1400
localtime_s(&local_tm, &t);
   #else
   localtime_r(&t, &local_tm);
   #endif
   
   2:关于log打印的问题,目前多线程下,log打印是有锁的,当打印的内容比较多的时候,这个锁就会有一定的问题,是否有种无锁的设计方式?


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


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org
For additional commands, e-mail: dev-h...@brpc.apache.org



[GitHub] [incubator-brpc] jamesge commented on issue #886: brpc log performance

2019-08-13 Thread GitBox
jamesge commented on issue #886: brpc log performance
URL: https://github.com/apache/incubator-brpc/issues/886#issuecomment-521091284
 
 
   这个log主要是提供接口,实现作为参考,性能是没有任何优化的,在生产环境中建议适配使用公司内或第三方日志库


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


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org
For additional commands, e-mail: dev-h...@brpc.apache.org