Re: Cache Configuration for a data region

2018-06-19 Thread slava.koptilin
Hello, > Do I need to configure something else for off heap eviction? If you are using Ignite Native Persistence, you don't need to configure page-based eviction. In that case, it will be automatically enabled. Please take a look at this page for the details:

Re: Cache Configuration for a data region

2018-06-18 Thread the_palakkaran
Do I need to configure something else for off heap eviction? I have on heap enabled and set eviction policy(LRU). Max size of 1MB also provided. I have 1.5million data, so obviously it some entries loaded in the start should be evicted. Still when I try to get those entries, I get performance

Re: Cache Configuration for a data region

2018-06-18 Thread slava.koptilin
> I guess durable memory is pure RAM based and native persistence is combination of both RAM and disk. Durable memory is a memory architecture that allows processing and storing data both in memory and on disk. In other words, Ignite native persistence is a feature(add-on) provided by Durable

Re: Cache Configuration for a data region

2018-06-18 Thread the_palakkaran
Thanks, every thing other than native vs durable is now clear for me. I guess durable memory is pure RAM based and native persistence is combination of both RAM and disk. How to manipulate durable memory? Can I configure it? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Cache Configuration for a data region

2018-06-18 Thread slava.koptilin
Hi, > 1. I have set setOnheapCacheEnabled(true) for every cache. > This means they will go into java heap right? As of AI 2.x Java heap is no longer treated as a data storage and might be used as an extra caching layer for entries you have in the off-heap. > 2. I don't clearly understand the

Re: Cache Configuration for a data region

2018-06-18 Thread the_palakkaran
Hi, 1. I have set setOnheapCacheEnabled(true) for every cache. This means they will go into java heap right? 2. Is it possible for me to take control of this durable memory? What should essentially be kept there? How to do that? I don't clearly understand the difference between durable memory

Re: Cache Configuration for a data region

2018-06-18 Thread slava.koptilin
Hello, As of Apache Ignite 2.x, all data are stored into off-heap memory [1]. On-heap memory is used only for temporary operations, buffers etc. > Also, I have my own cache store implementations. I hope this is only used > for read through and > write through from and to database and not for

Cache Configuration for a data region

2018-06-18 Thread the_palakkaran
Hi, I have multiple on heap caches attached to a data region of maximum 1GB size durable memory. I have 512MB heap memory specified also. Is it possible for me to set the size of this cache to take maximum of 100MB and store the remaining in durable memory? Otherwise, won't it be using the