You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Dennis Byrne <de...@dbyrne.net> on 2006/06/06 08:36:05 UTC
change state saving algorithm for tree structure
The tree structure makes up about one third of the state for state. As those of you who were involved in gathering test data for our presentation at JavaOne already know, state serialization is a performance killer for client side state saving.
Currently MyFaces and the RI store component.getClass().getName() and component.getId() for the tree structure. Does anyone think it would be better to map the class name to a simple short ? You could perform the mapping at startup as each component is configured. That's a lot less to serialize and encrypt. It's better on bandwidth also. Not too difficult to implement. Have I missed anything here?
Dennis Byrne
@Martin, I implemented the parallelized state saving, very small but very consistent improvement.
Re: change state saving algorithm for tree structure
Posted by Martin Marinschek <ma...@gmail.com>.
Sounds good to me - but where do you store long - component class name
mapping?
regards,
Martin
On 6/6/06, Dennis Byrne <de...@dbyrne.net> wrote:
>
> The tree structure makes up about one third of the state for state. As
> those of you who were involved in gathering test data for our presentation
> at JavaOne already know, state serialization is a performance killer for
> client side state saving.
>
> Currently MyFaces and the RI store component.getClass().getName() and
> component.getId() for the tree structure. Does anyone think it would be
> better to map the class name to a simple short ? You could perform the
> mapping at startup as each component is configured. That's a lot less to
> serialize and encrypt. It's better on bandwidth also. Not too difficult to
> implement. Have I missed anything here?
>
> Dennis Byrne
>
> @Martin, I implemented the parallelized state saving, very small but very
> consistent improvement.
>
>
>
--
http://www.irian.at
Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces