Skip to content

Added max_requests_per_connection for downstream connection. - #14936

Merged
mattklein123 merged 45 commits into
envoyproxy:mainfrom
mk46:mx_rq_conn
Jul 19, 2021
Merged

mattklein123 merged 45 commits into
envoyproxy:mainfrom
mk46:mx_rq_conn

Conversation

@mk46

@mk46 mk46 commented Feb 4, 2021 •

Copy link
Copy Markdown
Contributor

Signed-off-by: Manish Kumar [email protected]

Commit Message: Added max_requests_per_connection for downstream connection.
Additional Description: Added max_requests_per_connection for downstream connection. if not specified, there is no limit.
Risk Level:
Testing: added config test
Docs Changes: Done.
Release Notes: Done
Fixes #14531

@repokitteh-read-only

Copy link
Copy Markdown

CC @envoyproxy/api-shepherds: Your approval is needed for changes made to api/envoy/.
API shepherd assignee is @htuch
CC @envoyproxy/api-watchers: FYI only for changes made to api/envoy/.

🐱

Caused by: #14936 was opened by mk46.

see: more, trace.

@ggreenway

Copy link
Copy Markdown
Member

@htuch See my comment #14531 (comment).

Any advice from api-shepherds on which config approach is better?


// Optional maximum requests for a downstream connection.
// If not specified, there is no limit.
google.protobuf.UInt32Value max_requests_connection = 43;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@ggreenway @mk46 I'd vote to move this to HttpProtocolOptions and deprecate it in Cluster (with appropriate redirect in comments), it logically belongs there.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

+1. cc @alyssawilk who has been working with this config a lot lately.

@htuch htuch added the waiting label Feb 7, 2021
@mk46

mk46 commented Feb 11, 2021

Copy link
Copy Markdown
Contributor Author

PTAL

Signed-off-by: Manish Kumar <[email protected]>
Manish Kumar added 3 commits February 25, 2021 20:45
Signed-off-by: Manish Kumar <[email protected]>
Signed-off-by: Manish Kumar <[email protected]>
@mk46 mk46 changed the title WIP: Added max_requests_connection for downstream connection. Added max_requests_connection for downstream connection. Feb 25, 2021
Signed-off-by: Manish Kumar <[email protected]>
@github-actions

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@github-actions github-actions Bot added the stale stalebot believes this issue/PR has not been touched recently label Mar 27, 2021
Manish Kumar added 2 commits April 1, 2021 19:41
Manish Kumar added 2 commits April 1, 2021 22:09
Signed-off-by: Manish Kumar <[email protected]>
Signed-off-by: Manish Kumar <[email protected]>
@mk46

mk46 commented Apr 8, 2021

Copy link
Copy Markdown
Contributor Author

/retest

@repokitteh-read-only

Copy link
Copy Markdown

Retrying Azure Pipelines:
Retried failed jobs in: envoy-presubmit

🐱

Caused by: a #14936 (comment) was created by @mk46.

see: more, trace.

Comment thread source/common/http/conn_manager_impl.cc Resolved
Manish Kumar and others added 2 commits July 15, 2021 23:19
Co-authored-by: Matt Klein <[email protected]>
Signed-off-by: Manish Kumar <[email protected]>
Signed-off-by: Manish Kumar <[email protected]>
@mk46

mk46 commented Jul 15, 2021

Copy link
Copy Markdown
Contributor Author

@mattklein123 Sorry, due to DCO missing have to force push. Please take a look. Thanks!

@mk46
mk46 requested a review from mattklein123 July 15, 2021 18:09
@mk46

mk46 commented Jul 16, 2021

Copy link
Copy Markdown
Contributor Author

/retest

@repokitteh-read-only

Copy link
Copy Markdown

Retrying Azure Pipelines:
Retried failed jobs in: envoy-presubmit

🐱

Caused by: a #14936 (comment) was created by @mk46.

see: more, trace.

Signed-off-by: Manish Kumar <[email protected]>

@mattklein123 mattklein123 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@htuch

htuch commented Jul 19, 2021

Copy link
Copy Markdown
Member

/lgtm api

@mattklein123
mattklein123 merged commit 364c821 into envoyproxy:main Jul 19, 2021
leyao-daily pushed a commit to leyao-daily/envoy that referenced this pull request Sep 30, 2021
jiangshantao-dbg pushed a commit to istio-mt/envoy that referenced this pull request May 16, 2022
jiangshantao-dbg pushed a commit to istio-mt/envoy that referenced this pull request May 16, 2022
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.

Support for max_requests_connection in downstream connections

8 participants