-
Notifications
You must be signed in to change notification settings - Fork 21.8k
Expand file tree
/
Copy pathcache-planning-faq.yml
More file actions
70 lines (54 loc) · 4.86 KB
/
cache-planning-faq.yml
File metadata and controls
70 lines (54 loc) · 4.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
### YamlMime:FAQ
metadata:
title: Azure Cache for Redis planning FAQs
description: Learn the answers to common questions to help you plan for Azure Cache for Redis.
ms.topic: faq
ms.date: 05/05/2025
appliesto:
- ✅ Azure Cache for Redis
title: Azure Cache for Redis planning FAQs
summary: |
This article provides answers to common questions about how to plan for Azure Cache for Redis.
[!INCLUDE [cache-retirement-alert](includes/cache-retirement-alert.md)]
sections:
- name: Ignored
questions:
- question: |
Azure Cache for Redis performance
answer: |
For guidance on how to benchmark Azure Redis cache performance and for sample benchmarking numbers, see [Performance testing](cache-best-practices-performance.md#example-performance-benchmark-data).
- question: |
How am I billed for Azure Redis?
answer: |
For details about Azure Redis billing, see [Azure Cache for Redis pricing](https://azure.microsoft.com/pricing/details/cache/). The pricing page lists pricing as an hourly and monthly rate. Caches are billed on a per-minute basis. The billing period is measured from time a cache is created until the time that the cache is deleted. There's no option for stopping or pausing cache billing.
- question: |
How can I use Azure Redis with Azure Government Cloud or Azure operated by 21Vianet Cloud?
answer: |
The Basic, Standard, and Premium tiers of Azure Redis are available in Azure Government Cloud and Azure operated by 21Vianet Cloud. The URLs for accessing and managing Azure Redis are different for these clouds than for the Azure Public cloud, as shown in the following table:
| Cloud | Domain Name System (DNS) suffix for Redis |
|---------|---------------------------------|
| Public | `*.redis.cache.windows.net` |
| US Government | *.redis.cache.usgovcloudapi.net |
| 21Vianet Cloud (China) | `*.redis.cache.chinacloudapi.cn` |
The Azure Redis Enterprise and Enterprise Flash tiers are available only in the Public cloud.
For more considerations about using Azure Redis with other clouds, see the following links:
- [Azure Government Databases](/azure/azure-government/compare-azure-government-global-azure)
- [Azure operated by 21Vianet Cloud](https://www.azure.cn/home/features/redis-cache/)
For information about using Azure Redis with PowerShell in Azure Government Cloud and Azure operated by 21Vianet Cloud, see [How to connect to other clouds - PowerShell](../redis/how-to-manage-redis-cache-powershell.md#how-to-connect-to-other-clouds).
- question: |
Where does my cached data reside?
answer: |
In Azure Cache for Redis, your application data is stored in the RAM of the virtual machine (VM) or VMs, depending on the tier, that host your cache. By default, your data resides in the Azure region you selected. There are two cases where your data might leave a region:
* When you enable data persistence on a Premium-tier cache, Azure Cache for Redis backs up your data to an Azure Storage account. If your storage account is in another region, or replicates data through [geo-redundant storage (GRS)](/azure/storage/common/storage-redundancy#redundancy-in-a-secondary-region) to a different region, a copy of your data ends up there. The Enterprise and Enterprise Flash tiers use on-disk persistence mounted directly to the VMs that doesn't leave the region.
* If you set up [passive geo-replication](cache-how-to-geo-replication.md) on a Premium-tier cache and your secondary cache is in a different region, as is typical, your data is replicated to that region.
If you set up [active geo-replication]() on an Enterprise or Enterprise Flash tier cache, your data is replicated to each cache in the geo-replication group. If caches in the geo-replication group reside in other regions, as is typical, your data is replicated to those regions.
>[!NOTE]
>The Enterprise Flash tier also stores data on an ephemeral NVMe flash disk. This disk is mounted to the cache instance VM and therefore resides in the same region as the instance.
You need to explicitly configure Azure Redis to use the preceding features. You also have complete control over the region where the storage account or secondary cache is located.
- question: |
Which region should I locate my cache in?
answer: |
For best performance and lowest latency, locate your Azure Redis cache in the same Azure region as your cache client application.
additionalContent: |
## Related content
See other [Azure Redis FAQs](../redis/faq.yml).