[jboss-jira] [JBoss JIRA] Commented: (JBAS-2637) Reduce memory footprint of HAPartition's state transfer

Brian Stansberry (JIRA) jira-events at jboss.com
Mon Aug 14 18:18:17 EDT 2006


    [ http://jira.jboss.com/jira/browse/JBAS-2637?page=comments#action_12341232 ] 
            
Brian Stansberry commented on JBAS-2637:
----------------------------------------

 Once streaming state transfer is in place (JBAS-3515), that's the mechanism to ensure large states transfer effectively.

Also, in AS 5 only HASessionState uses ClusterPartition state transfer.

> Reduce memory footprint of HAPartition's state transfer
> -------------------------------------------------------
>
>                 Key: JBAS-2637
>                 URL: http://jira.jboss.com/jira/browse/JBAS-2637
>             Project: JBoss Application Server
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: Clustering
>            Reporter: Brian Stansberry
>         Assigned To: Brian Stansberry
>   Original Estimate: 3 hours
>  Remaining Estimate: 3 hours
>
> HAPartitionImpl's state transfer mechanism marshalls state to a byte[] using java.io.ByteArrayOutputStream.  This memory-inefficient, as BAOS.toByteArray() makes a copy of the internal byte[]. Need to move class org.jboss.cache.util.ExposedByteArrayOutputStream to jboss-common and use it instead.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list