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

Duo Zhang commented on HBASE-26590:
-----------------------------------

I think the intention for setting cache to 5 is we consider that fetching 5 
rows is almost the same with fetching 1 row, as the rows in meta region is very 
small.

And on master branch, the default prefetch limit is 10, but it is configurable.

So if this is the case, for master branch we should change the default value to 
1 instead of 10.

> Hbase-client Meta lookup performance regression between hbase-1 and hbase-2
> ---------------------------------------------------------------------------
>
>                 Key: HBASE-26590
>                 URL: https://issues.apache.org/jira/browse/HBASE-26590
>             Project: HBase
>          Issue Type: Improvement
>          Components: meta
>    Affects Versions: 2.4.0, 2.5.0, 2.3.7, 2.6.0
>            Reporter: Huaxiang Sun
>            Assignee: Huaxiang Sun
>            Priority: Major
>
> One of our users complained higher latency after application upgrades from 
> hbase-1.2 client (CDH-5.16.2) to hbase-2.4.5 client with meta replica Load 
> Balance mode during app restart. I reproduced the regression by a test for 
> meta lookup. 
> At my test cluster, there are 160k regions for the test table, so there are 
> 160k entries in meta region. Used one thread to do 1 million meta lookup 
> against the meta region server.
>  
> ||Version ||Meta Replica Load Balance Enabled||Time               ||
> ||2.4.5-with-fixed||Yes||336458ms||
> ||2.4.5-with-fixed||No||333253ms||
> ||2.4.5||Yes||469980ms||
> ||2.4.5||No||470515ms||
> |      *cdh-5.16.2*|                                *No* |  *323412ms*|
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to