[ 
https://issues.apache.org/jira/browse/HBASE-16783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15551894#comment-15551894
 ] 

Anoop Sam John commented on HBASE-16783:
----------------------------------------

Header will be of smaller size and even the message (am considering we will be 
doing the Codec based Cellblocking).  It might be a waste of 64 KB buffers for 
much smaller size?  Do we have a size check before deciding even for the cell 
block creation also? That we have to use the BBs?  May be we need a small sized 
buffers pool (different one) also?

> Use ByteBufferPool for the header and message during Rpc response
> -----------------------------------------------------------------
>
>                 Key: HBASE-16783
>                 URL: https://issues.apache.org/jira/browse/HBASE-16783
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>            Priority: Minor
>         Attachments: HBASE-16783.patch
>
>
> With ByteBufferPool in place we could avoid the byte[] creation in 
> RpcServer#createHeaderAndMessageBytes and try using the Buffer from the pool 
> rather than creating byte[] every time.



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

Reply via email to