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

Avoid unnecessary body write scheduling in IIS #34733

Merged
merged 2 commits into from
Jul 26, 2021

Conversation

halter73
Copy link
Member

Only internal logic reads from this Pipe, so there's no reason to dispatch this to another thread to avoid potential blocking. Running the reader loop inline should reduce thread pool load.

This should both improve perf and make in-proc behave better in thread pool starved scenarios. That said, behavior is always going to be bad in thread pool starved scenarios because there's still a bunch of other stuff that gets scheduled. 😄

@halter73 halter73 force-pushed the halter73/inline-iis-output-reader branch from 59fad77 to a8f6c16 Compare July 26, 2021 20:38
@halter73 halter73 merged commit 33c24dc into main Jul 26, 2021
@halter73 halter73 deleted the halter73/inline-iis-output-reader branch July 26, 2021 22:27
@ghost ghost added this to the 6.0-rc1 milestone Jul 26, 2021
@amcasey amcasey added area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions and removed area-runtime labels Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants