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

Add support to configure the number of web workers for puma #124

Merged
merged 3 commits into from
Jan 27, 2023

Conversation

zhall0624
Copy link
Contributor

This PR fixes an issue my team was having with resource consumption for non production environments, with two replicas and 4 workers per replica an app that operates at 500MB of memory usage consumes 4GB. I've added an option to specify the number of workers that puma spawns so users have more granular control over their webservers and their resource consumption. I've left the default number of workers at 4 to prevent any breaking changes to user's configs.

@camertron
Copy link
Member

Awesome, thanks for this @zhalltyemill 😄 Could you have a look at the Sorbet failures? Otherwise I think this looks good 👍

@zhall0624
Copy link
Contributor Author

Yep sorry about that. I'll get those fixed up still getting the hang of sorbet.

@camertron camertron merged commit 2bf333d into getkuby:master Jan 27, 2023
@camertron
Copy link
Member

Integration tests are passing in master, so I have published v0.19.0 🎉

@zhall0624
Copy link
Contributor Author

awesome, thanks!

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