最近在Apache2.4上实践使用c/c++编写高性能cgi程序,在apache上配置mod_fastcgi模式的时候按照步骤始终不能成功,一直卡在mod_fastcgi的make上。提示错误如下(错误内容有省略): [code="plain"] /usr/local/apache/build/libtool --silent --mode=compile gcc -s... 続きを読む
外人さんを中心に、FastCGIいいよ!説を何回か聞いたことがあったので、少し触ってみました。 FCGIを使う事のメリット jsheryさんのスライドにFastCGIをつかうことの利点が少し書かれています。 http://wiki.perlassociation.org/seminar/2009-04-21.attachment... 続きを読む
package FCGI::ProcManager::Debug; use strict; use warnings; use base qw/FCGI::ProcManager/; sub pm_manage { my $res = shift->SUPER::pm_manage(@_); # manager does not return pm_manage, so below code should run in server only $0 = 'perl-fcgi (w... 続きを読む
Trac を FastCGI で使用する バージョン 0.9 以降、 Trac は FastCGI インタフェースに対応するようになりました。 mod_python 同様、 Trac を常駐させるため、外部の各リクエストに対して新しいプロセスを生成する CGI インタフェースよりも処理速度が速いです... 続きを読む
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... 続きを読む
ざっと試してみた。 ab2 -k -c 10 -n 10000 http://localhost/fcgi/tiny-cgi2.fcgiとして比較。 結果としてはデフォルトオプションならmod_fcgidが50%ほど速いということで。 それ以上にlighttpdとかは速いんだけど。 Webサーバ側でFastCGIのプロセス管理やるよ... 続きを読む
更新情報 2008-09-11 0.44β公開 バージョン情報 0.44 (2008-09-16) 0.43 (2008-06-11) 0.42 (2008-06-04) 0.41 (2008-01-28) 0.40 (2008-01-25) 0.39 (2007-11-29) TripletaiLとは TripletaiL とは、Perl環境で日本語のウェブアプリケーションを構築するための... 続きを読む