On 1/28/2012 1:16 AM, Pid wrote:
On 27/01/2012 21:06, bxqdev wrote:


On 1/27/2012 8:27 PM, Pid wrote:
On 27/01/2012 14:53, bxqdev wrote:
Hello, Developers!

1. What are the premises to use either
apache.coyote.http11.Http11NioProtocol or
org.apache.coyote.http11.Http11NioProtocol connectors?

Eh?  Is that what you really mean?

i mean what are the reasons to use either connector variant.

NIO can handle more concurrent connections.

yeah, that's why i use the nio connector.


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?

What advantages are you looking for?  How much traffic are you expecting
to handle?

a lot of. i'm looking for advantages in throughput and performance, for
example.

How much is a lot?

10'000/sec

How many Tomcats are you running?

1

How much RAM/CPU per server etc?

8GB/Xeon

How big is the average response?

300Kb


3. How do i choose which one to use in any particular case?

First, don't prematurely optimise.  Have you tested your application yet?

yes, i need a better throughput and performance.

Please provide details.

How have you optimised your application so far, or are you hoping to
optimise Tomcat first?

webapp is optimized, i want to optimize tomcat.



p

p

thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to