liupengs commented on issue #3072:
URL: https://github.com/apache/brpc/issues/3072#issuecomment-3222405088

   > for 2, you can consider increasing flag: event_dispatcher_num
   
   Yes, increasing the event_dispatcher_num can increase the bthreads of epoll, 
which can reduce pressure under high load conditions. However, in some 
scenarios, the bottleneck is not the number of dispatchers, but the execution 
speed of user code. If the user code executes slowly and the RPC QPS is 
extremely high, bthreads can easily pile up. There are multiple solutions for 
such cases, the most effective one being rate limiting. Discarding RPCs  that 
have timeout is also one of the strategies.


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