From: "Ara.T.Howard" Date: 2004-03-01T19:49:50+09:00 Subject: Re: Why ist fastcgi so slow? On 29 Feb 2004, Andreas Schwarz wrote: > Hi, > > I am using mod_fastcgi and ruby 1.8 with the following example script: > > #!/usr/local/bin/ruby > require 'cgi' > require 'fcgi' > FCGI.each_cgi do |cgi| > cgi.out{ "Test" } > end > > This is extremely slow, I get exactly 1.00 requests per second (measured > with ApacheBench). But why? what is the name of the file? foo.cgi or foo.fcgi? if it is foo.cgi apache will use the cgi handle and the fcgi module behaves as a normal (slow) cgi process... > > Andreas > -- =============================================================================== | EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov | PHONE :: 303.497.6469 | ADDRESS :: E/GC2 325 Broadway, Boulder, CO 80305-3328 | URL :: http://www.ngdc.noaa.gov/stp/ | TRY :: for l in ruby perl;do $l -e "print \"\x3a\x2d\x29\x0a\"";done ===============================================================================