Deploying Rails Applications: A Step-by-Step Guide
Reviewed by Robert Pritchett
Introduction
First youÕll learn how to build out your shared, virtual, or
dedicated host. Then, youÕll see how to build your applications for production
and deploy them with one step, every time. Deploying Rails Applications will
take you from a simple shared host through a highly scalable clustered and
balanced setup with Nginx.
See how to tell whether youÕve bought enough firepower, and
learn how to optimize your Rails projects applications in a systemic, rational
way. Take advantage of advanced caching techniques, and become and expert with
the latest servers in Nginx and Mongrel. DonÕt worry. YouÕll get a dose of
Apache too.
Not only will you learn how to configure your production
environment, youÕll also see how to monitor it with free, automated tools that
can restart your servers when the memory use gets too high for comfort. YouÕll
see how to take a performance baseline, profile for bottlenecks, and solve the
most common performance problems youÕre likely to see.
YouÕll learn:
- Everything
from source control and migrations to Capistrano, rake tasks and beyond.
- Directly
from an author who runs EngineYard, one of the best Rails hosts in the
business.
- How to
deploy your applications to multiple production servers with a single
command using Capistrano.
- How to
setup a Rails/Nginx/Mongrel cluster for applications with high scalability
needs.
What I Learned
I learned how to cluster MySQL, knowing full well it is not
optimized for doing so. I learned that there is an option known as sharding
(splitting up a database into groups of cohesive data).
Conclusions
Learn how to deploy apps in Ruby on Rails.
|