Return-Path: Delivered-To: apmail-hc-httpclient-users-archive@www.apache.org Received: (qmail 80100 invoked from network); 31 May 2010 13:41:34 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 31 May 2010 13:41:34 -0000 Received: (qmail 50428 invoked by uid 500); 31 May 2010 13:41:33 -0000 Delivered-To: apmail-hc-httpclient-users-archive@hc.apache.org Received: (qmail 50374 invoked by uid 500); 31 May 2010 13:41: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 50366 invoked by uid 99); 31 May 2010 13:41:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 May 2010 13:41:33 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of eiswind@googlemail.com designates 74.125.82.179 as permitted sender) Received: from [74.125.82.179] (HELO mail-wy0-f179.google.com) (74.125.82.179) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 May 2010 13:41:27 +0000 Received: by wyb32 with SMTP id 32so413469wyb.10 for ; Mon, 31 May 2010 06:41:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=DMQMVomMRU5+1jVw9pytEIyOKhbLmdMEUjn/t07CHKg=; b=lRvuiGdhZYTldBM71V6PUii6p2j8BOsRfQMyAzNMjAwDm1anHjo0SY3rvbvU3I+Iec JZ9Rvo+EXABXV1n44zEoKS55tgJVwVg43d0OWy3OzH6bU3FQifkQyZDVR3T5teqbQeN+ jyja6hgg/15Ef5PT4t3Y1bsbJ3QtTQMPstQKE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=huSytulSEzuGpszvzyAsGLB0NxegLd7lqK3xn4nWSu6yf/5T+0S8w5H4elRAs/M5KJ QfIuh5WnlWIyCvL+pkdMJvAfpeoqR8/y7wBa3YkfFiI+S4BA/tpnEnQ4OLEGLKFViLvI KJgbdHBbdVTZQQ782LrAar9aPD6wNqoMQ9sGE= Received: by 10.216.88.83 with SMTP id z61mr4332458wee.85.1275313263679; Mon, 31 May 2010 06:41:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.29.9 with HTTP; Mon, 31 May 2010 06:40:43 -0700 (PDT) In-Reply-To: References: From: Thomas Kratz Date: Mon, 31 May 2010 15:40:43 +0200 Message-ID: Subject: Re: How to find performance bottleneck: Best practises ? To: httpclient-users@hc.apache.org Content-Type: multipart/alternative; boundary=0016e6d641770f1b1f0487e402ff X-Virus-Checked: Checked by ClamAV on apache.org --0016e6d641770f1b1f0487e402ff Content-Type: text/plain; charset=ISO-8859-1 OK please forget my last mail. I tried to increase the thread pool on jetty and now it seems to be gone away. Just a stupid beginner :) Regards Thomas 2010/5/31 Thomas Kratz > Hello all, > > I only have little understanding of what's going on in http communication > as I use to be a high level consumer. I use httpClient with > EasySLLSocketFactory together with spring's HttpInvoker to do remote > communication over SSL. As I'm new to this all, please forgive me if I'm > asking in the wrong place, its just a guess. I have the spring remoting > servlet running on an embedded jetty 6.x with a self signed certificate. > Everything is fine if I do this over http. If I switch to https I experience > a real performance (20-30 seconds per request on local connection) issue on > some of the early requests I make. I cannot tell by now if its from the > first request on. I start up my client and if I make some requests in the > startup code its fine. But some requests later the requests simply take an > awful lot of time, next time they are executed its milliseconds. I have > traced down my services that execute as fast as normal, so it must (should?) > be somewhere something in the whole infrastructure thats going wrong. It > happens reproducable at every client startup, so I can only guess its coming > from the httpclient, but I may be completely wrong with that. I turned on > TRACE and saw that getResponseOutput is eating the time. But I can see no > errors nor anything strange in the log. > > Can you give me any starting points where I should hunt for the problem > with that ? Did I give enough information ? > > Thanks for any help in advance, > > Regards Thomas > -- > http://www.buchmanager.com > http://thomaskratz.blogspot.com > http://twitter.com/thomas_kratz > -- http://www.buchmanager.com http://thomaskratz.blogspot.com http://twitter.com/thomas_kratz --0016e6d641770f1b1f0487e402ff--