Skip to content

Commit 9f1abda

Browse files
committed
Address feedback
1 parent 7f43bd0 commit 9f1abda

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

articles/azure-app-configuration/howto-geo-replication.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,10 @@ To delete a replica in the portal, follow the steps below.
8888

8989
Each replica you create has its dedicated endpoint. If your application resides in multiple geolocations, you can update each deployment of your application in a location to connect to the replica closer to that location, which helps minimize the network latency between your application and App Configuration. Since each replica has its separate request quota, this setup also helps the scalability of your application while it grows to a multi-region distributed service.
9090

91-
When geo-replication is enabled, and if one replica isn't accessible, you can let your application failover to another replica for improved resiliency. App Configuration provider libraries have built-in failover support. The provider library accepts multiple endpoints. You can provide a list of your replica endpoints in the order of how you prefer your application to connect, from the most to the least. When one endpoint isn't accessible, the provider library will fail over to a less preferred endpoint, but it will try to connect to the more preferred endpoints from time to time. When a more preferred endpoint becomes available, it will switch to it for future requests. You can update your application as the sample code below to take advantage of the failover feature.
91+
When geo-replication is enabled, and if one replica isn't accessible, you can let your application failover to another replica for improved resiliency. App Configuration provider libraries have built-in failover support by accepting multiple replica endpoints. You can provide a list of your replica endpoints in the order of the most preferred to the least preferred endpoint. When the current endpoint isn't accessible, the provider library will fail over to a less preferred endpoint, but it will try to connect to the more preferred endpoints from time to time. When a more preferred endpoint becomes available, it will switch to it for future requests. You can update your application as the sample code below to take advantage of the failover feature.
92+
93+
> [!NOTE]
94+
> You can only use Azure AD authentication to connect to replicas during the preview.
9295
9396
<!-- ### [.NET](#tab/dotnet) -->
9497

@@ -108,16 +111,19 @@ configurationBuilder.AddAzureAppConfiguration(options =>
108111
```
109112

110113
> [!NOTE]
111-
> The failover support is availble in package `Microsoft.Extensions.Configuration.AzureAppConfiguration` version **5.3.0-preview** or later.
114+
> The failover support is availble if you use version **5.3.0-preview** or later of any of the following packages.
115+
> - `Microsoft.Extensions.Configuration.AzureAppConfiguration`
116+
> - `Microsoft.Azure.AppConfiguration.AspNetCore`
117+
> - `Microsoft.Azure.AppConfiguration.Functions.Worker`
112118
113119
<!-- ### [Java Spring](#tab/spring)
114120
Placeholder for Java Spring instructions
115121
--- -->
116122

117-
The failover in the App Configuration provider occurs in the following conditions.
118-
- Service unavailable responses (HTTP status code 500 or above)
119-
- Network connectivity issues
120-
- Throttled requests (HTTP status code 429)
123+
The App Configuration provider fails over to a different endpoint when it observes the following conditions.
124+
- Receives responses with service unavailable status (HTTP status code 500 or above).
125+
- Experiences with network connectivity issues.
126+
- Requests are throttled (HTTP status code 429).
121127

122128
The failover won't happen for client errors like authentication failures.
123129

0 commit comments

Comments
 (0)