hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "binlijin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-7154) Move the call decode from Reader to Handler
Date Tue, 13 Nov 2012 03:31:13 GMT

     [ https://issues.apache.org/jira/browse/HBASE-7154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

binlijin updated HBASE-7154:
----------------------------

    Description: 
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

  was:
HBaseServer has a few kinds of thread:
  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.
We can move the call decode from Reader to Handler, so reader thread just read data for connection.



    
> 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

Mime
View raw message