On Wed, 2003-11-05 at 10:13, Frantzcy Paisible wrote:
> From the examples, small ones, the performance gains are like 200 to one and more. 
> But on real applications, like on bigger, more complicated scripts, what is to be 
> expected ?

mod_perl helps with startup costs and connections to the database, and
allows some additional caching not possible in CGI.  It doesn't speed up
the actual work that your program does.  Naturally, a script that does a
lot of really slow things will not have a smuch of a speed improvement
as a script that doesn't do as much.

> Does anyone have a list of tips and/or tricks that could help improuve performance ?

Profile your application.  Find out where the time is being spent.  Then
work on doing less there, either through smarter algorithms or caching. 
If you need suggestions on how mod_perl could help you improve the speed
of a certain section, you can ask here, but you will need to give us
details about what your script is doing and why it is running slowly.

- Perrin

-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html

Reply via email to