Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Nov 1999 13:53:37 -0800 (PST)
From:      "Jonathan M. Bresler" <jmb@hub.freebsd.org>
To:        dillon@apollo.backplane.com
Cc:        zab@zabbo.net, freebsd-hackers@FreeBSD.ORG
Subject:   Re: mbuf wait code (revisited) -- review?
Message-ID:  <19991118215337.419311518D@hub.freebsd.org>
In-Reply-To: <199911181700.JAA85880@apollo.backplane.com> (message from Matthew Dillon on Thu, 18 Nov 1999 09:00:07 -0800 (PST))

next in thread | previous in thread | raw e-mail | index | archive | help
> 
>     The solution that I took with BestWWWD was to have just one process 
>     accept all the connections and then have it dole the descriptor out to the
>     appropriate sub-processes over a unix-domain socket.
> 
> 						-Matt
> 

	yes.  clearly, thats the way to go, to use the ability to pass
a file descriptor over a unix-domain socket.  one socket per handler
(web server), and the process doing the accept doles out the work as
each handler (web server) finishes a task and is ready to accept
another task.  in my memory, i can almost see the description of this
problem and its resolution in a book on threads (i think).  could it
have been the addison-wesley swoosh book on threads by behlendorf?
sigh...gotta get better memory installed.

jmb


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991118215337.419311518D>