Return-Path: X-Original-To: apmail-hc-httpclient-users-archive@www.apache.org Delivered-To: apmail-hc-httpclient-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 3E65C967F for ; Tue, 8 May 2012 10:58:48 +0000 (UTC) Received: (qmail 34083 invoked by uid 500); 8 May 2012 10:58:47 -0000 Delivered-To: apmail-hc-httpclient-users-archive@hc.apache.org Received: (qmail 33785 invoked by uid 500); 8 May 2012 10:58:47 -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 33751 invoked by uid 99); 8 May 2012 10:58:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2012 10:58:46 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of dcheckoway@gmail.com designates 209.85.214.179 as permitted sender) Received: from [209.85.214.179] (HELO mail-ob0-f179.google.com) (209.85.214.179) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2012 10:58:39 +0000 Received: by obbup19 with SMTP id up19so10138877obb.10 for ; Tue, 08 May 2012 03:58:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=xl87iM0fAAgPCDCzMxiQKiBwsr3GdTAdYgRG5GekJnE=; b=stRmXksJYbdR69YebzNRe3YowP2ddlu1LEuXL7e5orvihuUSvisu0w/gCJeO9K0W9t gxrko0IWCce06YojqsARGdxxOpiTa3Fd/+/yfHVjn1tVO7+eOfjLfFLdcKk4td8cFBF8 2Kohtni6wIcFjFHVIhDd0XNMQb4am1RdoKOObLH/qUqLMHh8fZpav4BsSyt6FlaMDPvr MLvrYlT1k1RLDb7FWw3/TJX14PslUVzHAUSQFX6Lkc/LAoGl0QFLzbcL/C8U7+jih7nc lRxnJZPE6+N67JKEyzBY7sUv+B2PQRDhX6PdGNotjRXJELAjeWaib54EXkEUP0TcS4aD XJDg== MIME-Version: 1.0 Received: by 10.60.169.146 with SMTP id ae18mr26355917oec.36.1336474698475; Tue, 08 May 2012 03:58:18 -0700 (PDT) Received: by 10.60.18.132 with HTTP; Tue, 8 May 2012 03:58:18 -0700 (PDT) In-Reply-To: <33763553.post@talk.nabble.com> References: <33763553.post@talk.nabble.com> Date: Tue, 8 May 2012 06:58:18 -0400 Message-ID: Subject: Re: HTTP Connection Pool Settings From: Dan Checkoway To: HttpClient User Discussion Content-Type: multipart/alternative; boundary=bcaec54c5278a768ee04bf84432f --bcaec54c5278a768ee04bf84432f Content-Type: text/plain; charset=ISO-8859-1 How many different "routes" do you expect to use? On Mon, May 7, 2012 at 7:21 PM, apachehttpdev07 wrote: > > We are using Apache Http Client 4.1.3 in production systems now. I am > using a > ThreadSafeClientConnection Manager to pool http connections. We have a > concurrent user base of 126 users per second hitting 2 JVMs in cluster. > What > I need to know is what should be the value of Max Total and > DefaultMaxPerRoute. I have set it to 1000 per JVM box. Is this more than > enough. > > ThreadSafeClientConnManager cm = new ThreadSafeClientConnManager(); > cm.setMaxTotal(maxTotal); > cm.setDefaultMaxPerRoute(defaultMaxPerRoute); > > If you need anymore information we will readily provide. > -- > View this message in context: > http://old.nabble.com/HTTP-Connection-Pool-Settings-tp33763553p33763553.html > Sent from the HttpClient-User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org > For additional commands, e-mail: httpclient-users-help@hc.apache.org > > --bcaec54c5278a768ee04bf84432f--