Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
GRPCRoute timeout - GEP-3139 #3219
base: main
Are you sure you want to change the base?
GRPCRoute timeout - GEP-3139 #3219
Changes from all commits
95d2e3d
bbff733
c6fc4d1
193adc3
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For a data plane timeout semantic, I would expect to see definitions for:
In paragraph 1, I see "If the gateway has not been able to respond before this deadline is met", which can either be interpreted as fixing the endpoint as when the client (or gateway) receives the first byte of the response. It could also be interpreted as when the stream reaches a fully closed state.
In the example in paragraph 2, I see "will cause a timeout if a client request is taking longer than 10 seconds to complete". This sounds like the start of the timer is the start of the call and the end is when the client finishes sending the request? This is a very odd semantic.
In paragraph 3, I see " This timeout is intended to cover as close to the whole request-response transaction as possible". This sounds like the timer starts at stream start and ends at stream close. (this is the semantic I would suggest for all arities).
But then, in the same paragraph, I see "although an implementation MAY choose to start the timeout after the entire request stream has been received instead of immediately after the transaction is initiated by the client."
So overall, I'm really not sure what the proposal is here. Can you help me understand the intent?