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
+21-19Lines changed: 21 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,11 +14,11 @@ ms.author: stdoroff
14
14
15
15
# Azure Front Door Performance
16
16
17
-
Performance issues can originate in several potential areas. This troubleshooting guide will assist 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.
17
+
Performance issues can originate in several potential areas. This troubleshooting guide helps identify 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 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.
21
+
Before beginning, be sure to check for any known issues on the [Azure Front Door platform](https://azure.status.microsoft/status), ISPs in the path or the requesting client's ability to connect and retrieve data.
22
22
23
23
## Scenario 1: Investigate the Origin
24
24
@@ -37,10 +37,10 @@ If one of the origin servers are slow, then the first request for an object via
37
37
1. Check the response headers from the affected request
38
38
39
39
> [!TIP]
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.
40
+
> To check response headers, examples using `curl` in Bash are below. Your browser's developer tools (F12) can also be used. For browser's developer tools, 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 Azure Front Door'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. The origin sends the return traffic on that same path to the requesting client.
44
44
- Examples
45
45
- TCP_MISS
46
46
@@ -126,21 +126,21 @@ High latency, or low bandwidth, could be because of an ISP issue, the customer i
126
126
1. To check the path to the POP, use [PathPing](/windows-server/administration/windows-commands/pathping) or similar tool for 500 packets to check the network route. *PathPing maxes at 250 queries. To test to 500, run the below query twice*
127
127
128
128
```Console
129
-
pathping /q 250 <Full URL of Affected File>
129
+
pathping /q 250 <Full URL of affected file>
130
130
```
131
131
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
-
1. Test from a different requesting client in the same region
134
+
1. To rule out requesting client settings, test from a different requesting client in the same region
135
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
-
- ***Note***: , when the content is being served from the origin (x-cache: TCP_MISS), see Scenario 1 above
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
+
- ***Note***: If the content is being served from the origin (x-cache: TCP_MISS), see [Scenario 1](troubleshoot-performance-issues.md#scenario-1-investigate-the-origin) 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, 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.
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. Site performance is measured by a webpage performance tool. These tools may identify that the Azure Front Door proxied webpage under performs compared to the same webpage outside of the Azure Front Door system.
142
142
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:
143
+
A webpage 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
146
- Azure Front Door Custom Domain: contoso.com
@@ -155,7 +155,7 @@ A webpage often consists of many files. The way the website benefits from the A
155
155
- Endpoint Hostname
156
156
- Endpoint Custom Domain (if applicable)
157
157
- Origin Hostname
158
-
- Geographical location of the origin
158
+
- Geographic location of the origin
159
159
- Full URL of Affected Webpage
160
160
- Tool and metric, which is measuring performance
161
161
@@ -166,22 +166,24 @@ A webpage often consists of many files. The way the website benefits from the A
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
167
1. Pull up the Azure Front Door webpage in a Browser with Developer Tools (F12) enabled
168
168
> [!NOTE]
169
-
> Developer tools in your browser can be used to determine the source of the files being served
170
-
1. Note the source of files
169
+
> Your browser's developer tools (F12) in your browser can be used to determine the source of the files being served. To view the *Request URL*, open developer tools (F12), selectthe*Networking* tab, then the relevant file to be investigated, then the *General*. ***If the file is missing*** the page need to be reloaded with developer tools (F12) open.
170
+
1. Note the source, or *Requesting URL*, of files
171
171
1. Identify which files are utilizing the Azure Front Door hostname and which aren't
172
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
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
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
-
177
-
> [!CAUTION]
178
-
> If files are meant to be cached, be sure to test files that have the response header *x-cache: TCP_HIT*
179
-
176
+
180
177
> [!IMPORTANT]
181
178
> 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
179
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
180
+
> [!CAUTION]
181
+
> If files are meant to be cached, be sure to test files that have the response header *x-cache: TCP_HIT*
182
+
183
+
1. **If the collected data shows that files are being issued from servers outside the Azure Front Door's hostname**, the Azure Front Door is working as expected
184
184
A. Slowly loading websites may require a change in webpage design, for assistance in 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 Azure Front Door**, 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 files' loading performance are better at the Azure Front Door compared to the origin or test site**, the Azure Front Door is working as expected.
188
+
A. The issue may have to do with individual client request issues. See [Scenario 1](troubleshoot-performance-issues.md#scenario-1-investigate-the-origin) above.
189
+
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