Nginx/Passenger: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 48: Line 48:
</kroki>
</kroki>
|}
|}
|}
==Passenger » Why==
{|class='wikitable mw-collapsible'
!scope='col' style='text-align:left' colspan='2'|
Passenger » Why
|-
|valign='top' style='width:50%'|
{|class='wikitable'
!scope='col'| Feature
!scope='col'| Nginx + Passenger
!scope='col'| Nginx + Puma
|-
| Ease of Setup      || High (Single config file)                || Medium (Need to manage Puma service)
|-
| Process Management || Automatic (Spawns/restarts apps)        || Manual (Requires Systemd or Monit)
|-
| Memory Management  || Excellent (Auto-kills bloated processes) || Good (Manual tuning required)
|-
| Multi-Language    || Supports Ruby, Python, Node.js        || Ruby only
|}
|valign='top' style='width:50%'|
|}
|}



Revision as of 10:40, 6 February 2026

sudo apt-get update;echo
sudo apt install -y nginx

Diagram

Passenger » Why

Passenger » Why

Feature Nginx + Passenger Nginx + Puma
Ease of Setup High (Single config file) Medium (Need to manage Puma service)
Process Management Automatic (Spawns/restarts apps) Manual (Requires Systemd or Monit)
Memory Management Excellent (Auto-kills bloated processes) Good (Manual tuning required)
Multi-Language Supports Ruby, Python, Node.js Ruby only

References

References