Best practices for new Rails deployments on Linux?

后端 未结 9 1012
刺人心
刺人心 2021-01-30 13:52

I\'ve used straight Mongrel, I\'ve used Mongrel clusters behind Apache, I\'ve looked at Thin, and I\'m becoming very intrigued by Passenger. I\'ve looked at Nginx, too. I\'ve lo

9条回答
  •  终归单人心
    2021-01-30 14:40

    We have switched fron NginX+Mongrel to Passenger.

    I fully believe that Passenger is going to be the new standard for rails, despite NginX and Mongrel cluster being endorsed by some very smart people. Recent advances in Passenger have really propelled it forward.

    Our current configuration is something like this:

    Web servers

    • Ubuntu 8.04 LTS
    • Phusion Passenger on Apache2
    • MRI Ruby 1.8.6 and friends (form apt)
    • Ruby Gems 1.3.0 (Installed from source)

    Database servers

    • Centos 5
    • MySQL Cluster (we just switched to this, but it is promising)

    Having standardized on the exact linux distro we've been able to write Capitrano recipes to help deployment (slight variations in configuration have been the source of MANY service outages) and otherwise simplify our lives.

提交回复
热议问题