tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: [proposal] remove worker based connector thread pools in trunk
Date Sat, 15 Aug 2009 21:50:45 GMT
2009/8/14 Filip Hanik - Dev Lists <devlists@hanik.com>:
> On 08/14/2009 10:48 AM, Costin Manolache wrote:
>>
>> +1 - Executor seems the right interface, didn't exist when workers were
>> started - ifanyone needs the pool behavior it can probably be implemented
>> as
>> an Executor.
>>
>> I assume you'll have some way to configure what kind of executor ?
>>
>
> Yes we do, the NIO connector doesn't use workers anymore. It can use an
> internal executor, or an external one. Both are configurable through
> server.xml, and the config will not change at all. If you take a 6.0 config,
> it would still work.
> Furthermore, there is some really cool stuff we can do with executors, such
> as even with the BIO connector, we can do keep alives and and still rotate
> the sockets among the available threads.
>

+1

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message