Skip to content

Commit 3523fe4

Browse files
Merge pull request #231961 from jaesoni/conn-draining-ws
Conn Draining revision
2 parents 7f0db61 + 0a07854 commit 3523fe4

File tree

2 files changed

+15
-5
lines changed

2 files changed

+15
-5
lines changed

articles/application-gateway/configuration-http-settings.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: application-gateway
55
author: greg-lindsay
66
ms.service: application-gateway
77
ms.topic: conceptual
8-
ms.date: 09/13/2022
8+
ms.date: 03/17/2023
99
ms.author: greglin
1010
---
1111

@@ -34,7 +34,12 @@ Please refer to TLS offload and End-to-End TLS documentation for Application Gat
3434

3535
## Connection draining
3636

37-
Connection draining helps you gracefully remove backend pool members during planned service updates. It applies to backend instances that are explicitly removed from the backend pool or during scale-in of backend instances. You can apply this setting to all members of a backend pool by enabling connection draining on the Backend Setting. It ensures that all deregistering instances of a backend pool continue to maintain existing connections and serve on-going requests for a configurable timeout and don't receive any new requests or connections.
37+
Connection draining helps you gracefully remove backend pool members during planned service updates. It applies to backend instances that are
38+
- explicitly removed from the backend pool,
39+
- removed during scale-in operations, or
40+
- reported as unhealthy by the health probes.
41+
42+
You can apply this setting to all backend pool members by enabling Connection Draining in the Backend Setting. It ensures that all deregistering instances in a backend pool don't receive any new requests/connections while maintaining the existing connections until the configured timeout value. This is also true for WebSocket connections.
3843

3944
| Configuration Type | Value |
4045
| ---------- | ---------- |

articles/application-gateway/features.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: application-gateway
55
author: greg-lindsay
66
ms.service: application-gateway
77
ms.topic: conceptual
8-
ms.date: 09/13/2022
8+
ms.date: 03/17/2023
99
ms.author: greglin
1010
---
1111

@@ -102,9 +102,14 @@ For more information, see [WebSocket support](application-gateway-websocket.md)
102102

103103
## Connection draining
104104

105-
Connection draining helps you achieve graceful removal of backend pool members during planned service updates. This setting is enabled via the backend http setting and can be applied to all members of a backend pool during rule creation. Once enabled, Application Gateway ensures all deregistering instances of a backend pool don't receive any new request while allowing existing requests to complete within a configured time limit. This applies to both backend instances that are explicitly removed from the backend pool by a user configuration change, and backend instances that are reported as unhealthy as determined by the health probes. The only exception to this are requests bound for deregistering instances, which have been deregistered explicitly, because of gateway-managed session affinity and continues to be proxied to the deregistering instances.
105+
Connection draining helps you achieve graceful removal of backend pool members during planned service updates or problems with backend health. This setting is enabled via the [Backend Setting](configuration-http-settings.md) and is applied to all backend pool members during rule creation. Once enabled, the aplication gateway ensures all deregistering instances of a backend pool don't receive any new requests while allowing existing requests to complete within a configured time limit. It applies to cases where backend instances are
106+
- explicitly removed from the backend pool after a configuration change by a user,
107+
- reported as unhealthy by the health probes, or
108+
- removed during a scale-in operation.
106109

107-
For more information, see [Application Gateway Configuration Overview](configuration-http-settings.md#connection-draining).
110+
The only exception is when requests continue to be proxied to the deregistering instances because of gateway-managed session affinity.
111+
112+
The connection draining is honored for WebSocket connections as well. For information on time limits, see [Backend Settings configuration](configuration-http-settings.md#connection-draining).
108113

109114
## Custom error pages
110115

0 commit comments

Comments
 (0)