[cgiapp] Debugging Performance with CGI::Application Using Firebug and Time::HiRes
Ron Savage
ron at savage.net.au
Fri Dec 31 18:17:22 EST 2010
Hi Mark
On Fri, 2010-12-31 at 17:04 -0500, Mark Stosberg wrote:
> > 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.
Perhaps, but there's no point in using Plack in such a way as to
sabotage its advantages, so I didn't spell out that course of action.
--
Ron Savage
http://savage.net.au/
Ph: 0421 920 622
More information about the cgiapp
mailing list