Return-Path: Delivered-To: apmail-hc-httpclient-users-archive@www.apache.org Received: (qmail 76730 invoked from network); 4 Dec 2010 17:20:34 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Dec 2010 17:20:34 -0000 Received: (qmail 51601 invoked by uid 500); 4 Dec 2010 17:20:34 -0000 Delivered-To: apmail-hc-httpclient-users-archive@hc.apache.org Received: (qmail 51553 invoked by uid 500); 4 Dec 2010 17:20:33 -0000 Mailing-List: contact httpclient-users-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-users@hc.apache.org Received: (qmail 51545 invoked by uid 99); 4 Dec 2010 17:20:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Dec 2010 17:20:33 +0000 X-ASF-Spam-Status: No, hits=4.7 required=10.0 tests=FREEMAIL_FROM,FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of andrhahn@hotmail.com designates 65.54.61.76 as permitted sender) Received: from [65.54.61.76] (HELO snt0-omc1-s39.snt0.hotmail.com) (65.54.61.76) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Dec 2010 17:20:23 +0000 Received: from SNT135-W4 ([65.55.90.7]) by snt0-omc1-s39.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sat, 4 Dec 2010 09:20:02 -0800 Message-ID: Content-Type: multipart/alternative; boundary="_33e3835b-b597-4eba-ac1d-352f0d2b1cb4_" X-Originating-IP: [75.73.86.173] From: Andy To: "httpclient-users@hc.apache.org" Subject: RE: MultiThreadedHttpConnectionManager general question Date: Sat, 4 Dec 2010 11:20:02 -0600 Importance: Normal In-Reply-To: References: , MIME-Version: 1.0 X-OriginalArrivalTime: 04 Dec 2010 17:20:02.0276 (UTC) FILETIME=[7C4B6A40:01CB93D7] X-Virus-Checked: Checked by ClamAV on apache.org --_33e3835b-b597-4eba-ac1d-352f0d2b1cb4_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Great that helps=2C thank you! > Date: Sat=2C 4 Dec 2010 16:23:08 +0000 > Subject: Re: MultiThreadedHttpConnectionManager general question > From: sebbaz@gmail.com > To: httpclient-users@hc.apache.org >=20 > On 4 December 2010 15:28=2C Andy wrote: > > > > Hi=2CI would like to use HttpClient in a multi-threaded environment so = I am looking at using the MultiThreadedHttpConnectionManager.I read the doc= ument at: http://hc.apache.org/httpclient-3.x/threading.htmlBut I am still= not quite sure what these options mean or what how they are different: ma= xConnectionsPerHost and maxTotalConnections >=20 > maxConnectionsPerHost means what it says - the maximum number of > connections allowed to the same host. > Likewise maxTotalConnections is the overall connection total=2C for all h= osts. >=20 > > My goal is to bulk load (call a web service) 5=2C000 requests=2C using = a max of 50 threads at a time. > > Can anyone help clarify? Thanks- > > >=20 > If there is one host involved=2C set both maxima to the same number=2C in > this case at least 50. >=20 > --------------------------------------------------------------------- > To unsubscribe=2C e-mail: httpclient-users-unsubscribe@hc.apache.org > For additional commands=2C e-mail: httpclient-users-help@hc.apache.org >=20 = --_33e3835b-b597-4eba-ac1d-352f0d2b1cb4_--