tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: questions about tomcat 7 executor with rest services
Date Mon, 12 Oct 2015 22:01:47 GMT
On 12 October 2015 21:26:30 BST, Brian Millett <bmillett@gmail.com> wrote:
>I’m looking for some insight / info into using executor thread pool for
>a tomcat 7 server that handles many REST services.   
>Wondering if a large maxThreads in an Executor would have better
>through put than the same maxThreads for a normal connector?

Nope. Internally the Connector uses an executor.

>What scenario would encourage the use of an Executor over a normal
>connector? 

Sharing a common thread pool between multiple connectors. Usually when you want to limit concurrent
requests across http and http. 

Mark


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


Mime
View raw message