Re: Using DirectMemory as second level cache

2013-07-09 Thread Chetan Mehrotra
I have created OAK-891 to track this. @Tommaso - Thanks for looking into this. I have couple of issues in current DirectMemory implementation. Would open JIRA and follow up there. Chetan Mehrotra On Tue, Jul 9, 2013 at 3:15 PM, Tommaso Teofili wrote: > > On 08/lug/2013, at 12:54, Chetan Mehrot

Re: Using DirectMemory as second level cache

2013-07-09 Thread Tommaso Teofili
On 08/lug/2013, at 12:54, Chetan Mehrotra wrote: > Hi, > > I tried to integrate Apache DirectMemory as Second level cache (L2). > It uses Kryo [2] for serializing/derserializing objects from the off > heap memory managed by DirectMemory. Initial test based on this show > quite a bit of saving i

Re: Using DirectMemory as second level cache

2013-07-08 Thread Jukka Zitting
Hi, On Mon, Jul 8, 2013 at 1:54 PM, Chetan Mehrotra wrote: > Initial test based on this show quite a bit of saving in terms of > memory taken This suggests that we could/should also look at optimizing the size of objects cached in the JVM heap. Your numbers suggest that each Document cache entry

Using DirectMemory as second level cache

2013-07-08 Thread Chetan Mehrotra
Hi, I tried to integrate Apache DirectMemory as Second level cache (L2). It uses Kryo [2] for serializing/derserializing objects from the off heap memory managed by DirectMemory. Initial test based on this show quite a bit of saving in terms of memory taken Below stats (sum of all MongoMK relate