Richard,

Comments in-line...


Richard Hauswald wrote:
> Nikolaos,
> after reading the introduction of tiles I like to state out that jsp
> tag files(not jsp tags) are a standard compliant way to embed reusable
> content -
OK

> there is no need for another framework to solve a problem
> which is already solved.
>   
I assume you mean no need for Tiles to solve the issues of Stripes 
Layout.  If so, I agree...

> Also keep in mind that HTTP responses are streams, not strings.
> Streaming is kewl cause the browser can begin rendering the page even
> the server is still working on it. Make sure that your layout engine
> is able to do real streaming(stream to the client as content arrives),
> not ca(t)ching the page in a big string and then stream it to the
> client.
>   
Excellent Point.

> If your application scales, you have enough money for more servers and
> you have the possibility to cluster the front end you don't have to be
> concerned. But such a big project should be performance tested.
Premature optimization is not what I am after.  Of course we are going 
to performance test.

However, if Stripes layout has known memory issues from day 1 (for us) 
then I might lean towards Tiles from the start b/c (a) I already know 
Tiles and (b) I am not a fan of manual server restarts (especially when 
it spans 8 application servers over 4 virtualized containers :-)

> Just do a test with and without a template engine and compare the results.
> I did so and realized a super duper performance gain without layout
> engine. But if your pages are small the impact should not be that big.
> Go and test it for your scenario.
>   
How large were the responses that showed significant degraded performance?

Was the memory ever reclaimed by GC or was it a memory leak?

If there is no memory leak and it just means a performance penalty of X 
and an increase in heap temporarily of Y then that would be easier to 
deal with and then yes sufficient hardware could make it work.

--Nikolaos


> Regards,
> Richard
>
> On Sat, May 1, 2010 at 12:27 AM, Nikolaos Giannopoulos
> <nikol...@brightminds.org> wrote:
>   
>> Hi,
>>
>> I came across the following reported against 1.4.3:
>>
>> http://www.stripesframework.org/jira/browse/STS-391
>>
>> While I have used Tiles and am OK with it, Stripes Layout seems nice and
>> being built-in makes me lean toward it more.
>> However, this thread on Tiles being "less memory hungry" worries me.
>>
>> We are building a large scale application that initially starts with 6
>> large dedicated servers.
>>
>> Should I be concerned?
>>
>> --Nikolaos
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Stripes-users mailing list
>> Stripes-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/stripes-users
>>
>>     

------------------------------------------------------------------------------
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to