Triggering Auto Scale for Azure Redis based on its Metrics value

Vijayvigneswar Selvakumar 41 Reputation points
2021-09-06T05:07:28.777+00:00

Hi,

The scaling of Redis Cache Instance can be done through either one of the ways - Powershell script, Azure CLI or Code using MAML, as mentioned in the below doc.

https://video2.skills-academy.com/en-us/azure/azure-cache-for-redis/cache-how-to-scale

In real-time scenario, if we need to scale-out/scale-in Redis Cache Instance based on any of the metrics such as Used CPU, Used Memory, Server Load etc. I could not find such way to do the same.

Is there any way we can do the auto scaling of the Redis Cache Instance which has to be triggered based on its metrics value?

Thanks,
Vijay

Azure Cache for Redis
Azure Cache for Redis
An Azure service that provides access to a secure, dedicated Redis cache, managed by Microsoft.
251 questions
0 comments No comments
{count} votes

Accepted answer
  1. Oury Ba-MSFT 19,101 Reputation points Microsoft Employee
    2021-09-08T02:47:13.753+00:00

    Hi @Vijayvigneswar Selvakumar Thank you for posting your question on Microsoft Q&A. Microsoft does not currently provide a way to auto scale a cache, and it is generally not recommend to implement it. The main reason is that scaling is an expensive operation that consumes cache resources, and it should be carefully planned and executed. If scaling was triggered automatically when the cache is under heavy load or facing memory pressure, the scale operation could degrade cache performance and availability.

    Instead, we recommend that customers monitor their cache metrics to see when they’re approaching capacity, and then plan a scaling operation a time when the cache is off peak load, and when the overall system health can be monitored. Depending on cache size and load, it can also take hours to complete a scale operation, so it’s important to schedule it well before any increase in load is expected.

    We will look into how we can support it safely. At this point, we don’t have any firm plans or timelines.

    Hope that help

    Regards,
    Oury

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.