You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Brian Millett <bm...@gmail.com> on 2015/10/12 22:26:30 UTC
questions about tomcat 7 executor with rest services
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?
What scenario would encourage the use of an Executor over a normal connector?
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: questions about tomcat 7 executor with rest services
Posted by Brian Millett <bm...@gmail.com>.
Thanks
> On Oct 12, 2015, at 5:01 PM, Mark Thomas <ma...@apache.org> wrote:
>
> On 12 October 2015 21:26:30 BST, Brian Millett <bm...@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
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: questions about tomcat 7 executor with rest services
Posted by Mark Thomas <ma...@apache.org>.
On 12 October 2015 21:26:30 BST, Brian Millett <bm...@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