Skip to content

Commit d64669e

Browse files
Merge pull request #249328 from flang-msft/fxl---Update-cache-how-to-scale-112573
Fxl update cache how to scale 112573
2 parents 6c6a46d + d6b3d7f commit d64669e

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

articles/azure-cache-for-redis/cache-how-to-scale.md

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: flang-msft
55
ms.author: franlanglois
66
ms.service: cache
77
ms.topic: conceptual
8-
ms.date: 03/24/2023
8+
ms.date: 08/24/2023
99
ms.devlang: csharp
1010
ms.custom: devx-track-azurepowershell, devx-track-azurecli
1111

@@ -270,6 +270,7 @@ The following list contains answers to commonly asked questions about Azure Cach
270270
- [After scaling, do I have to change my cache name or access keys?](#after-scaling-do-i-have-to-change-my-cache-name-or-access-keys)
271271
- [How does scaling work?](#how-does-scaling-work)
272272
- [Do I lose data from my cache during scaling?](#do-i-lose-data-from-my-cache-during-scaling)
273+
- [Can I use all the features of Premium tier after scaling?](#can-i-use-all-the-features-of-premium-tier-after-scaling)
273274
- [Is my custom databases setting affected during scaling?](#is-my-custom-databases-setting-affected-during-scaling)
274275
- [Is my cache be available during scaling?](#is-my-cache-be-available-during-scaling)
275276
- [Are there scaling limitations with geo-replication?](#are-there-scaling-limitations-with-geo-replication)
@@ -316,6 +317,18 @@ No, your cache name and keys are unchanged during a scaling operation.
316317
- When you scale a **Basic** cache to a **Standard** cache, the data in the cache is typically preserved.
317318
- When you scale a **Standard**, **Premium**, **Enterprise**, or **Enterprise Flash** cache to a larger size, all data is typically preserved. When you scale a Standard or Premium cache to a smaller size, data can be lost if the data size exceeds the new smaller size when it's scaled down. If data is lost when scaling down, keys are evicted using the [allkeys-lru](https://redis.io/topics/lru-cache) eviction policy.
318319

320+
### Can I use all the features of Premium tier after scaling?
321+
322+
No, some features can only be set when you create a cache in Premium tier, and are not available after scaling.
323+
324+
These features cannot be added after you create the Premium cache:
325+
326+
- VNet injection
327+
- Adding zone redundancy
328+
- Using multiple replicas per primary
329+
330+
To use any of these features, you must create a new cache instance in the Premium tier.
331+
319332
### Is my custom databases setting affected during scaling?
320333

321334
If you configured a custom value for the `databases` setting during cache creation, keep in mind that some pricing tiers have different [databases limits](cache-configure.md#databases). Here are some considerations when scaling in this scenario:
@@ -414,7 +427,7 @@ You can connect to your cache using the same [endpoints](cache-configure.md#prop
414427

415428
### Can I directly connect to the individual shards of my cache?
416429

417-
The clustering protocol requires the client to make the correct shard connections, so the client should make share connections for you. With that said, each shard consists of a primary/replica cache pair, collectively known as a cache instance. You can connect to these cache instances using the redis-cli utility in the [unstable](https://redis.io/download) branch of the Redis repository at GitHub. This version implements basic support when started with the `-c` switch. For more information, see [Playing with the cluster](https://redis.io/topics/cluster-tutorial#playing-with-the-cluster) on [https://redis.io](https://redis.io) in the [Redis cluster tutorial](https://redis.io/topics/cluster-tutorial).
430+
The clustering protocol requires the client to make the correct shard connections, so the client should make share connections for you. With that said, each shard consists of a primary/replica cache pair, collectively known as a cache instance. You can connect to these cache instances using the Redis-CLI utility in the [unstable](https://redis.io/download) branch of the Redis repository at GitHub. This version implements basic support when started with the `-c` switch. For more information, see [Playing with the cluster](https://redis.io/topics/cluster-tutorial#playing-with-the-cluster) on [https://redis.io](https://redis.io) in the [Redis cluster tutorial](https://redis.io/topics/cluster-tutorial).
418431

419432
You need to use the `-p` switch to specify the correct port to connect to. Use the [CLUSTER NODES](https://redis.io/commands/cluster-nodes/) command to determine the exact ports used for the primary and replica nodes. The following port ranges are used:
420433

@@ -424,10 +437,10 @@ You need to use the `-p` switch to specify the correct port to connect to. Use t
424437

425438
### Can I configure clustering for a previously created cache?
426439

427-
Yes. First, ensure that your cache is premium by scaling it up. Next, you can see the cluster configuration options, including an option to enable cluster. Change the cluster size after the cache is created, or after you have enabled clustering for the first time.
440+
Yes. First, ensure that your cache is in the Premium tier by scaling it up. Next, you can see the cluster configuration options, including an option to enable cluster. Change the cluster size after the cache is created, or after you have enabled clustering for the first time.
428441

429442
>[!IMPORTANT]
430-
>You can't undo enabling clustering. And a cache with clustering enabled and only one shard behaves *differently* than a cache of the same size with *no* clustering.
443+
>You can't undo enabling clustering. And a cache with clustering enabled and only one shard behaves _differently_ than a cache of the same size with _no_ clustering.
431444
432445
All Enterprise and Enterprise Flash tier caches are always clustered.
433446

@@ -454,4 +467,4 @@ Unlike Basic, Standard, and Premium tier caches, Enterprise and Enterprise Flash
454467
## Next steps
455468

456469
- [Configure your maxmemory-reserved setting](cache-best-practices-memory-management.md#configure-your-maxmemory-reserved-setting)
457-
- [[Best practices for scaling](cache-best-practices-scale.md)]
470+
- [Best practices for scaling](cache-best-practices-scale.md)

0 commit comments

Comments
 (0)