Hi there,
On Tue, 11 Jul 2000, Rich Lemanski wrote:
> I have been tasked to show the performance differences between Perl
> CGI scripts and mod_perl scripts running on an Apache web server on
> a small isolated network.
There is a lot of good stuff about this in the Guide
http://perl.apache.org/guide
> I am assuming mod_perl will outperform CGI if the scripts are well
> written.
That's the idea.
> I am not sure where to begin in regards to the network aspect of the
> testing. I have been reading the Apache/mod_perl FAQ/How-To's on
> the net and studying Perl from O' Reilly's Learning Perl and Perl
> Programming.
Stick with the reading. You have at least another month of it to do.
> I understand that if the Apache server is running:
>
> # apachectl start --> starts Apache
Normally you'd use `restart' if the server is already running.
> # ps -ef | grep httpd --> starts about 10 httpd processes by
> default to handle connections
>
> Then I evoke a Perl CGI script on the same system:
>
> # perl cgi_test.pl --> the external Perl interpretor processes
> the script and passes it to the Apache web server to be parsed.
I'm afraid none of this makes sense. A Unix book might help you.
73,
Ged.