Skip to content

Commit 5d8a478

Browse files
committed
add diagram for routing methods
1 parent bce0459 commit 5d8a478

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed
94.6 KB
Loading
175 KB
Loading

articles/frontdoor/routing-methods.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,7 @@ The 'closest' origin isn't necessarily closest as measured by geographic distanc
4747

4848
The following table shows the overall decision flow:
4949

50-
| Available origins | Priority | Latency signal (based on health probe) | Weights |
51-
|-------------| ----------- | ----------- | ----------- |
52-
| First, select all origins that are enabled and returned healthy (200 OK) for the health probe. If there are six origins A, B, C, D, E, and F, and among them C is unhealthy and E is disabled. The list of available origins is A, B, D, and F. | Next, the top priority origins among the available ones are selected. If origin A, B, and D have priority 1 and origin F has a priority of 2. Then, the selected origins will be A, B, and D.| Select the origins with latency range (least latency & latency sensitivity in ms specified). If origin A is 15 ms, B is 30 ms and D is 60 ms away from the Azure Front Door environment where the request landed, and latency sensitivity is 30 ms, then the lowest latency pool consist of origin A and B, because D is beyond 30 ms away from the closest origin that is A. | Lastly, Azure Front Door will round robin the traffic among the final selected group of origins in the ratio of weights specified. For example, if origin A has a weight of 5 and origin B has a weight of 8, then the traffic will be distributed in the ratio of 5:8 among origins A and B. |
50+
:::image type="content" source="./media/routing-methods/routing.png" alt-text="Diagram explaining how origins are selected based on priority, latency and weight settings in Azure Front Door." lightbox="./media/routing-methods/routing-expanded.png":::
5351

5452
>[!NOTE]
5553
> By default, the latency sensitivity property is set to 0 ms. With this setting the request is always forwarded to the fastest available origins and weights on the origin don't take effect unless two origins have the same network latency.

0 commit comments

Comments
 (0)