AsyncTcpClient icon indicating copy to clipboard operation
AsyncTcpClient copied to clipboard

Implement a byte array pool for DequeueInternal

Open akash14darshan opened this issue 4 years ago • 1 comments

Currently since we allocate a new byte array for every ByteBuffer dequeue we make, it may not be very efficient for high loaded server since it will increase gc by a lot.

Alternatively, a custom byte array pool can be implemented to handle this for performance reasons so that we do less allocations

akash14darshan avatar Jun 12 '21 11:06 akash14darshan

Can you please describe the problem in more detail?

ygoe avatar Aug 01 '21 16:08 ygoe