in reply to 2 Questions on Images and Mod_perl mem usage

You should really read up on mod_perl and how to optimize it. Practical mod_perl is IMHO the best way to start. It gives a lot of real practical info and speaks extensively on memory usage, speed trade-offs, ...

I'm just guessing here, but are you running your scripts as ModPerl::Registry scripts? There might be a speed and memory bonus in changing your scripts into real Apache-mod_perl modules.

CountZero

"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law

  • Comment on Re: 2 Questions on Images and Mod_perl mem usage

Replies are listed 'Best First'.
Re^2: 2 Questions on Images and Mod_perl mem usage
by TGI (Parson) on Jul 02, 2005 at 16:55 UTC

    If we are talking about one script file that is over 10,000 lines long, it needs to be split up just to make it maintainable.

    You could use plain mod_perl modules, an application server framework like Mason might be a good way to simplify your code. These tools can handle a lot of basic application functionality for you.

    It sounds like this project has grown to the point where a major rewrite is necessary. Good luck.


    TGI says moo