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

binlijin commented on HBASE-15756:
----------------------------------

Netty's NioWork read request from channel to OffHeap, current we copy to heap 
to decode into the Call.
HBaseProtocolEncoder write a CompositeChannelBuffer result which a wrap with 
BufferChain's buffers.
Netty's NioWork write result to channel via ((GatheringByteChannel) 
ch).write(buffers);
So i think there is no further copy.
This is the NettyRpcServer_forperf.patch with hbase branch-1.
If there is wrong, please correct me.
So i think  Anoop Sam John's concern can be resolved.

> Pluggable RpcServer
> -------------------
>
>                 Key: HBASE-15756
>                 URL: https://issues.apache.org/jira/browse/HBASE-15756
>             Project: HBase
>          Issue Type: Improvement
>          Components: Performance, rpc
>            Reporter: binlijin
>            Assignee: binlijin
>            Priority: Critical
>         Attachments: NettyRpcServer.patch, NettyRpcServer_forperf.patch, 
> gets.png, idle.png, queue.png
>
>
> Current we use a simple RpcServer, and can not configure and use other 
> implementation.This issue is to make the RpcServer pluggable, so we can make 
> other implementation for example netty rpc server. Patch will upload laterly



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

Reply via email to