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/standard-premium/websocket.md
+4-7Lines changed: 4 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,17 +6,13 @@ ms.author: halkazwini
6
6
manager: KumudD
7
7
ms.service: azure-frontdoor
8
8
ms.topic: concept-article
9
-
ms.date: 11/11/2024
9
+
ms.date: 3/31/2025
10
10
---
11
11
12
-
# Azure Front Door WebSocket (preview)
12
+
# Azure Front Door WebSocket
13
13
14
14
Azure Front Door supports WebSocket on both Standard and Premium tiers without requiring any extra configurations. WebSocket, standardized in [RFC6455](https://tools.ietf.org/html/rfc6455), is a TCP-based protocol that facilitates full-duplex communication between a server and a client over a long-running TCP connection. It eliminates the need for polling as required in HTTP and avoids some of the overhead of HTTP. It can reuse the same TCP connection for multiple requests or responses, resulting in a more efficient utilization of resources. This enables more interactive and real-time scenarios.
15
15
16
-
> [!IMPORTANT]
17
-
> Azure Front Door websocket is currently in PREVIEW.
18
-
> See the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
19
-
20
16
WebSocket is ideal for applications needing real-time updates or continuous data streams, such as chat apps, dashboards, financial updates, GPS, online education, live streaming, and gaming. For instance, a trading website can use WebSocket to push and update pricing data in real-time.
21
17
22
18
## Use WebSocket on Azure Front Door
@@ -29,6 +25,7 @@ When using WebSocket on Azure Front Door, consider the following:
29
25
- Disable caching for WebSocket routes. For routes with caching enabled, Azure Front Door doesn't forward the WebSocket Upgrade header to the origin and treats it as an HTTP request, disregarding cache rules. This results in a failed WebSocket upgrade request.
30
26
- The idle timeout is 5 minutes. If Azure Front Door doesn't detect any data transmission from the origin or the client within the past 5 minutes, the connection is considered idle and is closed.
31
27
- Currently, WebSocket connections on Azure Front Door remain open for no longer than 4 hours. The WebSocket connection can be dropped due to underlying server upgrades or other maintenance activities. We highly recommend you implement retry logic in your application.
28
+
- Currently, each Azure Front Door profile supports up to 3,000 concurrent global connections. For more information, see [Azure Front Door Standard and Premium service limits](../../azure-resource-manager/management/azure-subscription-service-limits.md#azure-front-door-standard-and-premium-service-limits).
32
29
33
30
## How the WebSocket protocol works
34
31
@@ -64,4 +61,4 @@ After the client receives the server response, the WebSocket connection is open
64
61
## Next steps
65
62
66
63
- Learn how to [create an Azure Front Door](../create-front-door-portal.md) profile.
67
-
- Learn how Azure Front Door [routes traffic](../front-door-routing-architecture.md) to your origin.
64
+
- Learn how Azure Front Door [routes traffic](../front-door-routing-architecture.md) to your origin.
0 commit comments