hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Bautin (Assigned) (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (HBASE-5000) Speed up simultaneous reads of a block when block caching is turned off
Date Sun, 11 Dec 2011 09:50:40 GMT

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

Mikhail Bautin reassigned HBASE-5000:
-------------------------------------

    Assignee: Mikhail Bautin
    
> Speed up simultaneous reads of a block when block caching is turned off
> -----------------------------------------------------------------------
>
>                 Key: HBASE-5000
>                 URL: https://issues.apache.org/jira/browse/HBASE-5000
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Mikhail Bautin
>            Assignee: Mikhail Bautin
>            Priority: Minor
>
> With block caching, when one client starts reading a block and another one comes around
asking for the same block, the second client waits for the first one to finish reading and
returns the block from cache. This is achieved by locking on the block offset using IdLock,
a "sparse lock" primitive allowing to lock on arbitrary long numbers. However, in case there
is no block caching, there is no reason to wait for other clients that are reading the same
block. One challenge optimizing this that we don't necessary have accurate information about
whether other HFile API clients interested in the block would cache it.
> Setting priority as minor, as it is very unusual to turn off block caching.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message