hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bryan Duxbury (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-407) Client should cache region locations in an LRU structure
Date Fri, 08 Feb 2008 20:01:33 GMT

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

Bryan Duxbury commented on HBASE-407:
-------------------------------------

Talking with Stack, instead of an LRU mechanism, we could use Java soft references instead
in the existing map structure. This would be a really easy way to make the cached region locations
disappear when memory was short.

> Client should cache region locations in an LRU structure
> --------------------------------------------------------
>
>                 Key: HBASE-407
>                 URL: https://issues.apache.org/jira/browse/HBASE-407
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: client
>            Reporter: Bryan Duxbury
>            Priority: Minor
>
> Instead of keeping the region locations cached client side in a TreeMap, we should use
an LRU mechanism to help manage memory more dynamically.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message