richardstartin opened a new issue #7730:
URL: https://github.com/apache/pinot/issues/7730


   In a 60s profile from a load-test which exacerbates traffic in a single 
route, 37s was spent waiting for `ServerChannels$ServerChannel`, with some wait 
times of nearly 1s. 
   
   
   <img width="1194" alt="Screenshot 2021-11-09 at 11 14 21" 
src="https://user-images.githubusercontent.com/16439049/140914657-ff9bea5a-0f57-45e7-b1f4-9be0c7ff6f96.png";>
   
   This is caused by the synchronized 
`ServerChannels$ServerChannel.sendRequest` method. `ServerChannels` should be 
reworked to avoid this. 
   
   NB since it is not checked whether the channel is writable before calling 
`Channel.writeAndFlush` the current implementation risks causing OOMs from 
unbounded buffer growth.


-- 
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: commits-unsubscr...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to