This is slightly old news for some (30 days old to be exact) but I see that Nick Sieger has posted his RailsConf slides on deploying using JRuby. The other mod_rails : Easy Rails Deployment with JRuby gives an overview of what you need to do to convert your existing Rails app to run under JRuby as well as an introduction to Warbler which is a gem which lets you package your Rails application as a WAR file ready for deployment to a Java app server like Glassfish or JBoss.
Here’s another interesting presentation featuring Amazon EC2. Entitled Rails on AWS and authored by Jonathan Weiss of Wissensmanagement GmbH, it looks like it was presented at RubyFools 2008 in Copenhagen.
Here’s another new deployment option which might interest those of you deploying to Amazon’s EC2 service. Rubber lets you deploy to one or more machines in the cloud and add more as you need them (with a role-based model similar to Capistrano’s).
They have a quickstart if you want to get a feel for how you’d use it before picking it up.
I came across a novel deployment option this week. Fuzed lets you run your Rails application behind YAWS, a high-performance Erlang web server. At least that’s what I think it does. The description over at Github is slightly different in that it doesn’t specifically mention YAWS but it may still be in there.
Scott Chacon has a good video over at Join the Conversation showing Fuzed in action in conjunction with Amazon EC2 - well worth a watch. The scripts he uses in the video are up on github.
If you are deploying your Rails application to shared hosting solution or a VPS you probably want to be frugal with the amount of resources you are using (indeed this is often the case with other deployment options as well).
One way to reduce the footprint of your application might be to take a look at Phusion’s new Ruby Enterprise Edition. They claim it uses 33% less memory (on average) than vanilla Ruby when used with their recently released mod_rails / Phusion Passenger Apache module.
I hadn’t looked at it yet since the inclusion of “Enterprise” in the name made me assume that this was a (costly) commercial offering - not that working for commercial gain is a bad thing !
Mark Watson has a write-up over on DevX of his preferred Rails development setup - including an explanation of how he deploys his application from Netbeans on his Macbook to a Linux server running ngnix, memcached and mongrel [since Zed Shaw "went nuclear" in January the mongrel site has gone 404]
Recent Comments