Skip to content

Configure cache maxmemory-reserved setting#

Performance Efficiency · Azure Cache for Redis · Azure.Redis.MaxMemoryReserved

Configure maxmemory-reserved to reserve memory for non-cache operations.

Description#

Azure Cache for Redis supports configuration of the maxmemory-reserved setting. The maxmemory-reserved setting configures the amount of memory reserved for non-cache operations. Setting this value allows you to have a more consistent experience when your load varies. This value should be set higher for workloads that are write heavy.

When memory reserved by maxmemory-reserved, it is unavailable for storage of cached data.

Recommendation#

Consider configuring maxmemory-reserved to at least 10% of available cache memory.


Last update: 2021-09-24