Given the current movement of this thread in the direction of "You're
wrong... no, you are!!", I figured I'd toss something out in an attempt
to set it back on track a bit.

What, exactly, is the goal that we are trying to accomplish by applying
one of these patches? Can we put together a list of goals and a list of
constraints, and then analyze whether or not these patches meet those
requirements? If they don't, we can then go ahead and determine what is
missing, and if its something that can be added later, or it the
approach of the patch would preclude it.

My thoughts, which are only partially complete, would include:
Requirements:
- The ability to add handlers for additional protocols
   - The ability to do so easily, at a very high level, and
   - The ability to put forth more effort, but access things at a low
level (most likely for the purpose of performance)
- The high level API for writing a driver should allow the programmer to
write simple network code, and let all the logging, connection pooling,
thread pooling, etc. be handled automatically.
- The low level API should allow the programmer to handle every aspect
of the code independently, including handing off requests to different
threads, etc.
- The ability to write protocol handlers in Tcl, and move them to C if
needed for performance.

Constraints:
- Must be decoupled from the HTTP driver, so that that driver can be
changed or replaced at any time without impacting any added drivers

Notes:
- I'd like to see the Handler API be sufficient at the low level to
allow an HTTP handler to be written that is every bit as efficient and
speedy as what is being worked on for 4.1
- I'd like to see the high level API be easy enough to use that one
could register an "echo server" handler and write the code for it in a
dozen lines or so
- I'd like the progression from high level to low level be gradual, so
the programmer can address only those issues that pertain to his
specific protocol

Rob Seeger


--
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