httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Stoddard" <b...@wstoddard.com>
Subject Re: yet another threaded MPM for Unix
Date Mon, 23 Jul 2001 19:07:24 GMT
Cool!  I would like to commit this MPM and start working to get it production ready. This
model is much easier to manage that the current multi thread accept model of the threaded
MPM.  This MPM also lends itself to developing an event driven network API.

Bill

----- Original Message -----
From: "Jeff Trawick" <trawick@attglobal.net>
To: <new-httpd@apache.org>
Sent: Monday, July 23, 2001 2:00 PM
Subject: yet another threaded MPM for Unix


> I've had this for a while but never got around to posting it.
>
> http://daedalus.apache.org/~trawick/st.tar
>
> This is [currently] single process only.
> This [currently] has a single accept thread per process.
>
> The accept thread queues work elements to worker threads, which then
> call a function pointer in the work element.
>
> Currently it is hard-coded to use
> pthread_cond_wait()/pthread_cond_signal().  The desire is to have that
> mechanism be chosen based upon the platform.
>
> Graceful restart is not as nice as current MPMs where the worker
> thread calls accept()...  when a non-worker thread calls accept() you
> can be left with extra connections needing to be processed at the time
> of a graceful restart request... thus, it takes longer to stop serving
> requests with the old configuration.
>
> --
> Jeff Trawick | trawick@attglobal.net | PGP public key at web site:
>        http://www.geocities.com/SiliconValley/Park/9289/
>              Born in Roswell... married an alien...
>


Mime
View raw message