httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Bloom <...@covalent.net>
Subject Re: MPM design abuse (was: cvs commit: httpd-2.0/server/mpm/prefork prefork.c)
Date Wed, 14 Nov 2001 17:50:16 GMT
On Wednesday 14 November 2001 06:18 am, Bill Stoddard wrote:
> > On Tuesday 13 November 2001 02:37 pm, Roy T. Fielding wrote:
> > > On Tue, Nov 13, 2001 at 09:39:30AM -0800, Ryan Bloom wrote:
> >
> > I'm starting from a different place I guess.  I see the core as defining
> > the client interface for TCP.  The MPM just maps the client interface to
> > a worker thread.
> >
> > The way I see it, the core is the beast that is doing all of the actual
> > communication to the network, the MPM just tells which thread to handle
> > each request, regardless of where it comes from.  Based on the comment
> > above, if you are going to move anything to the MPM, you will also have
> > to move the core_input and core_output filters to the MPMs, because they
> > would be actually implementing the network logic.
>
> Not necessarily. I have code to split the network io calls out of
> core_output_filter and place them in a net_out_filter. The net_out_filter
> just unconditionally writes brigades to the network.

Then what does the core_output_filter do?  All that filter should be doing is
combining buckets and writing to the network the best way possible.

Ryan

______________________________________________________________
Ryan Bloom				rbb@apache.org
Covalent Technologies			rbb@covalent.net
--------------------------------------------------------------

Mime
View raw message