in reply to Re^2: CGI or CGI::Fast
in thread CGI or CGI::Fast

Plack is, of course, an interface layer ... it provides a simple, consistent interface for you to write to, and then a set of personality-modules which you select according to the environment.   (One of those is, “ordinary CGI.”)   If your hosting service does not and cannot provide FastCGI, and the omission is business-important for you, just move to a different provider and change where your DNS entry goes. . .

But remember that it might not actually matter.   Most operating systems are “lazy” about getting rid of recently-used code segments, in anticipation that the same programs are often used repeatedly.   (The notion of “locality of reference” also has a corollary with regard to which programs are being requested.)

Replies are listed 'Best First'.
Re^4: CGI or CGI::Fast
by Anonymous Monk on Sep 10, 2012 at 15:25 UTC

    Thanks, sundialsvc4!

    It's shared hosting, which I think is the norm not to allow FastCGI.

    I could opt for the VPS, but that's substantially more expensive than shared hosting and isn't a viable option.

    I read up about Plack a little and found it to be quite abstract and I'm not immediately clear how it can help in my case - which is to move from ordinary CGI to faster CGI. Plack might not even be an option in a shared hosting environment, just like FastCGI.