[lkml]   [1999]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: OT: multithreaded web server implementation (Re: Linus on Linux, Apache and Threads)
On Sat, 24 Apr 1999, Olaf Titz wrote:

> You can even have multiple queues this way: specialized worker threads
> either for request types (file/CGI/servlet/etc) or for virtual hosts.
> Would perhaps need some research whether it is better to handle just a
> FD or a preparsed request line to the worker threads. In any case,
> threads use shared memory, so you don't really pass down the stuff
> any sort of pipe.

This model, but with processes instead of threads, is used in fhttpd.
Requests are preparsed in the main process because otherwise specialized
"worker" processes can't be chosen before passing fd.


Excellent.. now give users the option to cut your hair you hippie!
-- Anonymous Coward

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:51    [W:0.084 / U:42.572 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site