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

Rails: Auto-tune unicorn and puma #2850

Merged
merged 1 commit into from Jun 8, 2017

Conversation

Projects
None yet
2 participants
@nateberkopec
Copy link
Contributor

nateberkopec commented Jun 7, 2017

Copy-pasted the script used for Sequel.

Is there a place to keep code which can be used across frameworks? For Ruby, all frameworks can configure Puma, Unicorn, and Passenger in almost exactly the same way, but right now they all do it differently, which leads to more abandoned frameworks running at massively sub-optimal settings. It would be better if all the frameworks could use this auto-tune script without having to copy-paste it between the projects. Is there a good place to put code like that? I guess I could ship a Rubygem but it would be better if it just lived in this repository.

@nbrady-techempower

This comment has been minimized.

Copy link
Member

nbrady-techempower commented Jun 7, 2017

Hey @nateberkopec

There's /toolset/setup/linux/ and then subdirectories databases, languages, frameworks, systools, etc. If you put something like unicorn.sh in one of those directories, you can call it in any setup scripts by doing fw_depends unicorn

@nateberkopec

This comment has been minimized.

Copy link
Contributor

nateberkopec commented Jun 7, 2017

Thanks @nbrady-techempower. I'll leave that for a separate PR.

@nbrady-techempower nbrady-techempower merged commit f93a1bd into TechEmpower:master Jun 8, 2017

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment