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

Any plans on dockerizing this project? #17

Open
rvalenciano opened this issue Sep 7, 2021 · 1 comment
Open

Any plans on dockerizing this project? #17

rvalenciano opened this issue Sep 7, 2021 · 1 comment

Comments

@rvalenciano
Copy link

Hey 👋

Very cool idea and project, and useful. I was wondering if there are any plans on dockerizing this, as testing with different images would be easier, and also we could share resources easily between benchmarks. I also see some open issues regarding installation that might benefit from it.

Best!

@noahgibbs
Copy link
Owner

I've looked at it a bit. Docker has some good points - reproducible installs, mainly. It also has some difficult points: the performance numbers are significantly affected by it, which means it's not measuring how most people actually deploy Rails apps.

It actually makes it harder to configure most one-off benchmarks since you have to write a Docker file to make changes in an automated way instead of just making the change once (e.g. new Ruby version - okay, but now you're maintaining an install script for that Ruby.) It's the classic problem with automation, where doing it once gets harder. So for the articles I was writing for AppFolio, Docker would have made all of that more difficult and a lot less would have happened.

Docker would probably be the right choice going forward since I'm now putting a lot less effort into RRB. And Docker would be a lower maintenance burden for a benchmark that would no longer be used much for interesting new results. But Docker is a substantial rewrite of the existing Packer infrastructure, and I'm currently putting a lot less effort into RRB.

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

No branches or pull requests

2 participants