[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

[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会不会好点

[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

[GitHub] [incubator-brpc] tinnfu commented on issue #885: TimerThread::Task::run_and_delete运行到'already unscheduled'分支问题

2019-08-13 Thread GitBox
tinnfu commented on issue #885: TimerThread::Task::run_and_delete运行到'already unscheduled'分支问题 URL: https://github.com/apache/incubator-brpc/issues/885#issuecomment-520701470 > compare_exchange_strong在失败的时候会把实际的值赋给expected_version,详细的可以看下函数文档 get,明白了

[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 =

[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 =