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
Azure Cache for Redis has a high availability architecture that ensures your managed instance is functioning, even when outages affect the underlying virtual machines (VMs). Whether the outage is planned or unplanned outages, Azure Cache for Redis delivers much greater percentage availability rates than what's attainable by hosting Redis on a single VM.
33
35
34
36
An Azure Cache for Redis in the applicable tiers runs on a pair of Redis servers by default. The two servers are hosted on dedicated VMs. Open-source Redis allows only one server to handle data write requests.
@@ -61,6 +63,8 @@ Also, Azure Cache for Redis provides more replica nodes in the Premium tier. A [
Recommended for: **High availability**, **Disaster recovery - intra region**
67
+
64
68
Azure Cache for Redis supports zone redundant configurations in the Premium and Enterprise tiers. A zone redundant cache can place its nodes across different Azure Availability Zones in the same region. It eliminates data center or AZ outage as a single point of failure and increases the overall availability of your cache.
65
69
See this article for information on how to set it up.
66
70
@@ -76,6 +80,8 @@ The following diagram illustrates the zone redundant configuration for the Premi
76
80
77
81
Azure Cache for Redis distributes nodes in a zone redundant cache in a round-robin manner over the selected Availability Zones. It also determines which node will serve as the primary initially.
78
82
83
+
#### Zone Down Experience
84
+
79
85
A zone redundant cache provides automatic failover. When the current primary node is unavailable, one of the replicas will take over. Your application may experience higher cache response time if the new primary node is located in a different AZ. Availability Zones are geographically separated. Switching from one AZ to another alters the physical distance between where your application and cache are hosted. This change impacts round-trip network latencies from your application to the cache. The extra latency is expected to fall within an acceptable range for most applications. We recommend you test your application to ensure it does well with a zone-redundant cache.
80
86
81
87
### Enterprise and Enterprise Flash tiers
@@ -87,12 +93,48 @@ A cache in either Enterprise tier runs on a Redis Enterprise _cluster_. It alway
87
93
88
94
The Enterprise cluster divides Azure Cache for Redis data into partitions internally. Each partition has a _primary_ and at least one _replica_. Each data node holds one or more partitions. The Enterprise cluster ensures that the primary and replica(s) of any partition are never collocated on the same data node. Partitions replicate data asynchronously from primaries to their corresponding replicas.
89
95
96
+
#### Zone Down Experience
97
+
90
98
When a data node becomes unavailable or a network split happens, a failover similar to the one described in [Standard replication](#standard-replication-for-high-availability) takes place. The Enterprise cluster uses a quorum-based model to determine which surviving nodes participate in a new quorum. It also promotes replica partitions within these nodes to primaries as needed.
91
99
100
+
### Regional availability
101
+
102
+
Zone-redundant Premium tier caches are available in the following regions:
103
+
104
+
| Americas | Europe | Middle East | Africa | Asia Pacific |
105
+
|---|---|---|---|---|
106
+
| Brazil South | France Central | Qatar Central | South Africa North | Australia East |
107
+
| Canada Central | Germany West Central ||| Central India |
108
+
| Central US | North Europe ||| Japan East |
109
+
| East US | Norway East ||| Korea Central |
110
+
| East US 2 | UK South ||| Southeast Asia |
111
+
| South Central US | West Europe ||| East Asia |
112
+
| US Gov Virginia | Sweden Central ||| China North 3 |
113
+
| West US 2 | Switzerland North ||||
114
+
| West US 3 |||||
115
+
116
+
Zone-redundant Enterprise and Enterprise Flash tier caches are available in the following regions:
117
+
118
+
| Americas | Europe | Middle East | Africa | Asia Pacific |
119
+
|---|---|---|---|---|
120
+
| Canada Central | North Europe ||| Australia East |
121
+
| Central US*| UK South ||| Central India |
122
+
| East US | West Europe ||| Southeast Asia |
123
+
| East US 2 |||||
124
+
| South Central US |||||
125
+
| West US 2 |||||
126
+
127
+
\* Enterprise Flash tier not available in this region.
128
+
129
+
#### Availability zone redeployment and migration
130
+
Currently, the only way to convert your cache from a non-AZ configuration to an AZ configuration is to redeploy the cache. To learn how to redeploy your current cache, see [Migrate an Azure Cache for Redis instance to availability zone support](https://learn.microsoft.com/azure/availability-zones/migrate-cache-redis)
Because your cache data is stored in memory, a rare and unplanned failure of multiple nodes can cause all the data to be dropped. To avoid losing data completely, [Redis persistence](https://redis.io/topics/persistence) allows you to take periodic snapshots of in-memory data, and store it to your storage account. If you experience a failure across multiple nodes causing data loss, your cache loads the snapshot from storage account. For more information, see [Configure data persistence for a Premium Azure Cache for Redis instance](cache-how-to-premium-persistence.md).
97
139
98
140
### Storage account for persistence
@@ -103,17 +145,21 @@ Consider choosing a geo-redundant storage account to ensure high availability of
Azure cache for Redis supports the option to import and export Redis Database (RDB) files to provide data portability. It allows you to import data into Azure Cache for Redis or export data from Azure Cache for Redis by using an RDB snapshot. The RDB snapshot from a premium cache is exported to a blob in an Azure Storage Account. You can create a script to trigger export periodically to your storage account. For more information, see [Import and Export data in Azure Cache for Redis](cache-how-to-import-export-data.md).
107
151
108
152
### Storage account for export
109
153
110
154
Consider choosing a geo-redundant storage account to ensure high availability of your exported data. For more information, see [Azure Storage redundancy](../storage/common/storage-redundancy.md?toc=%2fazure%2fstorage%2fblobs%2ftoc.json).
111
155
112
-
## Geo-replication
156
+
## Passive Geo-replication
113
157
114
158
Applicable tiers: **Premium**
115
159
116
-
[Geo-replication](cache-how-to-geo-replication.md) is a mechanism for linking two or more Azure Cache for Redis instances, typically spanning two Azure regions. Geo-replication is designed mainly for disaster recovery. Two Premium tier cache instances are connected through geo-replication in a way that provides reads and writes to your primary cache, and that data is replicated to the secondary cache.
160
+
Recommmended for: **Disaster recovery - single region**
161
+
162
+
[Geo-replication](cache-how-to-geo-replication.md) is a mechanism for linking two or more Azure Cache for Redis instances, typically spanning two Azure regions. Geo-replication is designed mainly for cross-region disaster recovery. Two Premium tier cache instances are connected through geo-replication in a way that provides reads and writes to your primary cache, and that data is replicated to the secondary cache.
117
163
For more information on how to set it up, see [Configure geo-replication for Premium Azure Cache for Redis instances](./cache-how-to-geo-replication.md).
118
164
119
165
If the region hosting the primary cache goes down, you’ll need to start the failover by: first, unlinking the secondary cache, and then, updating your application to point to the secondary cache for reads and writes.
@@ -122,7 +168,9 @@ If the region hosting the primary cache goes down, you’ll need to start the fa
The Enterprise tiers support a more advanced form of geo-replication called [active geo-replication](cache-how-to-active-geo-replication.md). The Azure Cache for Redis Enterprise software uses conflict-free replicated data types to support writes to multiple cache instances, merges changes, and resolves conflicts. You can join up to five Enterprise tier cache instances in different Azure regions to form a geo-replication group.
The Enterprise tiers support a more advanced form of geo-replication called [active geo-replication](cache-how-to-active-geo-replication.md) that offers both higher availability and cross-region disaster recovery across multiple regions. The Azure Cache for Redis Enterprise software uses conflict-free replicated data types to support writes to multiple cache instances, merges changes, and resolves conflicts. You can join up to five Enterprise tier cache instances in different Azure regions to form a geo-replication group.
126
174
127
175
An application using such a cache can read and write to any of the geo-distributed cache instances through their corresponding endpoints. The application should use what is the closest to each application instance, giving you the lowest latency. For more information, see [Configure active geo-replication for Enterprise Azure Cache for Redis instances](cache-how-to-active-geo-replication.md).
0 commit comments