myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabrielle Crawford (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (TRINIDAD-1747) zip page state to reduce live memory
Date Tue, 30 Mar 2010 00:53:27 GMT

    [ https://issues.apache.org/jira/browse/TRINIDAD-1747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12851185#action_12851185
] 

Gabrielle Crawford commented on TRINIDAD-1747:
----------------------------------------------

- "100Megs of page state - for one user? This is incredibly high! I guess you are talking
about multiple users? "
Sorry, should have said, 200 users

- "why do you have a page-state independent of the implementationĀ“s page state? I donĀ“t
understand this."   
we do some things in our statemanager like cache the view root of the last view you looked
at, which means we don't even have to restore the state, we just return the old tree.

> zip page state to reduce live memory
> ------------------------------------
>
>                 Key: TRINIDAD-1747
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1747
>             Project: MyFaces Trinidad
>          Issue Type: Improvement
>            Reporter: Gabrielle Crawford
>         Attachments: 1.2.12.1_compressviewstate.patch, 1.2.12.2_compressviewstate.patch,
trunk_compressviewstate.patch
>
>
> PageState Objects tend to pin a lot of live memory. These objects are heavy in live memory
and can use a couple of MB per object. This is very big overhead and becomes much bigger issue
in clustering when session replication happens.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message