camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CAMEL-5824) camel-hbase - HBase data access performance improvement
Date Thu, 29 Nov 2012 11:08:59 GMT

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

Claus Ibsen resolved CAMEL-5824.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.11.0
                   2.10.3
    
> camel-hbase - HBase data access performance improvement
> -------------------------------------------------------
>
>                 Key: CAMEL-5824
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5824
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-hbase
>    Affects Versions: 2.10.2
>         Environment: OS:CentOS6.2 64bit
> CPU:Core i7 2700
> Memory:16GB
> HDD:WD20EARX(2TB SATA600)
>            Reporter: Sotaro Kimura
>            Assignee: Willem Jiang
>            Priority: Minor
>              Labels: performance
>             Fix For: 2.10.3, 2.11.0
>
>         Attachments: patchfile.txt
>
>
> In testing hbase client using camel-hbase component,
> data put performance is low.
> ( about 20 put operation / second, I use Core i7 2700K machine.)
> I confirmed performance bottleneck.
> And I find bottleneck below
> - Everytime camel-hbase component put data,
>   camel-hbase component creates and closes HTableInterface.
> - But HTableInterface create cost is high.
>    So camel-hbase component performance is low.
> Performance problem is fixed by using HTablePool at HBaseProducer,
> data put performance is improved 20 operetion/second to 200 operation/second.
> Modified source is below( and attach patchfile.txt)
> - HBaseProducer.java(orig)
> ----------------------------
> 104            table.close();
> ----------------------------
> - HBaseProducer.java(improved)
> ----------------------------
> 104            tablePool.putTable(table);
> ----------------------------

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message