[ 
https://issues.apache.org/jira/browse/HBASE-18232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16062847#comment-16062847
 ] 

Anastasia Braginsky commented on HBASE-18232:
---------------------------------------------

+*Design points:*+
 
# The variable size chunks are designed *only to hold one cell*, whose size is 
bigger than regular size of the chunk. This is for the case when cell must be 
allocated on a chunk as in case with CellChunkMap.
# The case when variable size chunk is allocated *should be rare*. If the 
majority of the cells is requiring variable size chunks, just increase the 
regular size of the chunks.
# Variable size chunks are *allocated and deallocated on demand* and are not 
going to be part of the chunk pool.
# Variable size chunks *only support immutable chunks*, meaning they are 
allocated at the background as part of flattening, merging or compaction and 
not as part of the user write request. Thus their expensive allocation is less 
painful.


> Add variable size chunks to the MSLAB
> -------------------------------------
>
>                 Key: HBASE-18232
>                 URL: https://issues.apache.org/jira/browse/HBASE-18232
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Anastasia Braginsky
>
> Add possibility to create a variable size chunks of memory, so any cell (of 
> any size) can reside on a chunk.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to