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

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

Now at setResponse we copy from off heap to off heap memory as we create DBBs 
from our buffer pool.  So partially it is done..   But we can not avoid the 
creation of the cell block..  Else we will need a streaming response. Doing 
socket write for every cell (in cellScanner) will decrease the performance 
because of more TCPs.  I think we can close this now.   The DBB buffer pool 
buffer is good enough for now.

> Avoid onheap buffer copying at RPCServer#serResponse
> ----------------------------------------------------
>
>                 Key: HBASE-12289
>                 URL: https://issues.apache.org/jira/browse/HBASE-12289
>             Project: HBase
>          Issue Type: Sub-task
>          Components: regionserver, Scanners
>            Reporter: Anoop Sam John
>            Assignee: Anoop Sam John
>
> We would like to see DBB end-to-end in read path until we write to socket. 
> IPCUtil#buildCellBlock doing a buffer creation and then write the data at 
> once. This jira aims at checking how we can avoid this also.



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

Reply via email to