Return-Path: Delivered-To: apmail-hc-dev-archive@www.apache.org Received: (qmail 23523 invoked from network); 11 Mar 2011 17:29:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Mar 2011 17:29:36 -0000 Received: (qmail 2049 invoked by uid 500); 11 Mar 2011 17:29:36 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 2005 invoked by uid 500); 11 Mar 2011 17:29:36 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 1995 invoked by uid 99); 11 Mar 2011 17:29:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Mar 2011 17:29:36 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [92.42.190.144] (HELO ok2cons2.nine.ch) (92.42.190.144) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Mar 2011 17:29:29 +0000 Received: from [192.168.1.108] (77-57-197-206.dclient.hispeed.ch [77.57.197.206]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ok2cons2.nine.ch (Postfix) with ESMTPSA id AC7D7C0E486 for ; Fri, 11 Mar 2011 18:29:07 +0100 (CET) Subject: Re: HttpClient benchmark; was RE: [Httpcomponents Wiki] Update of "HttpClient3vsHttpClient4vsHttpCore" by OlegKalnichevski From: Oleg Kalnichevski To: HttpComponents Project In-Reply-To: References: <20110310224817.71240.85831@eosnew.apache.org> <1299831331.24099.43.camel@ubuntu> Content-Type: text/plain; charset="UTF-8" Date: Fri, 11 Mar 2011 18:28:43 +0100 Message-ID: <1299864523.27644.4.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit On Fri, 2011-03-11 at 16:53 +0000, sebb wrote: > On 11 March 2011 08:15, Oleg Kalnichevski wrote: > > On Fri, 2011-03-11 at 07:19 +0100, Hubert, Eric wrote: > >> Hi > >> > >> > The first section under 500'000 requests / up to 250 concurrent > >> > connections does not specify the client used: > >> > I assume this is probably HTTP agent: Apache HttpClient 3.1 but it > >> > would be good to add it to the page. > > @Oleg: Ping? > I corrected it this morning. Was not there a notification mail? > >> > >> I noticed the same, sharing this assumption. ;-) > >> > >> Additionally I would be interested in some background information > >> helping to interpret the results. > >> For easier readability I put all results concentrating on just a > >> Single metric in one table (truncated req/second - hope I did > >> not messed some numbers). > >> > >> Conc 20 (get/post) Con 250 (get/post) > >> Client 3.1 16170 / 16788 8188 / 9792 > >> JRE 6u18 21705 / 16882 14446 / 14358 > >> Core 4.1 31438 / 24236 19705 / 17815 > >> Client 4.1 25154 / 22520 21360 / 21762 > >> Client 4.2 24069 / 19929 21675 / 18270 > >> Jetty 7.2.0 7734 / 8140 19948 / 20016 > >> Jetty 7.3.1 17727 / 17828 20903 / 18250 > >> > >> The following questions came into my mind > >> (please excuse if answers are obvious!) > >> a) Why performs 3.1 better for POSTs than for GET? > > > > I do not have a good answer to this question, just a guess. I suspect > > that it simply takes longer to generate random content on the server > > side when responding to GET requests and to do a simple echo when > > responding to POST requests. > > Perhaps the echo code can be replaced with something that does a > similar amount of work on the server? > The 'echo' servlet can be replaced with something that sends back a random generated response of the same length as the request. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org