camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sotaro Kimura (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-5824) camel-hbase - HBase data access performance improvement
Date Mon, 26 Nov 2012 23:05:00 GMT

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

Sotaro Kimura updated CAMEL-5824:
---------------------------------

    Description: 
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);
----------------------------


  was:
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);
----------------------------


    
> 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
>            Priority: Minor
>              Labels: performance
>         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