At 12:09 PM 06/10/02 -0400, Drew Taylor wrote:
If I may chirp in here, at the link below the text for Apache::Registry
reads:
"The standard Apache::Registry module can provide 100x speedups for your existing CGI scripts and reduce the load on your server at the same time. A few changes to the web server's config is all that is required to run your existing CGI scripts at lightning speed."
Wouldn't it be better to say "up to 100x speedups"? That way when someone converts and doesn't get the huge speedup promised they aren't upset.
+1
I agree. That "100x" kind of bugged me since it's so dependent on other things. People often run more complicated applications than "Hello World!"
That's also why I added that little benchmark of:
"So how much faster do scripts run under Apache::Registry? Obviously, it depends on the script, but the hello.cgi script above ran at 7.3 requests per second as a CGI script and 243.0 requests per second with Apache::Registry."
I suggest that we don't use absolute numbers without explaining what are they and how they should be used. If you can change it improved by 30 times on my machine, that would be better. Why? Because I'm sure I can get 600rps on my machine for the same script, so numbers are misleading.
That even that little script was not 100x. Be nice to impress how much faster things can run over CGI without using specific numbers.
Stas, did you have an example of 100x speedups?
Easily, e.g. this heavy script:
file:readdir.pl --------------- use strict;
use CGI (); use IO::Dir ();
my $q = CGI->new;
print $q->header("text/plain");
my $dir = IO::Dir->new(".");
print join "\n", $dir->read;does:
Mode Requests/sec ------------------------------- Apache::Registry 473 Apache::PerlRun 289 mod_cgi 10
That's 50 times! On a stronger machine with a code that benefits mod_perl (e.g. requiring lots of modules), you can reach 100 times without any problem.
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
