4 ms·
So, is your preferred config still nginx + mongrels? Have you experimented with nginx + passenger or nginx + unicorn?
by callmeed 17y ago
So, is your preferred config still nginx + mongrels? Have you experimented with nginx + passenger or nginx + unicorn?
- patio11 17y agoI experimented with Nginx + passenger and had little success in the time I had budgeted that weekend (almost certainly due to my own failings). That is my max geekout budget. After that I have to have a reason to rip out stuff and I've got no compelling reason to rip out Mongrel (nota bene: I typically deploy only one or two Rails applications per VPS, with the expectation that they'll essentially monopolize resource usage. If my deployments resembled that of a shared host who could have ~600 forgotten Build A Blog In 15 Minutes apps sitting around waiting for someone to access them again, I'd have figured out Passenger by now or paid someone to figure it out for me.)
- swombat 17y agoI found the main benefit of Passenger in a single-app setting is (much) easier initial setup. Give it a try next time you set up a server. It'll save you about 30 minutes to an hour of screwing around with mongrel cluster configs and nginx proxying.
- steveklabnik 17y agoHow long ago did you try it? I think I started using passenger in the past....3 months? The version of install-passenger-nginx-module I used would compile your nginx for you, and set up the configuration. You just have to change the path to your public directory.
- tptacek 17y agoPassenger is worth figuring out, especially if you plan to do more Rack apps in the future. Forget the performance. It's easier to set up (at least, the second time) and it's easier to manage.
- trevorturk 17y agoI've been using passenger + nginx very happily for a few months now. I'd highly recommend giving it another shot.
- cheald 17y agoI use nginx+passenger and love the heck out of it. Trivial to set up, blazing fast, rock solid, and easy to administrate. I've switched away from Apache for everything except my dev server, and haven't looked back.