[PerlChina] CGI vs php, asp

Zhu Zhu zhuzhu at perlchina.org
Thu Apr 12 02:02:18 PDT 2007


我在 dreamhost 上用 fastcgi 运行 trac 错误日志为

	FastCGI: incomplete headers (0 bytes) received from server

用 CGI 没有问题,不过速度慢

在 Fri, 13 Apr 2007 00:32:03 +0800,Beckheng Lam <beckheng at perlchina.org>  
写道:

> 现在很少讨论这个主题了吧。
> ^_^
>
> Jeff Pang wrote:
>>
>>
>> 在07-4-12,*warhua* <warhua at gmail.com <mailto:warhua at gmail.com>> 写道:
>>
>>     但现在似乎很少人用perl cgi 了。。。。为什么呢?
>>
>> Perl CGI主要是性能不怎么好吧..不过现在CPU都够快,内存也够大,网站的访问
>> 速度其实更取决于网络带宽,程序快慢那么几毫秒无关轻重.但对产品级站点来
>> 说,使用Perl CGI会带来一个问题,那就是访问量高时,CGI进程太耗资源.比如同
>> 样压力下,C写的CGI能启动1000个进程,Perl的可能就只有500个了.
>> 另外感觉大多数web程序能用CGI的,都转向PHP了.PHP在开发速度和性能2方面都
>> 兼顾的比较好.不过个人而言,我更喜欢用 modperl.:)
>>
>>     --
>>     mailto: pangj at earthlink.net <mailto:pangj at earthlink.net>
>>     http://home.arcor.de/jeffpang/
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> China-pm mailing list
>> China-pm at pm.org
>> http://mail.pm.org/mailman/listinfo/china-pm
>



-- 
http://fred.webcan.cn


More information about the China-pm mailing list