You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "binlijin (JIRA)" <ji...@apache.org> on 2012/11/13 03:45:12 UTC

[jira] [Created] (HBASE-7154) Move the call decode from Reader to Handler

binlijin created HBASE-7154:
-------------------------------

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




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

[jira] [Updated] (HBASE-7154) Move the call decode from Reader to Handler

Posted by "binlijin (JIRA)" <ji...@apache.org>.
     [ 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:
  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:
>   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. 

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

[jira] [Updated] (HBASE-7154) Move the call decode from Reader to Handler

Posted by "binlijin (JIRA)" <ji...@apache.org>.
     [ 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

[jira] [Commented] (HBASE-7154) Move the call decode from Reader to Handler

Posted by "binlijin (JIRA)" <ji...@apache.org>.
    [ 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

[jira] [Commented] (HBASE-7154) Move the call decode from Reader to Handler

Posted by "Ted Yu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13495890#comment-13495890 ] 

Ted Yu commented on HBASE-7154:
-------------------------------

Can you put more detail in description ?
If you can attach what was done in 0.89-fb branch, that would be nice.
                
> 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
>


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