[cgiapp] Debugging Performance with CGI::Application Using Firebug and Time::HiRes

Mark Stosberg mark at summersault.com
Fri Dec 31 17:04:45 EST 2010


> Plack eliminates the start-up time of each invocation, as does any other
> persistent environment (Fast CGI, mod_perl, ...):

Plack only eliminates the start-up time if you choose a persistent
backend, including a Plack server. Plack still allows you to run scripts
as a CGI.

If you choose to run one of the built-in plack servers, then you need to
be prepared to manage running a service on a port. If you are on shared
hosting where something is already already on port 80, running a second
web server inconvenient to impossible.

If you are targeting deployment on CGI, mod_perl 1 or 2, or FastCGI,
native CGI::Application may be simpler to use.

     Mark



More information about the cgiapp mailing list