Project

General

Profile

Feature #29584

Preload application with Puma in production mode

Added by Ewoud Kohl van Wijngaarden 11 months ago. Updated 9 months 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 10 months ago

Fixes #29584 - Preload Puma in production

History

#1 Updated by Ewoud Kohl van Wijngaarden 11 months ago

  • Description updated (diff)

#2 Updated by The Foreman Bot 11 months 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 11 months ago

#4 Updated by Suresh Thirugnanasambandan 11 months ago

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

#5 Updated by The Foreman Bot 10 months ago

  • Fixed in Releases 2.1.0 added

#6 Updated by Ewoud Kohl van Wijngaarden 10 months ago

  • Status changed from Ready For Testing to Closed

#7 Updated by Tomer Brisker 9 months ago

  • Fixed in Releases 2.0.1 added

Also available in: Atom PDF