Question

When using azure co-located cache for sessions do I need to specify high availability for the cache to allow all machines to have access to the "same" sessions.

So if I have high availability disabled does the session work even if multiple servers handles the requests?

Was it helpful?

Solution

All machines have access to the same session state regardless of the "high availability" checkbox.

High-availability checkbox ensures that cache data is not accidentally lost and replicates that data to other servers in the cluster (2nd copy only) - however, even if that wasn't the case, all of your servers have access to cache across all servers.

HA option is helpful only in case of an outage where one of the cache servers were to go down or get auto-scaled down. In such cases, lack of this checkbox can cause issues

HTH

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top