wwbmmm commented on issue #2342: URL: https://github.com/apache/brpc/issues/2342#issuecomment-1761439320
> 我们这边生产集群也有这个现象。 针对大佬说的瞬时并发,我试了一下用rpc_replay设置相同qps减少瞬时值影响,确实可以降低长尾,瞬时并发较高应该是bthread调度长尾的一个原因。但是长尾依旧比较长(bthread_creation_latency平均200us,三九线4500us),大佬还有啥别的想法吗? 例如client的bthread调度要比server的bthread调度差之类的(因为我们这边没有下游的服务,在bthread_creation_qps相同的情况下,bthread_creation_latency一般都会明显比有下游的服务要好得多,平均几us)。 client的bthread调度和server的bthread调度是一样的。我自己起了个client访问server,client的bthread_creation_latency也是很低的。你这个可能和client端的其它业务逻辑有关 -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
