hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Rodionov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-15491) Reuse byte buffers in AsyncRpcClient
Date Sat, 19 Mar 2016 20:40:33 GMT
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)

Mime
View raw message