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
Copy file name to clipboardExpand all lines: articles/frontdoor/troubleshoot-performance-issues.md
+27-27Lines changed: 27 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: 'General Performance Troubleshooting of Azure Front Door'
2
+
title: 'General performance troubleshooting of Azure Front Door'
3
3
titleSuffix: Azure Front Door
4
4
description: In this article, investigate, diagnose and resolve potential latency or bandwidth issues associated with an Azure Front Door related site performance
5
5
services: frontdoor
@@ -14,19 +14,19 @@ ms.author: stdoroff
14
14
15
15
# Azure Front Door Performance
16
16
17
-
Performance issues can originate in several potential areas. This guide in identifying which hop along the data-path is most likely the root of the issue and how to resolve. As a brief overview, the issue could be at the Azure Front Door (AFD), the origin, the requesting client or the path between any of these hops.
17
+
Performance issues can originate in several potential areas. This guide in identifying which hop along the data-path is most likely the root of the issue and how to resolve. As a brief overview, the issue could be at the Azure Front Door, the origin, the requesting client or the path between any of these hops.
18
18
19
19
## Check for Known Issues
20
20
21
-
Before beginning, be sure to check for any [known issues on the AFD platform](https://azure.status.microsoft/status), any known ISPs in the path or on the requesting client's ability to connect and retrieve data.
21
+
Before beginning, be sure to check for any [known issues on the Azure Front Door platform](https://azure.status.microsoft/status), any known ISPs in the path or on the requesting client's ability to connect and retrieve data.
22
22
23
23
## Scenario 1: Investigate the Origin
24
24
25
-
If one of the origin servers are slow, then the first request for an object via the AFD is slow. Further, if the content isn't cached at the AFD's Point of Presence (POP), requests are forwarded to the origin. Serving from the origin negates the benefit of the POP's proximity and local delivery to the requesting client, and, instead, rely on the origin's performance.
25
+
If one of the origin servers are slow, then the first request for an object via the Azure Front Door is slow. Further, if the content isn't cached at the Azure Front Door's Point of Presence (POP), requests are forwarded to the origin. Serving from the origin negates the benefit of the POP's proximity and local delivery to the requesting client, and, instead, rely on the origin's performance.
26
26
27
27
### Scenario 1 | Environment Information Needed
28
28
29
-
-AFD / Endpoint Name
29
+
-Azure Front Door / Endpoint Name
30
30
- Endpoint Hostname
31
31
- Endpoint Custom Domain (if applicable)
32
32
- Origin Hostname
@@ -40,7 +40,7 @@ If one of the origin servers are slow, then the first request for an object via
40
40
> To check response headers, utilize your browser's Developer Tools (F12), select the *Networking* tab, then the relevant file to be investigated, then the *Headers* tab. ***If the file is missing*** the page need to be reloaded with Developer Tools (F12) open.
41
41
42
42
- The initial response should have an *x-cache* header with *TCP_MISS* value
43
-
- Requests with this value are forwarded by the AFD's POP to the origin and returning on that same path to the requesting client
43
+
- Requests with this value are forwarded by the Azure Front Door's POP to the origin and returning on that same path to the requesting client
44
44
- Examples
45
45
- TCP_MISS
46
46
@@ -99,19 +99,19 @@ If one of the origin servers are slow, then the first request for an object via
99
99
```
100
100
101
101
1. Continue to request against the endpoint until the *x-cache* header has a *TCP_HIT* value
102
-
1. ***If the performance issue is resolved***, then the issue was based on the origin's speed, and isn't the AFD's performance. The AFD's cache settings or the origin need to be address by its owner to resolve the performance issue.
103
-
1. ***If the issue persists***, then the issue may be with the client requesting the content or the AFD
102
+
1. ***If the performance issue is resolved***, then the issue was based on the origin's speed, and isn't the Azure Front Door's performance. The Azure Front Door's cache settings or the origin need to be address by its owner to resolve the performance issue.
103
+
1. ***If the issue persists***, then the issue may be with the client requesting the content or the Azure Front Door
104
104
A. Move to Scenario 2 to identify
105
105
106
106
## Scenario 2: A Single Client or Location (example: ISP) is Slow
107
107
108
-
A single client or location being slow can happen if there's a bad network route between the requesting client and the AFD POP. Any bad route should be ruled out as it affects the distance to the POP, removing the AFD POP's proximity benefit.
108
+
A single client or location being slow can happen if there's a bad network route between the requesting client and the Azure Front Door POP. Any bad route should be ruled out as it affects the distance to the POP, removing the Azure Front Door POP's proximity benefit.
109
109
110
110
High latency, or low bandwidth, could be because of an ISP issue, the customer is using a VPN or they're a part of a dispersed corporate network. A corporate network can run all traffic through a central, remote point.
111
111
112
112
### Scenario 2 | Environment Information Needed
113
113
114
-
- AFD / Endpoint Name
114
+
- Azure Front Door / Endpoint Name
115
115
- Endpoint Hostname
116
116
- Endpoint Custom Domain (if applicable)
117
117
- Origin Hostname
@@ -132,26 +132,26 @@ High latency, or low bandwidth, could be because of an ISP issue, the customer i
132
132
1. Determine if the traffic is taking a path that would add time or travel to a distant region
133
133
- Look for IP, city or region codes that don't take a reasonable route based on the customer’s geography (example: a customer in Europe getting routed to the United States), or excessive number of hops
134
134
1. Test from a different requesting client in the same region
135
-
1. **If additional hops or remote regions are identified**, the issue is with the client accessing the AFD POP and not with the AFD itself. Hops between endpoints needs to be addressed by the connectivity or VPN provider.
136
-
1. **If additional hops or remote regions are not identified** AND the content is being served from cache (x-cache: TCP_HIT), the issue is with the AFD and a Support Request may need to be created. Include a reference to this troubleshooting article and steps taken.
135
+
1. **If additional hops or remote regions are identified**, the issue is with the client accessing the Azure Front Door POP and not with the Azure Front Door itself. Hops between endpoints needs to be addressed by the connectivity or VPN provider.
136
+
1. **If additional hops or remote regions are not identified** AND the content is being served from cache (x-cache: TCP_HIT), the issue is with the Azure Front Door and a Support Request may need to be created. Include a reference to this troubleshooting article and steps taken.
137
137
- ***Note***: , when the content is being served from the origin (x-cache: TCP_MISS), see Scenario 1 above
138
138
139
139
## Scenario 3: A Website Loads Slowly
140
140
141
-
There are some scenarios where there is ***not*** an issue with a single file but the performance of the whole, AFD proxied, webpage is unsatisfactory. Site performance is revealed by a webpage performance tool and shows under performance compared to the webpage outside of AFD.
141
+
There are some scenarios where there is ***not*** an issue with a single file but the performance of the whole, Azure Front Door proxied, webpage is unsatisfactory. Site performance is revealed by a webpage performance tool and shows under performance compared to the webpage outside of Azure Front Door.
142
142
143
-
A webpage often consists of many files. The way the website benefits from the AFD is only if each file in the webpage is being served from the AFD. Additionally, the AFD must be configured to maximize the benefit. For example:
143
+
A webpage often consists of many files. The way the website benefits from the Azure Front Door is only if each file in the webpage is being served from the Azure Front Door. Additionally, the Azure Front Door must be configured to maximize the benefit. For example:
144
144
145
145
- Origin: origin.contoso.com
146
-
- AFD Custom Domain: contoso.com
146
+
- Azure Front Door Custom Domain: contoso.com
147
147
- Page customer attempts to load: https://contoso.com
148
-
- **Explanation**: When the page loads, the initial file at the "/" directory calls other files, which build the page. These files are images, JavaScript, text files and more. If those files aren't called via the AFD hostname, *contoso.com*, the AFD is ***not*** being utilized. So, if one of the file requested by the website is *`http://www.images.fabrikam.com/businessimage.jpg`* the file is ***not*** benefiting from the use of the AFD. Instead, the file is being requested directly, from the *`images.fabrikam.com`* server, by the browser on the requesting client.
148
+
- **Explanation**: When the page loads, the initial file at the "/" directory calls other files, which build the page. These files are images, JavaScript, text files and more. If those files aren't called via the Azure Front Door hostname, *contoso.com*, the Azure Front Door is ***not*** being utilized. So, if one of the file requested by the website is *`http://www.images.fabrikam.com/businessimage.jpg`* the file is ***not*** benefiting from the use of the Azure Front Door. Instead, the file is being requested directly, from the *`images.fabrikam.com`* server, by the browser on the requesting client.
149
149
150
-
:::image type="content" source="media/troubleshoot-performance-issues/afd-cdn-performance.jpg" alt-text="Diagram of multiple, differently sourced files for a singular website and how it affects AFD performance.":::
150
+
:::image type="content" source="media/troubleshoot-performance-issues/azure-front-door-performance.jpg" alt-text="Diagram of multiple, differently sourced files for a singular website and how it affects Azure Front Door performance.":::
151
151
152
152
### Scenario 3 | Environment Information Needed
153
153
154
-
- AFD / Endpoint Name
154
+
- Azure Front Door / Endpoint Name
155
155
- Endpoint Hostname
156
156
- Endpoint Custom Domain (if applicable)
157
157
- Origin Hostname
@@ -164,24 +164,24 @@ A webpage often consists of many files. The way the website benefits from the A
164
164
1. Review the metric, which is showing the slower performance
165
165
> [!IMPORTANT]
166
166
> If it is based on a third part tool, Microsoft cannot discern what is being measure by tools not owned by Microsoft
167
-
1. Pull up the AFD webpage in a Browser with Developer Tools (F12) enabled
167
+
1. Pull up the Azure Front Door webpage in a Browser with Developer Tools (F12) enabled
168
168
> [!NOTE]
169
169
> Developer tools in your browser can be used to determine the source of the files being served
170
170
1. Note the source of files
171
-
1. Identify which files are utilizing the AFD hostname and which aren't
172
-
A. Example: From the above example, an AFD hosted image would be, `https://www.contoso.com/productimage1.jpg`, and that which wouldn't be, `http://www.images.fabrikam.com/businessimage.jpg`
173
-
1. Once gathered test performance for file being served from AFD, its origin and, if applicable, the testing webpage
171
+
1. Identify which files are utilizing the Azure Front Door hostname and which aren't
172
+
A. Example: From the above example, an Azure Front Door hosted image would be, `https://www.contoso.com/productimage1.jpg`, and that which wouldn't be, `http://www.images.fabrikam.com/businessimage.jpg`
173
+
1. Once gathered test performance for file being served from Azure Front Door, its origin and, if applicable, the testing webpage
174
174
> [!IMPORTANT]
175
-
> If the origin or testing webpage is served from a geographical region closer to the tool testing performance, a tool or requesting client may need to be used in another region to examine the AFD POP's proximity benefit
175
+
> If the origin or testing webpage is served from a geographical region closer to the tool testing performance, a tool or requesting client may need to be used in another region to examine the Azure Front Door POP's proximity benefit
176
176
177
177
> [!CAUTION]
178
178
> If files are meant to be cached, be sure to test files that have the response header *x-cache: TCP_HIT*
179
179
180
180
> [!IMPORTANT]
181
-
> Any files served from outside the AFD's hostname will not be able to benefit from it and the webpage may need to be redesigned to do so
181
+
> Any files served from outside the Azure Front Door's hostname will not be able to benefit from it and the webpage may need to be redesigned to do so
182
182
183
-
1. **If the collected data shows that files are being issued from servers outside the AFD's hostname or performance is better at the AFD**, the AFD is working as expected
184
-
A. Slowly loading websites may require a change in webpage design, forassistancein optimizing your website to use an AFD, connect with your website design team or our [Microsoft Solution Providers](https://www.microsoft.com/solution-providers/home)
183
+
1. **If the collected data shows that files are being issued from servers outside the Azure Front Door's hostname or performance is better at the Azure Front Door**, the Azure Front Door is working as expected
184
+
A. Slowly loading websites may require a change in webpage design, forassistancein optimizing your website to use an Azure Front Door, connect with your website design team or our [Microsoft Solution Providers](https://www.microsoft.com/solution-providers/home)
185
185
> [!NOTE]
186
186
> Slowly loading websites issue could take time to review based on the complexity of a website's design and it's file calling instructions
187
-
1. **If the collected data shows that performance is ***not*** better at the AFD**, a Support Request is likely required for further investigation. Include a reference to this troubleshooting article and steps taken.
187
+
1. **If the collected data shows that performance is ***not*** better at the Azure Front Door**, a Support Request is likely required for further investigation. Include a reference to this troubleshooting article and steps taken.
0 commit comments