Phusion Passengeに関する特集


mod_rails試食
公式サイトmodrails
Users%20guide
自慢:
参照
Introducing Phusion Passenger™
Phusion Passenger™ — a.k.a. mod_rails or mod_rack — makes deployment of Ruby web applications, such as those built on the revolutionary Ruby on Rails web framework, a breeze. It follows the usual Ruby on Rails conventions, such as “Don’t-Repeat-Yourself”.
    * Deployment is only a matter of uploading application files. No Ruby (on Rails)-specific server configuration required!
    * Built on the industry standard Apache web server.
    * Allows Ruby on Rails applications to use about 33% less memory, when used in combination with Ruby Enterprise Edition (optional).
    * Zero maintenance. No port management, server process monitoring or stale file cleanup required. Errors are automatically recovered whenever possible.
    * Designed for performance, stability and security. Phusion Passenger should never crash Apache even in case of crashing Rails applications.
    * Well-documented, for both system administrators and developers!
1つの紹介:
参照
Passengerは、Railsアプリケーションを容易かつ効率的に導入できるApache 2用のモジュールです.しかし、現在は*nixのオペレーティングシステムにしか使用できません.
Passengerのインストールは非常に簡単で、Rubyがインストールされ、Rubygemsがあるシステムに入力します.
gem install passenger

インストールが完了するまで待機し、次のように入力します.
passenger-install-apache2-module

その後、インストーラはコンパイルに必要なパッケージ(g++、Apache、APR、Rake)を自動的に検索してコンパイルし、対応するパッケージが見つからない場合は、オペレーティングシステムに基づいてどの操作を実行するかを教えてパッケージをインストールします.インストーラがコンパイルを完了すると、ApacheのプロファイルにコピーするだけでApache構成のコマンドが表示されます.
ApacheがPassengerモジュールをロードすると、Passengerは各仮想ホスト(VirtualHost)のドキュメントルートディレクトリ(DocumentRoot)が適切なRailsアプリケーションであるかどうかを自動的に検出し、そうであればRailsの実行を自動的に開始する(この自動検出はRailsAutoDetect offコマンドで閉じることができる).
他のコマンドと問題は、ユーザーズマニュアルを表示できます.
Passengerの実行メカニズムはApacheのFastCGIと比較して類似しており,要求の数に応じてRailsの実行時を動的に生成し,要求を受け入れることができ,ユーザは実行時の最大数(RailsMaxPoolSize)を自分で設定することができる.
全体的に、Passengerの導入はすべてのRails導入方式の中で最も簡単であり、ランタイムインスタンスの自動生成をサポートすることで、多くのMongrel方式の同時問題を解決することができ、将来性は明るいと信じています.Ubuntu、Gentoo、CentOS、Rpmforgeなどのパッケージウェアハウスに直接アクセスできれば、さらにインストールを簡素化することができます.唯一の欠点は、Windowsがサポートされていないことです.