Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 36677 invoked from network); 11 Apr 2011 13:53:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Apr 2011 13:53:37 -0000 Received: (qmail 74146 invoked by uid 500); 11 Apr 2011 13:53:36 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 74106 invoked by uid 500); 11 Apr 2011 13:53:36 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 74098 invoked by uid 99); 11 Apr 2011 13:53:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 13:53:36 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mhn4dev@googlemail.com designates 209.85.161.53 as permitted sender) Received: from [209.85.161.53] (HELO mail-fx0-f53.google.com) (209.85.161.53) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 13:53:30 +0000 Received: by fxm8 with SMTP id 8so4462346fxm.12 for ; Mon, 11 Apr 2011 06:53:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=Mn2xHj9XZPOlXTryPyFfJxK5sc5smXFUosWF1F5YQjo=; b=G56bd8fmD5b1j8AcZmaebiZ5KZyw8xFtSIejDGFI5rFe7tAsXJTqaaTQkTCUUMVCAw jn6B1EqII6bAE0nY+B79KMGprr8jeVQ1Vi6rDWe1R/nkXOxSCkxA4lBIdLNJSIQWk3z3 wjjrVUQDZmewvEOnBMWeRN39MGUgUQzr72W8s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=AXS9PVoWyuXVKJRZ952sxzVBrFmRTYgM0DxBUHMwPmXsWpbZIUBXP/K9bcJQslOSfd AoNC2jUHUnavuYB1tlxasXrx2RXRSID2HWKYVgkGPcRszCJcHhMk/eizJCrNIEWzsNNn 8qcndTvqzs14Yc2OwqLRZz1+f1ocbIEoo0Umc= Received: by 10.223.87.218 with SMTP id x26mr2495418fal.133.1302529989842; Mon, 11 Apr 2011 06:53:09 -0700 (PDT) Received: from [10.55.200.162] ([194.25.214.106]) by mx.google.com with ESMTPS id g5sm26156faa.26.2011.04.11.06.53.07 (version=SSLv3 cipher=OTHER); Mon, 11 Apr 2011 06:53:08 -0700 (PDT) Message-ID: <4DA307C2.1040001@googlemail.com> Date: Mon, 11 Apr 2011 15:53:06 +0200 From: Michael Heinen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: MyFaces Discussion Subject: Re: JSF application very slow with HTTPS References: <4DA2EAB0.4090101@googlemail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Yes, compression is enabled, at least on the real systems. It was turned off in this local test. However, turning on compression results in 43KB instead of 512 KB and the response time is locally a little bit slower (17.5 sec). So the problem with HTTPS is independent of the compression. I just tried to measure the times with jetty without success. Which jetty version do I have to use for myfaces 1.2? I tried several ones (7.3.x, 7.2.x, 7.1.X) but I get always EL errors with nested expressions which I do not get with Tomcat 6.0.X. I never used Jetty so far, can I put Tomcat's EL impl into jetty? Michael Am 11.04.2011 15:28, schrieb Adrian Mitev: > Have you turned on the page compression of your app server? > > 2011/4/11 Walter Mour�o > >> As far as I know, the JSF does not know anything about https... it is >> handled by the servlet container (Tomcat, Jetty...). >> >> Walter Mour�o >> http://waltermourao.com.br >> http://arcadian.com.br >> http://oriens.com.br >> >> >> >> On Mon, Apr 11, 2011 at 8:49 AM, Michael Heinen>> wrote: >>> Hi, >>> >>> My JSF application is very slow via HTTPS. >>> Some parts are 15 times slower compared to HTTP >>> >>> I measured the response times of the xhtml requests with Fiddler (locally >>> and over network) >>> >>> Result for a very large page (512 KB) with a big datatable without ajax >>> usage: >>> -- local access with HTTP: 1 sec >>> -- local access with HTTPS: 15-16 sec >>> >>> Other pages are factor 2-4 slower, with or without ajax. >>> The time is spent in htmlTableRenderer.encodeInnerHtml. Data is of course >>> available, there is no additional backend access. >>> >>> The simple download of xhtml files or other files is NOT (noticeable) >>> slower. >>> Other non JSF applications running on the same servers are also not >> slower >>> with HTTPS. >>> >>> Before I start profiling: >>> - Does anybody have an idea where I should look at? >>> - Are there any known JSF or webApp settings that influence https >>> performance? >>> >>> Environment: >>> Facelets >>> myFaces 1.2.9 >>> tomahawk12_1.1.10 >>> richfaces 3.3.3 >>> tomcat 6.0.29 >>> jdk 1.6.0_23 >>> >>> Regards, >>> Michael >>> > >