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

stack commented on HBASE-22905:
-------------------------------

The patch looks good to me. I'd think this would make for some nice allocation 
savings? Not committing for the moment in case others want to have a look. Nice 
work [~javaman_chen]

> Avoid temp ByteBuffer allocation in BlockingRpcConnection#writeRequest
> ----------------------------------------------------------------------
>
>                 Key: HBASE-22905
>                 URL: https://issues.apache.org/jira/browse/HBASE-22905
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: chenxu
>            Assignee: chenxu
>            Priority: Major
>         Attachments: HBASE-22905-master-v1.patch
>
>
> Currently BlockingRpcConnection use ByteBufferOutputStream to serialize 
> CellBlock which involve temp ByteBuffer allocation, we can replace it with 
> netty’s ByteBufOutputStream, just like what 
> NettyRpcDuplexHandler#writeRequest doing



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to