tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier>
Subject Re: Connectors: Http11Protocol vs. Http11NioProtocol
Date Sat, 28 Jan 2012 16:36:09 GMT

Your original question was

1. What are the premises to use either apache.coyote.http11.Http11NioProtocol or 
org.apache.coyote.http11.Http11NioProtocol connectors?
2. Do i get any advantages if i use Sync Servlet Api with Http11NioProtocol connector or 
do i have to use Async Servlet Api to get the advantages?
3. How do i choose which one to use in any particular case?

and your conclusion is :

> well, let's separate the wheat from the chaff and arrogance:
> 1. nio connector is useful when one needs to handle a lot of
> client connections, keep-alive ones, for example.
> 2. async servlet is useful when one app thread can fulfill many responses.
> 3. communication between connector and async servlet should be called
> semi-async, rather than async, because request processing is
> sync anyway, although response processing is async.
> that could be a simple answer for my question in the first place.
> everything else is triteness.
> thanks anyway :)
> thread can be closed now.

If it were to happen that you would have a further need to make use of this list (or 
another similar help forum), may I suggest that you fist read and ponder the document at
And if you have read it already, read it again, because you would seem to have missed its


I have just been watching this thread, as the underlying technique is far above my level.
But to answer your claims of arrogance and triteness :

It already took several exchanges to get you to correct the mistakes (or should I say the

chaff?) in your question, which made it close to nonsensical in the first place.
When the persons here who try to help posters in their enquiries asked you for 
clarification, your responses seemed to imply that they should have been smart enough to 
correct your own messiness, and that you could barely bother yourself to do so.
Even after correction, your original questions were so open-ended that answering them in 
the manner you seemed to want, would have amounted to providing a free training manual in

Connector code and the relevant aspects of the Servlet Specification.
But throughout, you sounded as if such an answer was just your due, although you are 
neither paying for the software nor for the help. You did not appear to make any effort in

providing information allowing the persons who were trying to help, to at least be able to

focus their explanations and save their time (and yours).
By doing this, you managed to goad someone into spending the time to correct your 
misunderstandings and misconceptions, and out of their comprehensive answers you then 
magnanimously extracted what was important for you, discarding the rest as chaff and 
So in the end you got what you probably wanted, and which you could have gotten much 
faster, and at less expense of someone else's time, if you had made an effort to write 
correct and focused questions in the first place.
In this process, you also managed to expose yourself as an arrogant and egotistical 
asshole.  I hope that the trade-off is worth it to you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message