Google Answers Logo
View Question
 
Q: Improve performance of Perl web app ( No Answer,   3 Comments )
Question  
Subject: Improve performance of Perl web app
Category: Computers > Programming
Asked by: bsanforth3-ga
List Price: $30.00
Posted: 09 Nov 2006 11:22 PST
Expires: 01 Dec 2006 12:13 PST
Question ID: 781414
I run an Apache web server, and I recently added some perl CGI scripts
to run a small, interactive part of my web site. My problem is that my
web server is an old computer that gets easily overworked. When more
than a few people access the CGI pages at the same time, the site
starts to noticably slow down. I spent some time trying to make the
perl scripts more efficient, but after that effort, I became convinced
that the script itself can't be made much faster. I then turned to the
Apache documentation to see if I could tweak it to run scripts faster,
but no luck. Any ideas for how to make perl scripts run faster on my
server? Thanks.
Answer  
There is no answer at this time.

Comments  
Subject: Re: Improve performance of Perl web app
From: frankcorrao-ga on 10 Nov 2006 10:51 PST
 
I'd need to see the scripts to see if I think there are any real
speedup opportunites in them.  Otherwise your best best is just to
look for standard system performance tuning stuff.  I assume you are
running linux if it is apache on a small server?

http://www.linuxforums.org/desktop/linux_performance_tuning.html

The reality is though that apache is expensive and perl is expensive. 
You probably just need more horesepower.  There is only so much
optimization that can be done.
Subject: Re: Improve performance of Perl web app
From: bozo99-ga on 10 Nov 2006 14:08 PST
 
I largely agree with frankcorrao-ga.

Then there's apache's mod_perl as a possibility.  http://perl.apache.org/
Subject: Re: Improve performance of Perl web app
From: mofoq-ga on 10 Nov 2006 18:05 PST
 
can some of these perl scripts be converted to php (fast-cgi) or to a
simple binary cgi executable?

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy