Anoop Sam John created HBASE-12463:
--------------------------------------

             Summary: MemstoreLAB reduce #objects created
                 Key: HBASE-12463
                 URL: https://issues.apache.org/jira/browse/HBASE-12463
             Project: HBase
          Issue Type: Improvement
          Components: Performance
    Affects Versions: 0.99.0
            Reporter: Anoop Sam John
            Assignee: Anoop Sam John
             Fix For: 2.0.0, 0.99.2


By default Memstore uses MSLAB. For each of the Cell added to memstore, we will 
allocate area in MSLAB and return the area in BR wrapper. So each time a new BR 
object is created. Instead of this we can have ThreadLocal level BR instance 
and each time when allocate() API return the BR, we can set the byte[], offset, 
length on this ThreadLocal level BR instance. So totally only those many 
objects as the threads count (max handler count)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to