./www/SpeedyCGI, Speed up perl scripts by running them persistently

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2010Q4, Version: 2.22nb5, Package name: SpeedyCGI-2.22nb5, Maintainer: pkgsrc-users

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:

#!${PREFIX}/bin/perl

to

#!${PREFIX}/lib/perl5/vendor_perl/bin/speedy

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.


Required to run:
[lang/perl5]

Master sites:

SHA1: 155437a83eedc2cb1ae2b9f93a731a0cfb7ce7f2
RMD160: 90bc10281f4380d6d9e3b376ce385567fb3d165d
Filesize: 148.385 KB

Version history: (Expand)