Skip to content

Commit 8e702da

Browse files
authored
Add warning
1 parent afcb754 commit 8e702da

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

articles/azure-signalr/signalr-howto-configure-application-firewall.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ This guideline is divided into three parts:
3131
## Client Connection Count Rules
3232
Client Connection Count Rules restrict concurrent client connections. When a client attempts to establish a new connection, the rules are checked **sequentially**. If any rule is violated, the connection is rejected with a status code 429.
3333

34-
### Rule introduction
35-
3634
#### ThrottleByUserIdRule
3735
This rule limits the concurrent connections of a user. For example, if a user opens multiple browser tabs or logs in using different devices, you can use this rule to restrict the number of concurrent connections for that user.
3836

@@ -52,11 +50,8 @@ Client Connection Count Rules restrict concurrent client connections. When a cli
5250
**Key point**: The rule applies to all claims with a certain claim name. The connection count aggregation is on the same claim (including claim name and claim value). The *ThrottleByUserIdRule* is a special case of this rule, applying to all connections with the userIdentity claim.
5351

5452

55-
56-
### Best Practice
57-
#### Avoid using too aggressive maxCount
58-
59-
Client connections may close without completing the tcp handshake. SignalR service can't detect those "half-closed" connections immediately. The connection is taken as active until the heartbeat failure. Therefore, aggressive throttling strategies might unexpectedly throttle clients. A smoother approach is to **leave some buffer** for the connection count, for example: double the *maxCount*.
53+
> ### Avoid using too aggressive maxCount
54+
> Client connections may close without completing the tcp handshake. SignalR service can't detect those "half-closed" connections immediately. The connection is taken as active until the heartbeat failure. Therefore, aggressive throttling strategies might unexpectedly throttle clients. A smoother approach is to **leave some buffer** for the connection count, for example: double the *maxCount*.
6055
6156

6257

0 commit comments

Comments
 (0)