On Thu, Sep 17, 2009 at 10:05 AM, Perrin Harkins <phark...@gmail.com> wrote: > On Wed, Sep 16, 2009 at 9:42 PM, Jenn G. <practicalp...@gmail.com> wrote: >> I think the more exact statement should be, mod_perl is compiled perl, >> mod_perl is very fast. >> But perl CGI...I must say it's very slow. > > Well, you can say CGI is slow, but Perl CGI is very fast compared to > the alternatives. Have you ever tried Java CGI? Or PHP CGI? They're > not fast.
but nobody run Java or PHP as CGI. the only thing I heard is somebody run php as fastcgi under lighttpd. > > Also, I don't like to tell people that mod_perl is "compiled" because > it's really no more compiled than any other perl script. mod_perl loads and compiles perl scripts only once, but CGI loads and compiles them every time for each request. Am I right? thanks.