Skip to content

Added max_requests_per_connection for downstream connection.#14936

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

Added max_requests_per_connection for downstream connection.#14936
mattklein123 merged 45 commits intoenvoyproxy:mainfrom
mk46:mx_rq_conn

Conversation

@mk46
Copy link
Copy Markdown
Contributor

@mk46 mk46 commented Feb 4, 2021

Signed-off-by: Manish Kumar manish.kumar1@india.nec.com

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

Signed-off-by: Manish Kumar <manish.kumar1@india.nec.com>
@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
Signed-off-by: Manish Kumar <manish.kumar1@india.nec.com>
@mk46
Copy link
Copy Markdown
Contributor Author

mk46 commented Feb 11, 2021

PTAL

Signed-off-by: Manish Kumar <manish.kumar1@india.nec.com>
Manish Kumar added 3 commits February 25, 2021 20:45
Signed-off-by: Manish Kumar <manish.kumar1@india.nec.com>
Signed-off-by: Manish Kumar <manish.kumar1@india.nec.com>
Signed-off-by: Manish Kumar <manish.kumar1@india.nec.com>
@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 <manish.kumar1@india.nec.com>
@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
fix
Signed-off-by: Manish Kumar <manish.kumar1@india.nec.com>
Signed-off-by: Manish Kumar <manish.kumar1@india.nec.com>
Manish Kumar added 2 commits April 1, 2021 22:09
Signed-off-by: Manish Kumar <manish.kumar1@india.nec.com>
Signed-off-by: Manish Kumar <manish.kumar1@india.nec.com>
@mk46
Copy link
Copy Markdown
Contributor Author

mk46 commented Apr 8, 2021

/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.

@mk46 mk46 requested a review from htuch July 15, 2021 10:21
Manish Kumar and others added 2 commits July 15, 2021 23:19
Co-authored-by: Matt Klein <mattklein123@gmail.com>
Signed-off-by: Manish Kumar <manish.kumar1@india.nec.com>
Signed-off-by: Manish Kumar <manish.kumar1@india.nec.com>
Signed-off-by: Manish Kumar <manish.kumar1@india.nec.com>
@mk46
Copy link
Copy Markdown
Contributor Author

mk46 commented Jul 15, 2021

@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
Copy link
Copy Markdown
Contributor Author

mk46 commented Jul 16, 2021

/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 <manish.kumar1@india.nec.com>
Copy link
Copy Markdown
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

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

Thanks!

@htuch
Copy link
Copy Markdown
Member

htuch commented Jul 19, 2021

/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
…oxy#14936)

Signed-off-by: Manish Kumar <manish.kumar1@india.nec.com>
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
…nvoyproxy#14936) (#11)

Signed-off-by: jiangshantao <jiangshantao-dbg@qq.com>

Co-authored-by: jiangshantao <jiangshantao-dbg@qq.com>
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