Vladimir Rodionov created HBASE-15491:
-----------------------------------------

             Summary: Reuse byte buffers in AsyncRpcClient
                 Key: HBASE-15491
                 URL: https://issues.apache.org/jira/browse/HBASE-15491
             Project: HBase
          Issue Type: Bug
          Components: Client
    Affects Versions: 2.0.0
            Reporter: Vladimir Rodionov
            Assignee: Vladimir Rodionov
             Fix For: 2.0.0


IPCUtil.buildCellBlock is used by both server and client. Server provides 
BoundedByteBufferPool for buffers reuse, client code does not do that. This 
results in additional memory pressure on a client side, because buffers are 
allocated on every call to IPCUtil.buildCellBlock.

My own local tests (with patch) show approximately 8-10% reduction in object 
allocation rate on a client side (with HBASE-15479 as well). 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to