Oh yes, another probably useful info: whenever https is involved via http doing 
lots of subsequent resource requests, then make sure that SSL session wont get 
closed! This really drastically drops the performance if the SSL handshaking 
always needs to re-negotiated over and over again...

LieGrue,
strub

--- On Mon, 4/11/11, Mike Kienenberger <mkien...@gmail.com> wrote:

> From: Mike Kienenberger <mkien...@gmail.com>
> Subject: Re: JSF application very slow with HTTPS
> To: "MyFaces Discussion" <users@myfaces.apache.org>
> Cc: "Michael Heinen" <mhn4...@googlemail.com>
> Date: Monday, April 11, 2011, 2:20 PM
> I also use
> jetty-6.1.22.   My environment is almost
> identical to
> yours, give or take a minor version number.
> 
> On Mon, Apr 11, 2011 at 7:49 AM, Michael Heinen <mhn4...@googlemail.com>
> 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
> >
>

Reply via email to