[dancer-users] Deploying a Dancer app with perlbrew under Apache

David Cantrell david at cantrell.org.uk
Tue May 6 12:36:59 BST 2014

On Sat, May 03, 2014 at 09:00:39AM +0300, Octavian Rasnita wrote:

> There may be very simple scripts which are used just once a week or month, 
> and not by the public but by a sysadmin for doing some settings. In those 
> cases using CGI is better than psgi, because they are more convenient to 
> create and don't stay loaded in memory and consume resources for no reason.

If it's only used once a week it won't stay loaded in memory, it'll get
swapped out if there are other tasks that need the memoryi or bits of
the filesystem to cache. Reading it back from swap will be no slower
than CGI.

If you're worried about it taking resources in the swap slice, then
you're doing your sysadminning wrong!

David Cantrell | London Perl Mongers Deputy Chief Heretic

What is the difference between hearing aliens through the
fillings in your teeth and hearing Jesus in your heart?

More information about the dancer-users mailing list