Skip to content

[release/8.0] SignalR performance: track groups per connection, remove on disconnect #53862

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Feb 12, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Feb 7, 2024

Backport of #53486 to release/8.0

/cc @BrennanConroy @alex-jitbit

SignalR performance: track groups per connection, remove on disconnect

Description

Customer reported slow down on connection disconnect. Both 1st party and 3rd party customers have reported issues here.

Fixes #48249

Customer Impact

When lots of groups are used and connection(s) disconnect it results in significant CPU usage. The 1st party customer is currently using private reflection to fix this issue, but that is definitely not a recommended path forward.

Regression?

  • Yes
  • No

Risk

  • High
  • Medium
  • Low

Code change is relatively simple. We have very similar code for an equivalent component. (RedisHublifetimeManager)

Verification

  • Manual (required)
  • Automated

Packaging changes reviewed?

  • Yes
  • No
  • N/A

@ghost ghost added the area-signalr Includes: SignalR clients and servers label Feb 7, 2024
@dotnet-policy-service dotnet-policy-service bot added this to the 8.0.x milestone Feb 7, 2024
@BrennanConroy BrennanConroy added the Servicing-approved Shiproom has approved the issue label Feb 8, 2024
@wtgodbe wtgodbe merged commit 458aef3 into release/8.0 Feb 12, 2024
@wtgodbe wtgodbe deleted the backport/pr-53486-to-release/8.0 branch February 12, 2024 21:20
@dotnet-policy-service dotnet-policy-service bot modified the milestones: 8.0.x, 8.0.3 Feb 12, 2024
@dotnet-policy-service dotnet-policy-service bot added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework area-signalr Includes: SignalR clients and servers Servicing-approved Shiproom has approved the issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants