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

chore: Tweak gunicorn config #530

Merged
merged 4 commits into from
Jan 9, 2025
Merged

Conversation

kesara
Copy link
Member

@kesara kesara commented Jan 8, 2025

Number of worker connections is unset. Default is 1000.
Keep alive time out is unset. Default is 2.
Removed server obfuscation header.
Removed obsolete X-CLOUDFRONT setting.
This updates number of workers and threads to match the number of core.

Number of workers set to 8 (2* number of cores).
Number of worker connections is unset. Default is 1000.
Keep alive time out is unset. Default is 2.
Removed server obfuscation header.
@kesara kesara force-pushed the chore/tweak-gunicorn branch from 67defd6 to a92f2e9 Compare January 8, 2025 22:59
@kesara kesara changed the title chore: Tweak gnuicorn config chore: Tweak gunicorn config Jan 8, 2025
@kesara kesara force-pushed the chore/tweak-gunicorn branch from 3f72b84 to 0cc0a2b Compare January 9, 2025 03:58
Copy link
Member

@jennifer-richards jennifer-richards left a comment

Choose a reason for hiding this comment

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

Looks reasonable to me. It might be worth adding a comment about the rationale behind the numbers / the intention to adjust based on performance to try to optimize them, but it's up to you and your level of pessimism.

@kesara
Copy link
Member Author

kesara commented Jan 9, 2025

Looks reasonable to me. It might be worth adding a comment about the rationale behind the numbers / the intention to adjust based on performance to try to optimize them, but it's up to you and your level of pessimism.

There's some explanation in the commit message. 0cc0a2b

@kesara kesara merged commit 8b3323a into ietf-tools:main Jan 9, 2025
5 checks passed
@kesara kesara deleted the chore/tweak-gunicorn branch January 9, 2025 19:42
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.

2 participants