in reply to Can one Apache process run multiple requests simultaneously?

In Apache 1.x, each Apache process handles only one request at a time, so there's no problem.

In Apache 2.x, each Apache thread handles only one request at a time. *If* the cache is *not* shared among threads, there's no problem. I don't have access to CPAN here, so I can't check whether the cache is shared. It shouldn't be.

  • Comment on Re: Can one Apache process run multiple requests simultaneously?

Replies are listed 'Best First'.
Re^2: Can one Apache process run multiple requests simultaneously?
by perrin (Chancellor) on May 30, 2007 at 16:43 UTC
    Unless you're running on Windows, you should use the prefork MPM (i.e. not threads) with Apache 2 when running mod_perl. Threads use more memory than forked processes because of the way they are implemented in Perl.
Re^2: Can one Apache process run multiple requests simultaneously?
by ganeshk (Monk) on May 31, 2007 at 07:50 UTC
    Thank you very much everyone for the help!!. The application runs on Apache 1.3 as of now and that is a good sign. But it was nice for all the inputs on Apache 2 also.