JonHoyle.com Mirror of MacCompanion
http://www.maccompanion.com/macc/archives/August2008/Books/DeployingRails.htm

macCompanion MyAppleSpace Forum Archives Products Services About Us FAQs

Resources

                                           

Consultants

Developers

Devotees

Downloads

"Foreign" Macs

Forums

Hearsay

Link Lists

Mac 3D

Macazines

Mac Jobs

MUG Shots

News

Radio

Reviews

Think Different

Training

 

Deploying Rails Applications: A Step-by-Step Guide

Reviewed by Robert Pritchett

 

 

Authors: Ezra Zygmuntowicz, Bruce Tate, and Clinton Begin

http://www.pragprog.com/titles/fr_deploy/deploying-rails-applications

Released: May 2008

$35 USD

Pages: 280

ISDN 13: 9870978739201

 

Strengths: Shows how to deploy Ruby on Rails applications by those who have done it.

 

Weaknesses: None found.

 

 

 

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.