Project

General

Profile

Feature #21833

Introduce bootsnap for faster bootup times

Added by Lukas Zapletal about 1 year ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Category:
Rails
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Rails 5.2 will integrate bootsnap for faster boot loading loading. On my dev setup, this brings booting time down from 10s down to 6s, which is almost half.

http://weblog.rubyonrails.org/2017/11/27/Rails-5-2-Active-Storage-Redis-Cache-Store-HTTP2-Early-Hints-Credentials/
https://github.com/Shopify/bootsnap

Unfortunately, this cannot be used in Red Hat production because we are not using Bundler on our RPM installations there. For Debian where Bundler is in use, this should work just fine - I haven't measured speed improvement there.


Related issues

Related to Foreman - Tracker #21834: Rails 5.2 upgrade tasksClosed

Associated revisions

Revision 3784e5bc (diff)
Added by Lukas Zapletal 3 months ago

Fixes #21833 - added bootsnap development dependency

History

#1 Updated by Lukas Zapletal about 1 year ago

#2 Updated by The Foreman Bot about 1 year ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/5045 added

#3 Updated by Lukas Zapletal 6 months ago

  • Triaged set to No
  • Status changed from Ready For Testing to Rejected

Could not get this working.

#4 Updated by Michael Moll 3 months ago

  • Fixed in Releases 1.20.0 added

#5 Updated by Michael Moll 3 months ago

  • Status changed from Rejected to Closed
  • Category changed from Packaging to Rails

Also available in: Atom PDF