hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gaurav Menghani (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10236) Avoid creating extra Invoker objects when locating a region
Date Fri, 27 Dec 2013 19:53:50 GMT

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

Gaurav Menghani commented on HBASE-10236:

Updated the description after Liyin pointed out that only a new Invoker object would be created,
this still saves extra object creation on every locateRegionInMeta() call. :)

> Avoid creating extra Invoker objects when locating a region
> -----------------------------------------------------------
>                 Key: HBASE-10236
>                 URL: https://issues.apache.org/jira/browse/HBASE-10236
>             Project: HBase
>          Issue Type: Improvement
>          Components: Client
>    Affects Versions: 0.89-fb
>            Reporter: Gaurav Menghani
>            Assignee: Gaurav Menghani
>            Priority: Trivial
>             Fix For: 0.89-fb
> While working on the HBase Swift client, I noticed that a lot of connections were being
created during locateRegionInMeta, which were never used. A similar case exists in trunk (0.89-fb),
but it creates an Invoker object, not an actual client till the call is made on the client.
This is a trivial optimization, but can be helpful.

This message was sent by Atlassian JIRA

View raw message