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

Spike: Install and set up bootboot #21

Closed
2 tasks
jillpe opened this issue Aug 3, 2023 · 6 comments
Closed
2 tasks

Spike: Install and set up bootboot #21

jillpe opened this issue Aug 3, 2023 · 6 comments
Assignees
Milestone

Comments

@jillpe
Copy link

jillpe commented Aug 3, 2023

Summary

Assess bootboot versus next rails

Acceptance Criteria

  • A decision is made on which of the above to move forward with
  • A follow up ticket is created
@ShanaLMoore
Copy link

Railsconf Workshop used next_rails

@ShanaLMoore
Copy link

ShanaLMoore commented Aug 7, 2023

What version of rails are we upgrading to?

ShanaLMoore pushed a commit to WGBH-MLA/ams that referenced this issue Aug 7, 2023
In this commit we added the bootboot gem to the Gemfile and ran `bundle install && bundle bootboot`.

ref: https://github.com/Shopify/bootboot#installation

Issue:
- notch8#21
@ShanaLMoore
Copy link

branch started: i21-install-bootboot

@jillpe jillpe changed the title Install and set up bootboot Spike: Install and set up bootboot Aug 7, 2023
@ShanaLMoore
Copy link

ShanaLMoore commented Aug 7, 2023

Shana to have a convo with Steven. Which tool is better and why? Prod dev is using bootboot.

@ShanaLMoore ShanaLMoore self-assigned this Aug 7, 2023
@ShanaLMoore
Copy link

ShanaLMoore commented Aug 7, 2023

next_rails vs bootboot

  • ultimately they accomplish the same thing using a similar dual boot method.

Next Rails

Resources:

  1. Railsconf workshop - https://www.fastruby.io/rc2022
  2. Getting Ready for Rails 6.0: How to Dual Boot
PROS CONS
More Feature Rich harder to implement per this article

BootBoot

Resources:

  1. https://blog.grio.com/2022/06/rails-conference-2022-and-the-dual-boot-upgrade-strategy.html
  2. Get Bootboot to work on Rails 4.x in deployment environments with Docker
  3. Zero Downtime Upgrades

Next Rails vs BootBoot

PROS CONS
Used by Scientist.com prod dev team ---
Endorsed by Steven and RailsCore team ---
Easier to implement per this article Less feature rich

@ShanaLMoore
Copy link

Per meeting with steven:

bootboot:
Doesn’t impact main code
Ref env variable - easy
Bundler plugin
Easy to see what’s happening - produces gemfile.newt so easy to compare
used by shopify

next_rails:
has more features that aren't necessary

We'll proceed with bootboot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants