Project

General

Profile

Feature #29584

Preload application with Puma in production mode

Added by Ewoud Kohl van Wijngaarden over 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Performance
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Since we're using clustered mode, we can use preloading.

In clustered mode, Puma can "preload" your application. This loads all the application code prior to forking. Preloading reduces total memory usage of your application via an operating system feature called copy-on-write (Ruby 2.0+ only).


Related issues

Related to Foreman - Feature #29148: Make puma defaultClosed
Related to Installer - Tracker #28999: Deploy Foreman with Puma as the application server by defaultClosed

Associated revisions

Revision 19715ec7 (diff)
Added by Ewoud Kohl van Wijngaarden over 2 years ago

Fixes #29584 - Preload Puma in production

History

#1 Updated by Ewoud Kohl van Wijngaarden over 2 years ago

  • Description updated (diff)

#2 Updated by The Foreman Bot over 2 years ago

  • Assignee set to Ewoud Kohl van Wijngaarden
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/7600 added

#3 Updated by Ewoud Kohl van Wijngaarden over 2 years ago

#4 Updated by Suresh Thirugnanasambandan over 2 years ago

  • Related to Tracker #28999: Deploy Foreman with Puma as the application server by default added

#5 Updated by The Foreman Bot over 2 years ago

  • Fixed in Releases 2.1.0 added

#6 Updated by Ewoud Kohl van Wijngaarden over 2 years ago

  • Status changed from Ready For Testing to Closed

#7 Updated by Tomer Brisker about 2 years ago

  • Fixed in Releases 2.0.1 added

Also available in: Atom PDF