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.
