Messages in this thread | | | Date | Fri, 23 Apr 1999 10:30:59 +0100 (BST) | From | Tony Gale <> | Subject | Re: Linus on Linux, Apache and Threads |
| |
On 23-Apr-99 Chris Wedgwood wrote: > >> It ought to one of two things: >> >> - Use a thread to handle each request, all in one process. > > No, that would be insane. Perhaps use threads the way it now uses > processes, but not one thread per request -- that would be death as > far as performance goes. >
Depends. You can use a thread pool and queue requests which are then picked up by the threads. You can then dynamically create/join groups of threads as per demand (up to a limit), returning them to the pool when they have finished.
-tony
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |