[
https://issues.apache.org/jira/browse/HBASE-7154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13495938#comment-13495938
]
binlijin commented on HBASE-7154:
---------------------------------
it is difficult to implement. because we have multi callQueues and different
handlers.
> Move the call decode from Reader to Handler
> -------------------------------------------
>
> Key: HBASE-7154
> URL: https://issues.apache.org/jira/browse/HBASE-7154
> Project: HBase
> Issue Type: Improvement
> Components: IPC/RPC
> Environment: 0.89-fb has already do this.
> Reporter: binlijin
>
> HBaseServer has a few kinds of thread:
> {code}
> Listener accept connction, pick a Reader to read call in this connection.
> Reader (default 10 numbers), read call and decode call , put in callQueue.
> Handler take call from callQueue and process call, write response.
> Responder sends responses of RPC back to clients.
> {code}
> We can move the call decode from Reader to Handler, so reader thread just
> read data for connection.
> Reader number also can be availableProcessors+1
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira