On 5/22/06, Vesa Lindfors <[EMAIL PROTECTED]> wrote:
Thanks,

Aleksei, how (and where) can the "lastModified" be set manually? Directly
somewhere in the jar?

I have tested earlier the server side and I know it is really much more
faster, and no the client side state saving is not requirement - anyway I
like idea of client side state saving, and will use it when possible...

Current released 1.1.3 core has bad npe problem
(http://issues.apache.org/jira/browse/MYFACES-1296)  and
the using of the nightly builds is no option for real project -> Only client
side state saving could be used or live in hope that core 1.1.4 will be
published before our deadline...

1.1.4 release seems pretty stable to me. Especially the MYFACES-1296
issue is fixed.
I had the same problems before, now after upgrading to this release
the bug is solved.

So, you may try it out to switch to 1.1.4.

cheers,

Gerald


--- VLi ---


On 5/22/06, Gerald Müllan <[EMAIL PROTECTED] > wrote:
> Hi,
>
> is it a need in your requirements to use client side state saving? If
> not, try it out to switch to server side setting and test out the
> differences.
>
> Have you used the document tags which come along with
StreamingAddResource?
>
> Hope that helps,
>
> cheers,
>
> Gerald
>
> On 5/22/06, Vesa Lindfors <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > My environment: MyFaces 1.1.3 + Tomahawk 1.1.2 + Facelet 1.0.4 +
> > javax.faces.STATE_SAVING_METHOD =client
> >
> > I'm testing StreamingAddResource as told in Wiki to get some performance
> > improvements.
> >
> > Everything worked ok after modifying jsp files and web.xml
configuration.
> > Except that time to time I saw "SEVERE: Unparsable lastModified :
> > @lastModified@ " in tomcat log files (same as
> > http://issues.apache.org/jira/browse/TOMAHAWK-15).
> >
> > Since configuration I run multiple load test for complex page (menus,
tree2,
> > tabs, hibernate db requests etc), but I couldn't measure any changes in
> > performance compared to earlier configuration without
StreamingAddResources.
> >
> > Could it be so that due to "SEVERE: Unparsable lastModified :
@lastModified@
> > " no caching is happening and so no performance increasing either?
> > Or could it be something else in my test environment - like the fact
that
> > tested page is quite huge and average response time is around two
seconds?
> >
> > --- VLi ---
> >
> >
> >
> > On 5/22/06, iSquareOne LLC <[EMAIL PROTECTED]> wrote:
> > >
> > > Thank you everyone!
> > > Sorry for the late reply! We use a lot of client side saveState. We
tried
> > the solution that the application saves everything on server side
session
> > but we can see in the near future this will definitely cause problem as
the
> > number of modules increase, so we choosed to use x:saveState on client
side.
> > At least that's a feasible way. Anyway, I will give it a try following
all
> > the suggestions given here.
> > >
> > > Again, thanks!
> > >
> > > - Shawn
> > >
> > >
> > > Gerald Müllan <[EMAIL PROTECTED] > wrote:
> > >
> > >
> > > Sorry, but I think you have to upgrade to the newest release in order
> > > to get StreamingAddResource running.
> > >
> > > cheers,
> > >
> > > Gerald
> > >
> > >
> > > On 5/19/06, Yasushi Okubo wrote:
> > > >
> > > > David G. Friedman wrote:
> > > > Tomahawk is a inside the optional MyFaces Tomahawk
> > > > component jar. See:
> > > >
> > > > http://myfaces.apache.org/tomahawk/
> > > >
> > > > Specifically, the last 3 notes on that page.
> > > >
> > > > Regards,
> > > > David
> > > >
> > > >
> > > > Ok, I understarnd that part.
> > > >
> > > > When I looked my myfaces1.1.1 installation directory, it looks like
the
> > > > following.
> > > > [EMAIL PROTECTED] myfaces-1.1.1]# ls
> > > > javadoc LICENSE.txt myfaces-all.jar myfaces-api.jar myfaces-impl.jar
> > > > NOTICE.txt sandbox.jar tlddoc tomahawk.jar
> > > >
> > > > Then, I opened the documentaion uder tlddoc, I do not see any
t:document
> > > > entry in tomahawk extension.
> > > > Then, when I tried to use this t:document tag, it does not recognize
> > this
> > > > tag. I only see this tag for tomahawk 1.1.3 core when I googled, but
not
> > > > sure if truely so.
> > > >
> > > > If I can use this tag for myfaces1.1.1, that will be great. But I
cannot
> > > > find a way to do so now. If you can advise me how I can use it
without
> > > > upgrading to 1.1.3, that will be great.
> > > >
> > > > thanks,
> > > > yasushi
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: Yasushi Okubo [mailto: [EMAIL PROTECTED]
> > > > Sent: Friday, May 19, 2006 2:05 PM
> > > > To: MyFaces Discussion
> > > > Subject: Re: How to improve JSF performance?
> > > >
> > > >
> > > > Hi, Gerald
> > > >
> > > > Could you advise where I can find t:document TLD ? Is it in tomahawk
> > > > extension inside myfaces1,1/1.1.1 ?
> > > > I cannot find this tag in documentation.
> > > >
> > > > Thanks,
> > > > yasushi
> > > >
> > > > Gerald Müllan wrote:
> > > >
> > > >
> > > >
> > > > Performance measurements have shown that plain server side state
> > > > saving (without serialization and without compressing state) comes
> > > > with the best values.
> > > >
> > > > Also usage of StreamingAddResource brings about 20% performance
> > > > improvements.
> > > >
> > > > Apart from that, using JSP as page description slows down. Facelets
> > > > would be the better choice concerning performance.
> > > >
> > > > cheers,
> > > >
> > > > Gerald
> > > >
> > >
> > > > On 5/19/06, Murat Hazer wrote:
> > > >
> > > >
> > > >
> > > > did you see this on the wiki
> > > > http://wiki.apache.org/myfaces/Performance
> > > >
> > > > regards...
> > > >
> > > >
> > >
> > > > On 5/19/06, iSquareOne LLC wrote:
> > > >
> > > >
> > > > Hi, all,
> > > > This is a bit tricky. We have two applications - one is built on
> > > >
> > > > pure JSP
> > > > and the other one is built on JSF. We found the JSF application
> > > > performance
> > > > is much worse than the pure JSP application. We did not expect that
much
> > > > difference. JSF uses JSP page after all. So, what could have caused
> > > > the slow
> > > > down? Are there ways to improve JSF performance? We build the
> > > > application on
> > > > My Faces 1.1 and JBoss 4.0.2
> > > >
> > > >
> > > > Any thoughts are very welcome! Thanks in advance!
> > > >
> > > > - Shawn
> > > >
> > > >
> > > >
> > > >
> > > > ________________________________
> > > >
> > > > How low will we go? Check out Yahoo! Messenger's low PC-to-Phone
call
> > > > rates.
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Murat HAZER
> > > > Elektrik-Elektronik Mühendisi - Electrical-Electronics Engineer
> > > > Tel - Phone: +90 222 335 05 80 - 1395
> > > > Cep Tel - Mobile Phone: +90 532 472 00 63
> > > > Blog URL: http://www.projedunyasi.org
> > > > Yahoo Group:
> > > > http://groups.yahoo.com/group/malatyafenlisesi/
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Gerald Müllan
> > > Schelleingasse 2/11
> > > 1040 Vienna, Austria
> > > 0043 699 11772506
> > > [EMAIL PROTECTED]
> > >
> > >
> > >
> > >
> > >
> > > ________________________________
> > New Yahoo! Messenger with Voice. Call regular phones from your PC and
save
> > big.
> > >
> > >
> >
> >
>
>
> --
> Gerald Müllan
> Schelleingasse 2/11
> 1040 Vienna, Austria
> 0043 699 11772506
> [EMAIL PROTECTED]
>




--
Gerald Müllan
Schelleingasse 2/11
1040 Vienna, Austria
0043 699 11772506
[EMAIL PROTECTED]

Reply via email to