Until now, the information you needed to deploy a Ruby on Rails application in a production environment has been fragmented and contradictory. This book changes all of that by providing consistent, levelheaded advice you can trust. You’ll get the inside angle from those that have built, deployed, and maintained some of the largest Rails apps in production, anywhere.
Out of Print
This book is currently out of print.
About this Book
- 280 pages
- Published:
- Release: P1.0 (2008-06-05)
- ISBN: 978-0-9787-3920-1
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.
- ...and more!
Contents and Extracts
- Table of Contents
- Introduction
- Refining Applications for Production
- Shared Hosts
- Virtual and Dedicated Hosts
- Capistrano
- Chapter 6: Managing Your Mongrels
- Scaling Out
- Deploying on Windows
- Performance
- Frontiers
- An Example ngnix Configuration


