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

[backport -> release/3.3.x] perf(proxy): use more reasonable keepalive default value for Nginx tuning #12531

Merged
merged 2 commits into from
Feb 6, 2024

Conversation

chobits
Copy link
Contributor

@chobits chobits commented Feb 5, 2024

backport #12223
also backport this PR: https://github.com/Kong/kong-ee/pull/6507

Summary

Bumped default values of nginx_http_keepalive_requests and upstream_keepalive_max_requests to 10000.

Checklist

  • The Pull Request has tests
  • A changelog file has been created under changelog/unreleased/kong or skip-changelog label added on PR if changelog is unnecessary. README.md
  • There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Issue reference

Fix KAG-3360

@chobits chobits changed the title Backport 12223 to release/3.3.x [backport -> release/3.3.x] perf(proxy): use more reasonable keepalive default value for Nginx tuning Feb 5, 2024
@chobits chobits added the cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee label Feb 6, 2024
dndx and others added 2 commits February 6, 2024 11:46
…11515)

Bumped the default value of `upstream_keepalive_pool_size` to `512` and `upstream_keepalive_max_requests` to `1000`.

FTI-4868
…ing (#12223)

Bumped default values of `nginx_http_keepalive_requests` and
`upstream_keepalive_max_requests` to `10000`.

KAG-3360

---------

Co-authored-by: Datong Sun <[email protected]>
(cherry picked from commit f7e6eee)
@chobits chobits force-pushed the backport-12223-to-release/3.3.x branch from 49acfe6 to 4e44268 Compare February 6, 2024 03:46
@@ -0,0 +1,3 @@
message: Bumped default values of `nginx_http_keepalive_requests` and `upstream_keepalive_max_requests` to `10000`.
type: performance
scope: Configuration
Copy link
Contributor Author

@chobits chobits Feb 6, 2024

Choose a reason for hiding this comment

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

Although this PR modifies the default value of NGINX, it doesn't have a significant impact on the client's side. Therefore, I don't believe we need to categorize this feature as a breaking_change.

Typically, users won't notice this alteration. However, under stressful testing scenarios, they might observe an increase in NGINX's performance, specifically in RPS

@windmgc windmgc merged commit 2f9ee04 into release/3.3.x Feb 6, 2024
24 checks passed
@windmgc windmgc deleted the backport-12223-to-release/3.3.x branch February 6, 2024 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee core/templates size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants