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

Jason Rutherglen commented on HBASE-4018:
-----------------------------------------

I understand the problem you're trying to solve here a little better, eg, the 
block cache and the GC.  Perhaps JNA [1] can also be used for this use case, eg 
[2] enables direct creation and destruction of an array (unlike direct byte 
buffers which doesn't enable 'direct' destruction).

1. https://github.com/twall/jna

2. https://github.com/twall/jna/blob/master/src/com/sun/jna/Memory.java


> Attach memcached as secondary block cache to regionserver
> ---------------------------------------------------------
>
>                 Key: HBASE-4018
>                 URL: https://issues.apache.org/jira/browse/HBASE-4018
>             Project: HBase
>          Issue Type: Improvement
>          Components: regionserver
>            Reporter: Li Pi
>            Assignee: Li Pi
>
> Currently, block caches are limited by heap size, which is limited by garbage 
> collection times in Java.
> We can get around this by using memcached w/JNI as a secondary block cache. 
> This should be faster than the linux file system's caching, and allow us to 
> very quickly gain access to a high quality slab allocated cache.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to