Issues with Redis cache Performance
A customer is using Azure Redis cache and seem to be facing performance issues. They have around 700 Client connections concurrently and are hosted on Redis Cache P1 Tier. The session id has a time out of 200 Mins. Typically P1 can support around 7500 connections on P1.
They are hitting 100% of their limit quite easily. for example,
Premium P1 can have up to 7500 connections, so their 443 connections were very far way of the limit.
From Azure Cache for Redis performance documentation, we can see the limit of SSL requests is 172000/sec, and we can see in their case the number of operations was 19.66K operations/sec
Any suggestions or guidance on what could probably be leading to this would be really helpful
Hi @Shashank Juyal , welcome to Microsoft Q&A forum.
We are checking on this issue internally with product group and shall get back at the earliest.
Hi @Shashank Juyal , thanks for your patience. As mentioned they are hitting the 100% limit, is this the client connections limit or CPU usage limit? Also if possible to get the screenshot of the matrix of Connected Clients, CPU Usage, SSL requests etc. it would be easier to understand the issue.
Hi Anurag, CPU utilization is hitting 100% with very few connections. I'm referring to below documents for performance limits
Here are the numbers on the cache
CPU Usage = 100%
Operations/per sec = 19K
Connected clients = 443
The cache should not hit 100% of its capacity when number of connections is very low (i.e 19K)
Thanks for replying back. Normally the long running commands or more number of requests peak the CPU usage but these stats show we are way below the permissible values. I have passed these details internally already and waiting for response.
Could you also confirm which sdk/technology (Java, .NET etc.) are you using to connect to Azure Redis, so I can try to repro from my side as well?
Sign in to comment