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

Nicolas Liochon commented on HBASE-9416:
----------------------------------------

I need to work more in the details of this rpc layer, but we actually already 
have a fixed size list, so it won't change our limit. Today we're we block when 
we have too many calls but reject the calls when they get too big, it's 
strange. 

But by default, the ring blocks the producer when we don't consume fast enough, 
so it would be as today.


                
> Use the disruptor library in the rcpServer
> ------------------------------------------
>
>                 Key: HBASE-9416
>                 URL: https://issues.apache.org/jira/browse/HBASE-9416
>             Project: HBase
>          Issue Type: Improvement
>          Components: regionserver
>    Affects Versions: 0.98.0
>            Reporter: Nicolas Liochon
>            Assignee: Nicolas Liochon
>         Attachments: disrupt.patch
>
>
> Nasty & hacky patch on top of the 0.96 to get some feedback on adding this 
> third party.
> I ran a test doing "gets" on an empty region.
> With the current implementation, we're spending time in the 
> LinkedBlockingQueue#put. I was able to do 150K operations per second.
> Using the disruptor allowed me to go to 190 ops/s, i.e. a little be more than 
> a 25% improvement.
> Likely there are other improvements in this class as well.

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

Reply via email to