Muokkaa

Jaa


Azure Cache for Redis planning FAQs

This article provides answers to common questions about how to plan for Azure Cache for Redis.

Azure Cache for Redis performance

For guidance on how to benchmark the performance of your Azure Cache for Redis instance and for sample benchmarking numbers, please see the Performance testing page.

In what region should I locate my cache?

For best performance and lowest latency, locate your Azure Cache for Redis in the same region as your cache client application.

Where does my cached data reside?

In Azure Cache for Redis, your application data is stored in the RAM of the VM or VMs (depending on the tier) that host your cache. Your data resides strictly in the Azure region you've selected by default. There are two cases where your data might leave a region:

  • When you enable persistence on a Premium-tier cache, Azure Cache for Redis backs-up your data to an Azure Storage account you own. If the storage account you provide happens to be in another region, or replicates data through geo-redundant storage (GRS) to a different region, a copy of your data ends up there. The Enterprise and Enterprise Flash tiers use on-disk persistence that is mounted directly to the VMs and does not leave the region.
  • If you set up passive geo-replication on a Premium-tier cache, and your secondary cache is in a different region (as is typical), then 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), then your data is replicated to that region.

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 Cache for Redis to use these features. You also have complete control over the region that the storage account or secondary cache is located.

How am I billed for Azure Cache for Redis?

Azure Cache for Redis pricing is here. The pricing page lists pricing as an hourly and monthly rate. Caches are billed on a per-minute basis. The period is measured from time a cache is created until the time that a cache is deleted. There's no option for stopping or pausing the billing of a cache.

Can I use Azure Cache for Redis with Azure Government Cloud or Azure operated by 21Vianet Cloud?

Yes, the Basic, Standard, and Premium tiers of Azure Cache for Redis are available in Azure Government Cloud and Azure operated by 21Vianet Cloud. The URLs for accessing and managing Azure Cache for Redis are different in these clouds compared with Azure Public Cloud.

Cloud Dns Suffix for Redis
Public *.redis.cache.windows.net
US Gov *.redis.cache.usgovcloudapi.net
China *.redis.cache.chinacloudapi.cn

For more information on considerations when using Azure Cache for Redis with other clouds, see the following links.

For information on using Azure Cache for Redis with PowerShell in Azure Government Cloud and Azure operated by 21Vianet Cloud, see How to connect to other clouds - Azure Cache for Redis PowerShell.

The Enterprise and Enterprise Flash tiers of Azure Cache for Redis are only available in the Public cloud for the time being.

Next steps

Learn about other Azure Cache for Redis FAQs.