Apache 2.2.x, mpm_worker, and mod_perl

Radoslaw Zielinski radek at pld-linux.org
Fri May 30 17:29:40 BST 2008


Toby Corkindale <tjc at wintrmute.net> [30-05-2008 01:30]:
[...]
> Yes.. but was wondering how well it works in particular with mpm_worker in
> particular?

My tests of a heavy application (SpamAssassin) indicated, that worker is
slower than prefork, in this particular case.  That was on latest mp2 /
Apache2 / perl 5.8 (the rest of software also recent) from mid-2006;
something might have changed since then... but I doubt it.

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=4603#c3

Note: I've run the tests fully expecting worker to be *faster*, and --
after seeing the results -- have spent a while to make sure I'm not
doing something very wrong with the testing methodology.

As it was a while ago, I don't remember all the details; the conclusion
I have drawn is: stick to prefork, at least on Linux.  Reasons:

  1) more robust (dying child won't affect others),
  2) more predictible (smaller deviations between response time),
  3) faster.

-- 
Radosław Zieliński <radek at pld-linux.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://london.pm.org/pipermail/london.pm/attachments/20080530/144a0e37/attachment.pgp


More information about the london.pm mailing list