httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Erenkrantz <jerenkra...@apache.org>
Subject Re: [PATCH] convert worker MPM to leader/followers design
Date Fri, 12 Apr 2002 00:02:53 GMT
On Thu, Apr 11, 2002 at 04:57:23PM -0700, Brian Pane wrote:
> On the contrary, production servers sometimes have *huge* discontinuities
> in the number of concurrent connections.  Think about what happens to the
> connection rate at an online brokerage every day at the instant when the
> stock markets open, for example.  Or a news site when there's major breaking
> news.  Or a small site that's just been featured on Slashdot.
> 
> A server that can't handle discontinuities in request volume just isn't
> suitable for general-purpose use in the real world.

Can't we just add in the extra mutex check to worker and move on?
(i.e. don't call accept() when the worker queue is empty).
If the performance is proven to be detrimental, then we can
replace it with another model - only after that new MPM is
proven to be better in all aspects.  -- justin

Mime
View raw message