[EMAIL PROTECTED] wrote:
> 
> Can you argue about how Valve's single chain of command ( where
> authentication, generation, etc are done in a single invoke() ) can 
> be better than what all other server are doing ( and Apache 2.0 
> moves to a different level with the flexible HOOK mechanism ?
> 

        Actually, this is a discussion I would like to see happen.  I
think that I can actually argue for Valves.  Admittedly, I know little
about the actual implementations but I am very familiar with the
patterns used in Tomcat 3.x and Tomcat 4.x and I have seen much of the
discussions on this list.  However, in other projects I have converted 
several architectures using patterns similar to 3.x to be more like the 
Valve approach.  We did it to shorten development times and improve 
developer productivity.  Performance wasn't our main goal but in all 
but one case performance improved.

        What I would like to see is a frank analysis of this topic.
If those "in the know" do not have the time then I will attempt to
do a brief analysis myself in the coming weeks.  It will take research
on my part whereas some of you might know the answers off the top of
your head.

        What I intend to compare is the typical method call sequence
of the two approaches, including resource allocation if any, when 
handling various types requests.  From there I hope to point to the 
relative merits and tradeoffs of each approach.

        I have fun with this kind of stuff... it harkens back to
my old graphics programming days.  It's almost always surprising
what this stuff will turn up.

        -Paul Speed

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to