camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sotaro Kimura (JIRA)" <>
Subject [jira] [Created] (CAMEL-5824) camel-hbase - HBase data access performance improvement
Date Mon, 26 Nov 2012 22:58:58 GMT
Sotaro Kimura created CAMEL-5824:

             Summary: camel-hbase - HBase data access performance improvement
                 Key: CAMEL-5824
             Project: Camel
          Issue Type: Improvement
          Components: camel-hbase
    Affects Versions: 2.10.2
         Environment: OS:CentOS6.2 64bit
CPU:Core i7 2700
            Reporter: Sotaro Kimura
            Priority: Minor
         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)
103        } finally {
104            table.close();
105        }
103        } finally {
104            tablePool.putTable(table);
105        }

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:

View raw message