pkgsrc/www/SpeedyCGI/DESCR

17 lines
715 B
Text
Raw Normal View History

2005-05-23 10:26:03 +02:00
SpeedyCGI is a way to run perl scripts persistently, which can make them run
much more quickly. A script can be made to to run persistently by changing
the interpreter line at the top of the script from:
2007-11-23 00:00:39 +01:00
#!${PREFIX}/bin/perl
2005-05-23 10:26:03 +02:00
to
2007-11-23 00:00:39 +01:00
#!${PREFIX}/lib/perl5/vendor_perl/bin/speedy
2005-05-23 10:26:03 +02:00
After the script is initially run, instead of exiting, the perl interpreter
is kept running. During subsequent runs, this interpreter is used to handle
new executions instead of starting a new perl interpreter each time. A very
fast frontend program, written in C, is executed for each request. This fast
frontend then contacts the persistent Perl process, which is usually already
running, to do the work and return the results.