Skip to content
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

Fixes async dispatch regression on server #6091

Merged
merged 1 commit into from
Dec 19, 2023
Merged

Conversation

philippjfr
Copy link
Member

The 1.3.5 release caused a major regression in server performance caused by continuously accumulating async callbacks. Specifically when dispatching messages to the frontend we were continuously rescheduling tasks, which would accumulate over time and effectively cause the server to get bogged down processing pointless old tasks.

@philippjfr philippjfr added this to the v1.3.6 milestone Dec 19, 2023
Copy link

codecov bot commented Dec 19, 2023

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (5b89692) 84.66% compared to head (1b2214b) 84.66%.

Files Patch % Lines
panel/io/document.py 0.00% 3 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6091   +/-   ##
=======================================
  Coverage   84.66%   84.66%           
=======================================
  Files         296      296           
  Lines       44057    44060    +3     
=======================================
+ Hits        37302    37305    +3     
  Misses       6755     6755           
Flag Coverage Δ
ui-tests 40.63% <0.00%> (+<0.01%) ⬆️
unitexamples-tests 72.73% <0.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@philippjfr philippjfr merged commit fbc1f24 into main Dec 19, 2023
13 checks passed
@philippjfr philippjfr deleted the async_server_dispatch-fix branch December 19, 2023 23:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant