Is the following statement true in all cases for REPLICATED mode ?

classic Classic list List threaded Threaded
3 messages Options
userx userx
Reply | Threaded
Open this post in threaded view
|

Is the following statement true in all cases for REPLICATED mode ?

Hi team,

I was going through the documentation of REPLICATED cache at https://apacheignite.readme.io/docs/cache-modes#replicated-mode

and came across the following statement.

"As the same data is stored on all cluster nodes, the size of a replicated cache is limited by the amount of memory available on the node with the smallest amount of RAM."

I am not sure if this statement is correct in case of a configuration with Persistent Store enabled. Is the understanding correct ?
agura agura
Reply | Threaded
Open this post in threaded view
|

Re: Is the following statement true in all cases for REPLICATED mode ?

Hi,

When persistence store is enabled the data pages that can't be stored in the memory will be evicted to the persistence store. But capacity of your disks is still limit your data set size. So the statement is still correct.
dsetrakyan dsetrakyan
Reply | Threaded
Open this post in threaded view
|

Re: Is the following statement true in all cases for REPLICATED mode ?



On Mon, Aug 28, 2017 at 5:23 AM, agura <[hidden email]> wrote:

When persistence store is enabled the data pages that can't be stored in the memory will be evicted to the persistence store. 
 
Andrey, this is not how Ignite persistence works. 

When the persistence is enabled, all the data will be persisted, without exceptions. If the data size exceeds the the pre-configured allocated memory, then Ignite will start purging the cold pages and will only keep the hot data in memory.

D.