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 flushing headers when the server returns a single response #9314

Merged
merged 4 commits into from
Oct 9, 2023

Conversation

amirhadadi
Copy link
Contributor

resolves #4884

@ejona86 ejona86 added the kokoro:run Add this label to a PR to tell Kokoro the code is safe and tests can be run label Jun 26, 2022
@grpc-kokoro grpc-kokoro removed the kokoro:run Add this label to a PR to tell Kokoro the code is safe and tests can be run label Jun 26, 2022
Copy link
Member

@ejona86 ejona86 left a comment

Choose a reason for hiding this comment

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

binder/ also needs updating. You didn't notice it before because -PskipAndroid=true will skip it.

@ejona86
Copy link
Member

ejona86 commented Jun 28, 2022

The history has gotten convoluted here and seems broken, and is breaking the diff. Are you fine with me cleaning it up? (Doing so will require force-pushing to the branch, and I'm not entirely sure if I have access to do that but I can certainly try.)

Copy link
Member

@ejona86 ejona86 left a comment

Choose a reason for hiding this comment

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

I went ahead and cleaned up the history to fix the diff.

@ejona86 ejona86 added the kokoro:run Add this label to a PR to tell Kokoro the code is safe and tests can be run label Dec 12, 2022
@grpc-kokoro grpc-kokoro removed the kokoro:run Add this label to a PR to tell Kokoro the code is safe and tests can be run label Dec 12, 2022
@larry-safran larry-safran added the kokoro:force-run Add this label to a PR to tell Kokoro to re-run all tests. Not generally necessary label Apr 17, 2023
@grpc-kokoro grpc-kokoro removed the kokoro:force-run Add this label to a PR to tell Kokoro to re-run all tests. Not generally necessary label Apr 17, 2023
@larry-safran
Copy link
Contributor

@amirhadadi Would you please complete the EasyCLA and rebase to resolve the conflicts?

@larry-safran larry-safran added the Waiting on reporter there was a request for more information without a response or answer or advice has been provided label Sep 28, 2023
@amirhadadi
Copy link
Contributor Author

@larry-safran as we traced the issue of extra segments being sent to flow control PINGs, not sure it's worth merging this PR.
WDYT? Should it be closed?

@ejona86
Copy link
Member

ejona86 commented Oct 2, 2023

With #9847 , we won't be sending PINGs as frequently, especially for small requests/responses on a warmed connection.

Seems this wasn't merged just waiting on @sanjaypujare's review.

@sanjaypujare
Copy link
Contributor

With #9847 , we won't be sending PINGs as frequently, especially for small requests/responses on a warmed connection.

Seems this wasn't merged just waiting on @sanjaypujare's review.

Yes, I noticed that a couple of days ago. Is there still interest in merging this PR? From yours and @amirhadadi 's comments I am guessing this PR may not be needed anymore. Let me know

@ejona86
Copy link
Member

ejona86 commented Oct 2, 2023

My comment was to say this has use, as the thing that made it less useful has been fixed. (And even back when it didn't demonstrate a win, I was approving of it.)

@sanjaypujare
Copy link
Contributor

Okay. @amirhadadi do you want to rebase then I will review. 3 files have conflicts

@sanjaypujare sanjaypujare added the kokoro:run Add this label to a PR to tell Kokoro the code is safe and tests can be run label Oct 8, 2023
@grpc-kokoro grpc-kokoro removed the kokoro:run Add this label to a PR to tell Kokoro the code is safe and tests can be run label Oct 8, 2023
Copy link
Contributor

@sanjaypujare sanjaypujare left a comment

Choose a reason for hiding this comment

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

LGTM

@sanjaypujare sanjaypujare merged commit 8c05455 into grpc:master Oct 9, 2023
14 checks passed
@ejona86 ejona86 removed the Waiting on reporter there was a request for more information without a response or answer or advice has been provided label Nov 13, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Avoid unnecessary flushes for unary responses
5 participants