You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.
I am using service fabric distributed cache with a stateful service having HasPersistedState = true.
I believe HasPersistedState will allow me to have reliable collections backed by disk.
If I set MaxCacheSizeInMegabytes to 1000, does it mean all 1000 MB data is in memory backed by disk. Or does it mean Service fabric reliable collection will manage memory footprint having some objects in memory and rest all in disk.
Also, I see in the example HasPersistedState is false but replicationSize is set to 3. Why would we want replication if we are not backing the data to store there would be no way to recreate state in a node because of no snapshots?
The text was updated successfully, but these errors were encountered:
It means Service fabric reliable collection will manage memory footprint having some objects in memory and rest all in disk. As far as the replicationSize that is up to you. You would need to refer to the docs on Reliable collections to see if there is any advantage when not backing up the state.
Is it possible for the memory footprint to increase beyond the limit. It is using that setting as a guide to start to removing the least recently used cached items from the store.
I am using service fabric distributed cache with a stateful service having
HasPersistedState
= true.I believe
HasPersistedState
will allow me to have reliable collections backed by disk.If I set
MaxCacheSizeInMegabytes
to 1000, does it mean all 1000 MB data is in memory backed by disk. Or does it mean Service fabric reliable collection will manage memory footprint having some objects in memory and rest all in disk.Also, I see in the example
HasPersistedState
is false but replicationSize is set to 3. Why would we want replication if we are not backing the data to store there would be no way to recreate state in a node because of no snapshots?The text was updated successfully, but these errors were encountered: