You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Andy Noble <da...@hotmail.com> on 2002/01/29 16:52:12 UTC

Stupid Tiles Question

Sorry for this stupid tiles question, but I need to make sure I understand 
this.

When I tried tiles, it appeared to severely affect performance. This seemed 
to be because a new JSP was *constructed* on each request and then 
*compiled* before finally being run, which then served up the HTML to the 
client.

Is this correct? Is this performance hit the price to be paid for the 
flexibility? Does this scale for thousands of users?

Thanks
Andy

_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Stupid Tiles Question

Posted by Cedric Dumoulin <ce...@lifl.fr>.
  Don't forget that each Tile is a jsp that need to be compiled at the first hit,
like all jsp. This happen normally only once when you change the jsp content.
After that,  performances overhead is not significant. There should be something
wrong in your config.

    Cedric

Andy Noble wrote:

> Sorry for this stupid tiles question, but I need to make sure I understand
> this.
>
> When I tried tiles, it appeared to severely affect performance. This seemed
> to be because a new JSP was *constructed* on each request and then
> *compiled* before finally being run, which then served up the HTML to the
> client.
>
> Is this correct? Is this performance hit the price to be paid for the
> flexibility? Does this scale for thousands of users?
>
> Thanks
> Andy
>
> _________________________________________________________________
> Join the world’s largest e-mail service with MSN Hotmail.
> http://www.hotmail.com
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Stupid Tiles Question

Posted by Ted Husted <hu...@apache.org>.
I've noticed that the initial compile takes longer, but once the JSP is
compiled, the performance cost should dwindle. The best thing is to run
your own load tests, since a number of factors can affect performance
and scalabilty. It sounds like something else is wrong here. 

Andy Noble wrote:
> 
> Sorry for this stupid tiles question, but I need to make sure I understand
> this.
> 
> When I tried tiles, it appeared to severely affect performance. This seemed
> to be because a new JSP was *constructed* on each request and then
> *compiled* before finally being run, which then served up the HTML to the
> client.
> 
> Is this correct? Is this performance hit the price to be paid for the
> flexibility? Does this scale for thousands of users?
> 
> Thanks
> Andy
> 
> _________________________________________________________________
> Join the world’s largest e-mail service with MSN Hotmail.
> http://www.hotmail.com
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>