We are using the APR connector in both cases.

Att.

Rafael Oliveira de Mattos
Analista Implementador
Unidade de Justiça
Softplan/Poligraph
+55 48 3027-8000
www.softplan.com.br
twitter.com/softplanonline

----- Mensagem original -----
De: "Christopher Schultz" <ch...@christopherschultz.net>
Para: "Tomcat Users List" <users@tomcat.apache.org>
Enviadas: Terça-feira, 22 de dezembro de 2015 21:09:07
Assunto: Re: troughput difference

Rafael.

On 12/21/15 1:48 PM, Rafael Oliveira de Mattos wrote:
> We are using only the http connector. Here is the configuration:
> 
> <Connector port="${port.http}" protocol="HTTP/1.1"
> redirectPort="${port.https}" connectionTimeout="60000"
> useBodyEncodingForURI="true" maxThreads="1400"
> acceptorThreadCount="4" acceptCount="300" minSpareThreads="80"/>

In Tomcat 6, you are using the BIO connector, or possibly the APR
connector. Do you know which you are using?

In Tomcat 8, you are using the NIO connector, or possibly the APR
connector. Do you know which you are using?

When Tomcat starts, it will tell you what kind of connector it is using
like this:

Dec 22, 2015 10:16:52 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8015"]
Dec 22, 2015 10:16:52 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-nio-127.0.0.1-8017"]
Dec 22, 2015 10:16:52 AM org.apache.tomcat.util.net.NioSelectorPool
getSharedSelector

Here you can see I have an AJP BIO-based connector on port 8015 and an
HTTP NIO-based connector on port 8017.

Let's make sure we are comparing apples to apples, here.

-chris

> ----- Mensagem original ----- De: "Christopher Schultz"
> <ch...@christopherschultz.net> Para: "Tomcat Users List"
> <users@tomcat.apache.org> Enviadas: Segunda-feira, 21 de dezembro de
> 2015 14:33:31 Assunto: Re: troughput difference
> 
> Rafael,
> 
> On 12/17/15 3:09 PM, Rafael Oliveira de Mattos wrote:
>> I'm having different results in Tomcat performance using version
>> 6.0.37 and 8.0.23.
>> 
>> Using tomcat 6 we usually have 5000 ~ rpm with a response time of
>> 80ms
>> 
>> Using tomcat 8 the max that we can get is 2000 ~ rpm with a
>> response time of 200ms
>> 
>> We are using the same jdk version 1.7.0.80, a nd the same
>> applications on both version, they are installed in the same
>> machine and using APR, but not running at the same time. We tried
>> to use the same configuration whenever possible.
>> 
>> SO: Linux ubuntu 12.04 JDK: 1.7.0.80 Anything I should take look at
>> it?
> 
> How are your <Connector>s defined in server.xml in each setup?
> 
> -chris
> 
> ---------------------------------------------------------------------
>
> 
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


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

Reply via email to