タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

fastcgiに関するt_horieのブックマーク (2)

  • mod_fcgid - Apache HTTP Server Version 2.5

    Summary Any program assigned to the handler fcgid-script is processed using the FastCGI protocol; mod_fcgid starts a sufficient number instances of the program to handle concurrent requests, and these programs remain running to handle further incoming requests. This is significantly faster than using the default mod_cgi or mod_cgid modules to launch the program upon each request. However, the prog

    t_horie
    t_horie 2009/12/24
    fastcgi
  • Apache/FastCGI - Linux Tips

    mod_perl, mod_ruby などが、HTTPDのモジュールとしてプログラム(perl,ruby)を動かすのに対し、FastCGI は、HTTPDとは別のプロセスとしてプログラムを起動し、ソケットを介して通信する仕組みになっているらしい。起動されたプログラムは、CGIと違い、処理終了後もそのまま留まる。別サーバに置くことも出来るので、負荷分散も可能。 どちらも、プログラムの起動を早くする仕組みであることに違いはないが、perl, ruby, phpなどの複数のスクリプトを扱う場合、全てを Apache のモジュールとしてしまうと HTTPD が肥大化してしまい、静的コンテンツへのアクセスも重くなるなどのことが起こるため、そういった場合に有効なのかもしれない。一方、ノーマルのCGIだと、プログラムの起動が遅いし。 私の場合、mod_rubyでは tdiaryの2つのドキュメントスタイ

  • 1