httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Stoddard <>
Subject Re: Thread/Process model discussion.
Date Fri, 29 Jan 1999 18:27:56 GMT
Bill Stoddard wrote:

> > I like the hybrid process/thread architecture.  In a purely threaded
> > environment a fatal error in a loaded module will take down your server.
> > In the hybrid model only the requests served up by the threads in
> > the process that died will be lost and further requests will be handled by
> > threads in the other active processes.  It combines the robustness of the
> > multi-process model with the performance and memory efficiency of the
> > threaded model.
> Rasmus makes the best argument for a hybrid process/thread architecture.
> Another benefit is to overcome max threads per process limits in some
> Unix variants. Earlier versions of AIX had a max thread per process
> limit of 512 (this limit was removed in later versions of AIX).

If Unix had asynchronous I/O and completion ports, the thread per
process limit wouldn't be such a problem. :-)

Bill Stoddard

View raw message