httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@ai.mit.edu (Robert S. Thau)
Subject Re: project plan
Date Fri, 12 Jul 1996 22:55:48 GMT
  Having thought that, what would the benefit of a threaded server be?
  (Other than to say that apache is multithreaded...)

To reiterate:  the main thing, in my view, has always been that it
makes it much easier to support protocols (such as HTTP run over the
W3C's multiplexing protocol layer) which require us to simultaneously
service multiple requests which came in over the same connection.

There is also, of course, some possibility of performance gains,
particularly on busy servers which have to service several hundred
connections simultaneously, if only because the threaded server is
likely to have a smaller RAM footprint.  

(BTW, it can be reasonable to think of a collection of Unix processes
as a bunch of threads which each has its own address space; the
problems with them include the lack of a portable way for them to pass
file descriptors around, and the way that private address space tends
to make them awfully heavy-weight).

rst

Mime
View raw message