httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sander Striker" <stri...@apache.org>
Subject RE: cvs commit: httpd-2.0/server/mpm/worker worker.c
Date Thu, 18 Apr 2002 13:59:58 GMT
> From: Rose, Billy [mailto:wrose@loislaw.com]
> Sent: 18 April 2002 15:47

> Hummm. What are your thoughts on shmget() allocating a global segment owned
> by the master process that each child can get at? Is there a Nix out there
> that doesn't have shmget()?

I suggest you take a look at APR, specifically
apr/include/apr_shm.h

Sander

 
> Billy Rose 
> wrose@loislaw.com
> 
> > -----Original Message-----
> > From: Aaron Bannert [mailto:aaron@clove.org]
> > Sent: Wednesday, April 17, 2002 3:19 PM
> > To: dev@httpd.apache.org
> > Subject: Re: cvs commit: httpd-2.0/server/mpm/worker worker.c
> > 
> > 
> > On Wed, Apr 17, 2002 at 02:58:03PM -0500, Rose, Billy wrote:
> > > If I could receive feedback on the following email made on 
> > the 11th, I'd be
> > > willing to burn some hours to make the following MPM for testing:
> > 
> > I think one part that is missing from this design is how you translate
> > these "connection objects" between processes. This is not unsolvable,
> > just an obstacle that may eat into performance. Some of the 
> > methods that
> > you might use for this are:
> > 
> > - unix domain sockets (named and anonymous both work here)
> > - doors (* my prefered method, only available on solaris)
> > 
> > 
> > I've also been working on an addition to APR that will do this in
> > a cross-platform manner, called "spipe" (aka Stream Pipes). See some
> > sample file-descriptor-passing code in the perchild MPM.
> > 
> > -aaron


Mime
View raw message