On 2003.11.25, Bas Scheffers <[EMAIL PROTECTED]> wrote:
>
> The point I am making is this: AOLserver is as fast as it is because it
> re-uses the interpreter in each of the threads for every request.

It *would* be neat as a config. option to tell AOLserver to create
separate thread pools per virtual server.  High tweak value, low
functional value -- not worth implementing other than to say "gee, look
what *I* can do!"

> Having a couple of hundred small websites each have their dedicated
> process, within each of which they will have several threads running
> seems like an awfully big resource hog to me,

A web site small enough to host in a virtual farm with a hundred other
similarly hosted sites is SO small that having ONE single thread for
request processing per virtual server is MORE than enough.

A single process, with one thread per virtual server, where you are
hosting 200-300 virtual servers on one machine ... one process, 200-300
threads ... sounds very reasonable.

> So bottom line to me: Re-writing AOLserver to work this way, besides
> being a big job, is kind of futile. Especialy considering it's main
> user, AOL, and many other big sites are more likely to run one website
> on multiple boxes, as opposed to many sites on one box...

Zing.  Exactly.  AOLserver is not (and should not be) a "one size fits
all" webserver.  It's a very good solution that solves a particular
problem: building easily scalable servers of dynamically generated web
content.  If you have a different problem, say, needing to serve many
small websites out of a single process with virtual servers ... then
choose the appropriate solution for that problem.  That seems like the
only right thing to do ...  That seems like the only right thing to do
...  That seems like the only right thing to do ...  That seems like the
only right thing to do ...

-- Dossy

--
Dossy Shiobara                       mail: [EMAIL PROTECTED]
Panoptic Computer Network             web: http://www.panoptic.com/
  "He realized the fastest way to change is to laugh at your own
    folly -- then you can let go and quickly move on." (p. 70)


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of 
your email blank.

Reply via email to