Skip to content

Commit dd5fde8

Browse files
authored
Merge pull request #183804 from flang-msft/fxl---Update-recommendation-for-server-load-monitoring
Fxl--- update recommendation for server load monitoring
2 parents c49a171 + bf2f560 commit dd5fde8

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

articles/azure-cache-for-redis/cache-best-practices-server-load.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn how to use and monitor your server load for Azure Cache for R
55
author: flang-msft
66
ms.service: cache
77
ms.topic: conceptual
8-
ms.date: 08/25/2021
8+
ms.date: 12/30/2021
99
ms.author: franlanglois
1010
---
1111

@@ -29,7 +29,7 @@ If you're instantiating many client instances to connect to Redis at once, consi
2929

3030
## Memory pressure
3131

32-
High memory usage on the server makes it more likely that the system needs to page data to disk, resulting in page faultsthat can slow down the system significantly.
32+
High memory usage on the server makes it more likely that the system needs to page data to disk, resulting in page faults that can slow down the system significantly.
3333

3434
## Avoid long running commands
3535

@@ -39,13 +39,19 @@ Redis server is a single-threaded system. Long running commands can cause late
3939

4040
Add monitoring on server load to ensure you get notifications when high server load occurs. Monitoring can help you understand your application constraints. Then, you can work proactively to mitigate issues. We recommend trying to keep server load under 80% to avoid negative performance effects.
4141

42+
Currently, Azure Cache For Redis exposes two metrics in **Insights** under **Monitoring** on the Resource menu on the left of the portal: **CPU** and **Server Load**. Understanding what is measured by each metric is important when monitoring server load.
43+
44+
The **CPU** metric indicates the CPU usage for the node that hosts the cache. The CPU metric also includes processes that aren't strictly Redis server processes. CPU includes background processes for anti-malware and others. As a result, the CPU metric can sometimes spike and might not be a perfect indicator of CPU usage for the Redis server.
45+
46+
The **Server Load** metric represents the load on the Redis Server alone. We recommend monitoring the **Server Load** metric instead of **CPU**.
47+
4248
## Plan for server maintenance
4349

4450
Ensure you have enough server capacity to handle your peak load while your cache servers are undergoing maintenance. Test your system by rebooting nodes while under peak load. For more information on how to simulate deployment of a patch, see [reboot](cache-administration.md#reboot).
4551

4652
## Test for increased server load after failover
4753

48-
For standard and premium SKUs, each cache is hosted on two nodes. A load balancer distributes the client connections to the two nodes. When planned or unplanned maintenance occurs on the primary node, the node terminates all the client connections. In such situations, all client connections could land on a single node causing the server load to increase on the one remaining node. We recommend testing this scenario by rebooting the primary node and ensuring that one node can handle all your client connections without the server load going too high.
54+
For standard and premium SKUs, each cache is hosted on two nodes. A load balancer distributes the client connections to the two nodes. When planned or unplanned maintenance occurs on the primary node, the node closes all the client connections. In such situations, all client connections could land on a single node causing the server load to increase on the one remaining node. We recommend testing this scenario by rebooting the primary node and ensuring that one node can handle all your client connections without the server load going too high.
4955

5056
## Next steps
5157

0 commit comments

Comments
 (0)