Skip to content

Commit 4eb2ed8

Browse files
authored
Update cache-high-availability.md
Updated page based on recommendations from horizontal team.
1 parent 5e50a96 commit 4eb2ed8

File tree

1 file changed

+51
-3
lines changed

1 file changed

+51
-3
lines changed

articles/azure-cache-for-redis/cache-high-availability.md

Lines changed: 51 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ Various high availability options are available in the Standard, Premium, and En
2929

3030
Applicable tiers: **Standard**, **Premium**, **Enterprise**, **Enterprise Flash**
3131

32+
Recommended for: **High availability**
33+
3234
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.
3335

3436
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 [
6163

6264
Applicable tiers: **Premium**, **Enterprise**, **Enterprise Flash**
6365

66+
Recommended for: **High availability**, **Disaster recovery - intra region**
67+
6468
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.
6569
See this article for information on how to set it up.
6670

@@ -76,6 +80,8 @@ The following diagram illustrates the zone redundant configuration for the Premi
7680

7781
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.
7882

83+
#### Zone Down Experience
84+
7985
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.
8086

8187
### Enterprise and Enterprise Flash tiers
@@ -87,12 +93,48 @@ A cache in either Enterprise tier runs on a Redis Enterprise _cluster_. It alway
8793

8894
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.
8995

96+
#### Zone Down Experience
97+
9098
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.
9199

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)
131+
92132
## Persistence
93133

94134
Applicable tiers: **Premium**, **Enterprise (preview)**, **Enterprise Flash (preview)**
95135

136+
Recommended for: **Data durability**
137+
96138
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).
97139

98140
### Storage account for persistence
@@ -103,17 +145,21 @@ Consider choosing a geo-redundant storage account to ensure high availability of
103145

104146
Applicable tiers: **Premium**, **Enterprise**, **Enterprise Flash**
105147

148+
Recommended for: **Disaster recovery**
149+
106150
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).
107151

108152
### Storage account for export
109153

110154
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).
111155

112-
## Geo-replication
156+
## Passive Geo-replication
113157

114158
Applicable tiers: **Premium**
115159

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.
117163
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).
118164

119165
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
122168

123169
Applicable tiers: **Enterprise**, **Enterprise Flash**
124170

125-
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.
171+
Recommmended for: **High Availability**, **Disaster recovery - multi-region**
172+
173+
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.
126174

127175
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).
128176

0 commit comments

Comments
 (0)