You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-cache-for-redis/cache-best-practices-enterprise-tiers.md
+5-14Lines changed: 5 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
---
2
2
title: Best practices for the Enterprise tiers
3
3
titleSuffix: Azure Cache for Redis
4
-
description: Learn Azure Cache for Redis Enterprise and Enterprise Flash tiers
4
+
description: Learn about the Azure Cache for Redis Enterprise and Enterprise Flash tiers
5
5
author: flang-msft
6
6
ms.service: cache
7
7
ms.topic: conceptual
8
-
ms.date: 03/15/2023
8
+
ms.date: 03/09/2023
9
9
ms.author: franlanglois
10
10
---
11
11
@@ -30,15 +30,11 @@ Conversely, the opposite recommendation is true for the Basic, Standard, and Pre
30
30
31
31
In the Basic, Standard, and Premium tiers of Azure Cache for Redis, determining the number of virtual CPUs (vCPUs) utilized is straightforward. Each Redis node runs on a dedicated VM. The Redis server process is single-threaded, utilizing one vCPU on each primary and each replica node. The other vCPUs on the VM are still used for other activities, such as workflow coordination for different tasks, health monitoring, and TLS load, among others.
32
32
33
-
When you use clustering, the effect is to spread data across more shards and more nodes. By increasing the number of shards, you linearly increase the number of vCPUs you use based on the number of shards in the cluster.
34
-
35
-
<!-- When you use clustering, the effect is to shard data across additional nodes, which linearly increases the number of vCPUs that can be utilized based on the number of shards in the cluster.
36
-
See fxl revision above -->
33
+
When you use clustering, the effect is to spread data across more nodes with one shard per node. By increasing the number of shards, you linearly increase the number of vCPUs you use, based on the number of shards in the cluster.
37
34
38
35
Redis Enterprise, on the other hand, can use multiple vCPUs for the Redis instance itself. In other words, all tiers of Azure Cache for Redis can use multiple vCPUs for background and monitoring tasks, but only the Enterprise and Enterprise Flash tiers are able to utilize multiple vCPUs per VM for Redis shards. The table shows the number of effective vCPUs used for each SKU and capacity (that is, scale-out) configuration.
39
36
40
-
The tables show the number of vCPUs used for the primary shards, not the replica shards. Shards don't map one-to-one to the number of vCPUs. The tables only illustrate vCPUs, not shards. Some configurations use more shards than available vCPUs to boost performance further in some usage scenarios.
41
-
<!-- fxl revision -->
37
+
The tables show the number of vCPUs used for the primary shards, not the replica shards. Shards don't map one-to-one to the number of vCPUs. The tables only illustrate vCPUs, not shards. Some configurations use more shards than available vCPUs to boost performance in some usage scenarios.
42
38
43
39
### E10
44
40
@@ -123,8 +119,7 @@ For example, consider these tips:
123
119
- Identify in advance which other cache in the geo-replication group to switch over to if a region goes down.
124
120
- Ensure that firewalls are set so that any applications and clients can access the identified backup cache.
125
121
- Each cache in the geo-replication group has its own access key. Determine how the application will switch access keys when targeting a backup cache.
126
-
- If a cache in the geo-replication group goes down, a buildup of metadata starts to occur in all the caches in the geo-replication group. The metadata can't be discarded until writes can be synced again to all caches. You can prevent the metadata build-up by force unlinking the cache that is down. Consider monitoring the available memory in the cache and unlinking if there's memory pressure, especially for write-heavy workloads.
127
-
<!-- My revision - should the last sentence be its own bullet? -->
122
+
- If a cache in the geo-replication group goes down, a buildup of metadata starts to occur in all the caches in the geo-replication group. The metadata can't be discarded until writes can be synced again to all caches. You can prevent the metadata build-up by _force unlinking_ the cache that is down. Consider monitoring the available memory in the cache and unlinking if there's memory pressure, especially for write-heavy workloads.
128
123
129
124
It's also possible to use a [circuit breaker pattern](/azure/architecture/patterns/circuit-breaker). Use the pattern to automatically redirect traffic away from a cache experiencing a region outage, and towards a backup cache in the same geo-replication group. Use Azure services such as [Azure Traffic Manager](../traffic-manager/traffic-manager-overview.md) or [Azure Load Balancer](../load-balancer/load-balancer-overview.md) to enable the redirection.
130
125
@@ -134,10 +129,6 @@ The [data persistence](cache-how-to-premium-persistence.md) feature in the Enter
134
129
135
130
Many customers want to use persistence to take periodic backups of the data on their cache. We don't recommend that you use data persistence in this way. Instead, use the [import/export](cache-how-to-import-export-data.md) feature. You can export copies of cache data in RDB format directly into your chosen storage account and trigger the data export as frequently as you require. Export can be triggered either from the portal or by using the CLI, PowerShell, or SDK tools.
136
131
137
-
<!-- Not sure about this sentence - While this is a great idea, data persistence isn’t recommended to be used in this way. Instead, use the [import/export](cache-how-to-import-export-data.md) feature.
138
-
It's a great idea but don't do it? See my revision.
0 commit comments