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. >>> 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? How many Tomcats are you running? How much RAM/CPU per server etc? How big is the average response? >>> 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? 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 > -- [key:62590808]
signature.asc
Description: OpenPGP digital signature