[
http://jira.amdatu.org/jira/browse/AMDATUCASSANDRA-132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11869#comment-11869
]
Ivo Ladage - van Doorn commented on AMDATUCASSANDRA-132:
--------------------------------------------------------
Improvements that should be applied:
- getRowKeys should use RangeSlicesQuery and set setReturnKeysOnly to true.
This avoids the overhead of deserializing columns/super columns.
- Setting the row count should be removed completely
- The cassandra performance test should be improved such that the effect of
this chance can be analyzed
> 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
>
> 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