[ 
http://jira.amdatu.org/jira/browse/AMDATUCASSANDRA-132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ivo Ladage - van Doorn updated AMDATUCASSANDRA-132:
---------------------------------------------------

    Attachment: AMDATUCASSANDRA-132-2.patch

Added a new version of the patch. The new implementation of getRowKeys appeared 
to return tombstone records, which were not returned before. To detect if a 
record is a tombstone record, at least one column still needs to be 
deserialized. So the new way may be much quicker, but does not provide the 
desired behavior. So reverted this part of the patch.
                
> Excessive garbage allocation in getSuperRow method
> --------------------------------------------------
>
>                 Key: AMDATUCASSANDRA-132
>                 URL: http://jira.amdatu.org/jira/browse/AMDATUCASSANDRA-132
>             Project: Amdatu Cassandra
>          Issue Type: Improvement
>          Components: Persistence Manager
>    Affects Versions: 0.2.1
>            Reporter: Arthur Meijer
>            Assignee: Ivo Ladage - van Doorn
>         Attachments: AMDATUCASSANDRA-132.patch, AMDATUCASSANDRA-132-2.patch
>
>
> The getSuperRow methods set the query row count to 1,000,000. Cassandra 
> creates an ArrayList of the same size for handling this number of rows. This 
> leads to at least 4MB of garbage for each invocation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
http://jira.amdatu.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers

Reply via email to