From owner-freebsd-hackers Thu May 11 01:13:03 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id BAA19777 for hackers-outgoing; Thu, 11 May 1995 01:13:03 -0700 Received: from aries.ibms.sinica.edu.tw ([140.109.40.248]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id BAA19748 for ; Thu, 11 May 1995 01:12:41 -0700 Received: (from taob@localhost) by aries.ibms.sinica.edu.tw (8.6.11/8.6.9) id QAA01334; Thu, 11 May 1995 16:11:26 +0800 Date: Thu, 11 May 1995 16:11:26 +0800 (CST) From: Brian Tao To: Terry Lambert cc: nc@ai.net, Arjan.deVet@nl.cis.philips.com, freebsd-hackers@FreeBSD.org, Guido.VanRooij@nl.cis.philips.com Subject: Re: Apache + FreeBSD 2.0 benchmark results (fwd) In-Reply-To: <9505092128.AA19726@cs.weber.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: hackers-owner@FreeBSD.org Precedence: bulk On Tue, 9 May 1995, Terry Lambert wrote: > > > BTW, the multithreaded server I've got running on my FreeBSD box > > probably isn't truly "multithreaded" (it uses select() to handle > > multiple connections with a single process). What should this be > > called? A multiheaded server? > > That's a 2 letter difference! Any you were worried about a 4 letter > difference on "pre-forking" 8-) 8-). No, no... I don't have any qualms using "pre-forking" or "spawn-ahead" or "born-again" or "raised-from-the-dead" or whatever you want to call it. ;-) I used the term "demand forking" to describe the way older httpd's spawned a new process for each connection. I suppose if no one took exception to that term, it must be okay. :) > A select-based threading is an I/O Dispatch model, since each time data > is available it gets dispatched. This is close to a voluntary context > switch threading model (which is what Windows prior to Win95 used). Is this how ircd handles multiple connections? I haven't looked at the IRC server source, but it appears to be a prime example of a single process juggling dozens or even hundreds of client connections. Perhaps a new httpd could be modelled on IRC. *shudder* :) Anyhow... back to the unreleased httpd... does "select()-based uniprocess" server fit? Or am I just bastardizing CS terms? :) -- Brian ("Though this be madness, yet there is method in't") Tao taob@gate.sinica.edu.tw <-- work ........ play --> taob@io.org