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

perf: rejects closed connections right away #1407

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

AlliBalliBaba
Copy link
Collaborator

This PR should improve recovery in the case where the server is overwhelmed by rejecting all closed and stalled connections right away. This makes it so these connections don't even reach PHP.

Doing this requires removing the buffer from the regular request chan, but comes at no notable performance cost otherwise.

Copy link
Owner

@dunglas dunglas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea!

@withinboredom
Copy link
Collaborator

there may be an issue here -- will report back to make sure I am wrong.

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.

4 participants