Skip to content

Configure cache maxmemory-reserved setting#

Performance Efficiency · Azure Cache for Redis · 2020_12

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


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.


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

Last update: 2022-12-03