fastCGI

What is fastCGI? Is it different from CGI? How is it used in the industry?
heuerAsked:
Who is Participating?
 
bebonhamConnect With a Mentor Commented:
fastCGI is kind of like turning your script into a unix daemon!!

it's pretty cool.

anyways, you can use it because it's part of the default cgi distribution so try this

#bang
use whatever;
use CGI::Fast;


while(new CGI::Fast)
{
# rest of script as it was before

}


it is not different from CGI, instead, it makes YOUR cgi script listen at a port on unix, when a CGI request comes in it immediately passes those params to that script, WITHOUT the script loading, because it is already loaded.

hope that helps.

Bob
0
 
bebonhamCommented:
I would only use it if I had a slow script .. which I dont :)


but it basicially speeds your script be preloading any modules you use.

the operations themselves are at regular speed.
0
 
addadyCommented:
Allso check mod_perl and speedyCGI.
Is you don't have admin access to the server SpeedyCGI
is the only solotion for you.

0
 
MoondancerCommented:
Please update and/or finalize this question.  
Moondancer
Community Support Moderator @ Experts Exchange
0
 
Computer101Commented:
Comment from expert accepted as answer.

Thank you
Computer101
E-E Moderator
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.