serverglen commented on issue #1741:
URL: 
https://github.com/apache/incubator-brpc/issues/1741#issuecomment-1099111724

   I think the reasons are as follows
   1. worker threads number is too small
   2. avoid using blocking pthread API in bthreads, use the corresponding data 
structure in bthread for example bthread_mutex_t and bthread_cond_t
   3. if must use the blocking pthread API, keep the critical sections small


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