タグ

fastcgiに関するkomagataのブックマーク (3)

  • Netsphere Laboratories: FastCGI for Ruby on Rails

    (2006.5.14新規作成) Ruby on Railsアプリケーションは、WEBrick, CGI, FastCGI, mod_rubyで走るが、CGIはかなり遅い。秒単位で待たなければならない。FastCGIを使うと、CGIに比べてアプリケーションの反応を大幅に早くできる。 しかし、FastCGIは活発にはメンテナンスされていないので、インストールがやや難しい面がある。Apache 2.2では、そのままではコンパイルもできない。 インストールの手順をメモしておく。 FastCGIの仕組み FastCGIは、Apacheと別プロセスのfcgiが常駐し、このプロセスでアプリケーションを動かす。Railsだと、dispatch.fcgiもfcgiとはさらに別のプロセスとして常駐する。 CGIの場合でsuEXECを有効にしていると、指定のユーザでアプリケーションを実行できるが、FastCGI

  • AWDwR "Chapter22 Deployment and Scaling" - きんきん日記

    この章、英語わかりにくひ…。 Picking a Production Platform まずはWEBrickとApacheとlighttpdの3つのWebサーバについて。 WEBrickはRubyにバンドルされているピュアRubyのWebサーバで、特に速くはないしスケーラブルでもないけど実行させるのがメッチャ簡単。何千ものユーザに同時に利用されるようなアプリケーションでなければ最初の選択としてはWEBrickが適している。それにWEBrick上で開発したアプリケーションは変更することなしにApacheやlighttpdに移行することができる。 Apacheは万能でまあまあ速くオープンソースのWebサーバとしては独壇場なので、Railsアプリケーションを実行させる環境としては最も人気がある。Apacheの場合はmod_fastcgi(Apache2.0ではmod_fcgid)を使ってFas

    AWDwR "Chapter22 Deployment and Scaling" - きんきん日記
    komagata
    komagata 2008/03/13
    railsでのWebサーバーいろいろ
  • The mod_fcgid Home Page, mod_fcgid is an Apache2 module for FastCGI protcol

    Welcome to mod_fcgid home What is mod_fcgid? It is a binary compatibility alternative to Apache module mod_fastcgi. mod_fcgid has a new process management strategy, which concentrates on reducing the number of fastcgi server, and kick out the corrupt fastcgi server as soon as possible. Goals For the Implementation Binary compatibility to mod_fastcgi You don't need to recompile your ex

  • 1