3 ms·
For developers running a small vps or any kind of server in which memory is a scarce resource, I highly recommend puma. I needed about 5-6 passenger processes
by trustfundbaby 13y ago
For developers running a small vps or any kind of server in which memory is a scarce resource, I highly recommend puma.
I needed about 5-6 passenger processes in my app to service requests in a timely fashion moving to puma essentially cut down the processes I needed to run to 1 ... saving me about 300MB of RAM, but not only did it save me memory, performance was better than with Passenger.
Granted, I miss the ease of just typing
touch tmp/restart
to reboot my app, and I had to set up Apache (then later Nginx) proxying to get it going but it was well worth it.
PS: here is my writeup on how you can get puma up and running with your Apache/Passenger setup in less than an hour to try it out http://www.concept47.com/austin_web_developer_blog/rails/how-to-try-out-puma-with-apache-proxy-right-now/ http://www.concept47.com/austin_web_developer_blog/rails/how...
- swoker 13y agoYou can restart puma pretty easy too with sudo kill -SIGUSR2 `cat tmp/puma/pid`
- FooBarWidget 13y agoIf memory is your main concern, then Phusion Passenger Enterprise uses even less memory than Puma. :) We have a discount for cash-strapped startups, students and educational institutions.
- trustfundbaby 13y agoyeah, but puma is free :)