Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 819C61840A for ; Mon, 12 Oct 2015 22:02:00 +0000 (UTC) Received: (qmail 15118 invoked by uid 500); 12 Oct 2015 22:01:56 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 15054 invoked by uid 500); 12 Oct 2015 22:01:56 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 15044 invoked by uid 99); 12 Oct 2015 22:01:56 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Oct 2015 22:01:56 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 48D7AC2BE7 for ; Mon, 12 Oct 2015 22:01:56 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.98 X-Spam-Level: X-Spam-Status: No, score=0.98 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id ca4i_-lqwUII for ; Mon, 12 Oct 2015 22:01:55 +0000 (UTC) Received: from rgout0605.bt.lon5.cpcloud.co.uk (rgout0605.bt.lon5.cpcloud.co.uk [65.20.0.132]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTP id 15B882074F for ; Mon, 12 Oct 2015 22:01:55 +0000 (UTC) X-OWM-Source-IP: 81.156.40.151 (GB) X-OWM-Env-Sender: medthomas@btinternet.com X-CTCH-RefID: str=0001.0A090204.561C2DCC.0051,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 X-Junkmail-Premium-Raw: score=27/50,refid=2.7.2:2015.9.14.165118:17:27.888,ip=81.156.40.151,rules=__USER_AGENT, __IN_REP_TO, __REFERENCES, __MIME_VERSION, __CTE, __CT, __CT_TEXT_PLAIN, CT_TEXT_PLAIN_UTF8_CAPS, __BOUNCE_CHALLENGE_SUBJ, __BOUNCE_NDR_SUBJ_EXEMPT, __SUBJ_ALPHA_END, __HAS_FROM, __TO_MALFORMED_2, __HAS_MSGID, __SANE_MSGID, __MSGID_APPLEMAIL, __ANY_URI, __FRAUD_BODY_WEBMAIL, __URI_NO_WWW, __URI_NO_PATH, __SUBJ_ALPHA_NEGATE, __FORWARDED_MSG, BODY_SIZE_600_699, BODYTEXTP_SIZE_3000_LESS, __MIME_TEXT_ONLY, RDNS_GENERIC_POOLED, __URI_NS, SXL_IP_DYNAMIC[151.40.156.81.fur], HTML_00_01, HTML_00_10, BODY_SIZE_5000_LESS, RDNS_SUSP_GENERIC, BODY_SIZE_1000_LESS, BODY_SIZE_2000_LESS, RDNS_SUSP, __FRAUD_WEBMAIL, BODY_SIZE_7000_LESS, REFERENCES, NO_URI_HTTPS X-CTCH-Spam: Unknown Received: from mail.homeinbox.net (81.156.40.151) by rgout06.bt.lon5.cpcloud.co.uk (8.6.122.06) (authenticated as medthomas@btinternet.com) id 55F049C103FB68C5 for users@tomcat.apache.org; Mon, 12 Oct 2015 23:01:48 +0100 Received: from localhost (localhost [127.0.0.1]) by mail.homeinbox.net (Postfix) with ESMTP id AE00EB40445 for ; Mon, 12 Oct 2015 23:01:46 +0100 (BST) X-Virus-Scanned: Debian amavisd-new at homeinbox.net Received: from mail.homeinbox.net ([127.0.0.1]) by localhost (mail.homeinbox.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id inxMxHnNwY9z for ; Mon, 12 Oct 2015 23:01:46 +0100 (BST) Received: from marksphone.dev.local (marksphone.dev.local [192.168.23.213]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.homeinbox.net (Postfix) with ESMTPSA id 315F4B4035B for ; Mon, 12 Oct 2015 23:01:46 +0100 (BST) User-Agent: K-9 Mail for Android In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Subject: Re: questions about tomcat 7 executor with rest services From: Mark Thomas Date: Mon, 12 Oct 2015 23:01:47 +0100 To: Tomcat Users List Message-ID: <4F1EA559-3AAB-4DFF-A908-FBDC3D80B43A@apache.org> On 12 October 2015 21:26:30 BST, Brian Millett 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