zgaze commented on issue #2313:
URL: https://github.com/apache/brpc/issues/2313#issuecomment-1631796812

   > 这个问题是tensorflow在有自己的线程池(cpu device带来的). 
然后在rpc的worker线程内等计算结束,把所有的worker都阻塞住了。这个和是不是跑在bthread关系不大。 对这个问题而言,最简单的是限制下max 
concurrency。
   
   在压测时候,并没有复现这个问题,压测流量比线上实际运行高很多倍。 应该没这么简单。 也不是稳定复现。
   
   如果是你说的这个问题,那么我只能 实现tf的异步 session run,然后用brpc的异步。


-- 
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]

Reply via email to