You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Gaurav Menghani (JIRA)" <ji...@apache.org> on 2013/12/27 20:53:50 UTC
[jira] [Commented] (HBASE-10236) Avoid creating extra Invoker
objects when locating a region
[ 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
(v6.1.5#6160)