Leon Rosenberg wrote:
Very interesting.
So if you have a typical large-app production environment with a
hardware ssl (for example by the load balancer) you don't need the
APR?
you'd need APR or NIO to be able to sustain a large number of keep alives. If you don't use keep alives, then it wont matter Tomcat Native -> APR lib -> C is no difference than NIO -> VM -> C, hence the performance shouldn't be very different.

Filip
Hence another evidence that java's performance are equal or better than c?

leon

On 8/30/06, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
Leon Rosenberg wrote:
> I thought Filip coded something similar, a pooling NIO connector in java.
> Leon

thats correct, it will be included in 6.0, in terms of performance it
ranks like this

HTTP Nr Of Connections < maxThreads
1. Blocking IO Connector
2. Java NIO connector and APR connector are fairly similar

HTTP Nr Of Connections > maxThreads
1. Java NIO connector and APR connector are fairly similar
2. Blocking IO Connector

HTTPS
1. The APR connector due to built in with native OpenSSL
2. NIO connector
3. Blocking IO connector

Filip


>
> On 8/30/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
>> > From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
>> > Subject: Re: Tool for monitoring Tomcat from the client side
>> >
>> > This slightly besser performance, is it achieved by C or by
>> > using epoll?
>>
>> Good question, and I don't know the answer. It would be interesting to
>> see if there's any performance difference by recoding the pure Java
>> request handler in Tomcat to use NIO and its polling capability.  Any
>> volunteers?
>>
>>  - Chuck
>>
>>
>> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
>> MATERIAL and is thus for use only by the intended recipient. If you
>> received this in error, please contact the sender and delete the e-mail
>> and its attachments from all computers.
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to