Deploying Rails Applications: A Step-by-Step Guide

Ezra Zygmuntowicz, Bruce Tate, Clinton Begin

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2008-05-17
  • 定價: $1,225
  • 售價: 1.6$199
  • 語言: 英文
  • 頁數: 280
  • 裝訂: Paperback
  • ISBN: 0978739205
  • ISBN-13: 9780978739201
  • 相關分類: Ruby
  • 立即出貨



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 authors who run 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 scalabilty needs.

...and more!


首先,您將學習如何建立共享、虛擬或專用主機。然後,您將學習如何為生產環境構建應用程序並每次都能一步部署。《部署 Rails 應用程序》將帶您從簡單的共享主機到高度可擴展的集群和平衡設置,並使用 Nginx 進行部署。

了解如何判斷您是否購買了足夠的硬體資源,並學習如何以系統性、合理的方式優化 Rails 專案應用程序。利用高級緩存技術,成為 Nginx 和 Mongrel 最新服務器的專家。別擔心,您還將獲得 Apache 的相關知識。



- 從源代碼控制和遷移到 Capistrano、rake 任務等等的一切。
- 直接來自 EngineYard 的作者,EngineYard 是業界最好的 Rails 主機之一。
- 如何使用 Capistrano 將應用程序部署到多個生產服務器。
- 如何為具有高度可擴展性需求的應用程序設置 Rails/Nginx/Mongrel 集群。