You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Vladimir Rodionov (JIRA)" <ji...@apache.org> on 2016/03/19 21:40:33 UTC

[jira] [Created] (HBASE-15491) Reuse byte buffers in AsyncRpcClient

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)