-
Notifications
You must be signed in to change notification settings - Fork 537
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(server): switch ping-pong latency aggregation to per-socket (#23856
) ## Description Switches the R11s Socket latency telemetry from global aggregation (average over time) to per-socket aggregation (average over threshold ping-pong events). This allows for better telemetry granularity (percentiles, tenant/document narrowing, etc.) at the cost of more generated telemetry. The amount of telemetry can be tuned with the `pingPongLatencyTrackingAggregationThreshold` config, where 1 ping-pong event should [happen every ~25 seconds](https://socket.io/docs/v4/server-options/#pinginterval). ## Breaking Changes An internal param that was never used was removed, and a config that was never set was removed.
- Loading branch information
Showing
6 changed files
with
58 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@fluidframework/server-routerlicious": major | ||
--- | ||
|
||
Socket Latency Telemetry strategy changed to per-socket-connection | ||
|
||
Socket latency tracking strategy was changed to a per-socket strategy for better telemetry granularity. With this, a new config was added (`nexus.socketIo.pingPongLatencyTrackingAggregationThreshold`) and an old config was removed (`nexus.socketIo.pingPongLatencyTrackingIntervalMs`). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters